2. [Recommended] Increase the maximum number of File Descriptors supported by the server.
3. [Recommended] Set -XX:+HeapDumpOnOutOfMemoryError
parameter for JVM, so JVM will output dump information when OOM occurs.
4. [For Reference] Use forward for internal redirection and URL assembly tools for external redirection. Otherwise there will be problems about URL maintaining inconsistency and potential security risks.