sahil
07-20-2010, 07:38 PM
We had been using Resin 2.1.17 with Java 1.4 on Apache for more than 4 years (tried and tested setup). But recently due to requirement of UTF support, we upgraded to Resin 3.1.10 with Java 1.6.11.
At first, everything started smoothly and the setup looked promising. We upgraded all production servers with this same setup in no time. But we noticed that after running for couple of hours, Resin just hung. Moreover, it happened on all servers almost at the same time. Apache started giving out 503 error. There was nothing in logs that we could trace and fix. Servers were running fine, Apache was processing requests as normal (other than JSP) but Resin was not responding at all.
Server configuration:
CentOS release 4.4
Resin 3.1.10
Java 1.6.11
Apache 2
RAM (4GB)
Resin Conf:
JVM Arguments (-Xms750m -Xmx1024m -Xss1m)
thread-max (500)
When Resin is restarted, everything works fine again for awhile before it starts giving 503 error again. One more error we found in log files:
java.lang.OutOfMemoryError: unable to create new native thread
Please provide information on the cause of above errors at the earliest. Any suggestion is much appreciated.
Thanks
Sahil
At first, everything started smoothly and the setup looked promising. We upgraded all production servers with this same setup in no time. But we noticed that after running for couple of hours, Resin just hung. Moreover, it happened on all servers almost at the same time. Apache started giving out 503 error. There was nothing in logs that we could trace and fix. Servers were running fine, Apache was processing requests as normal (other than JSP) but Resin was not responding at all.
Server configuration:
CentOS release 4.4
Resin 3.1.10
Java 1.6.11
Apache 2
RAM (4GB)
Resin Conf:
JVM Arguments (-Xms750m -Xmx1024m -Xss1m)
thread-max (500)
When Resin is restarted, everything works fine again for awhile before it starts giving 503 error again. One more error we found in log files:
java.lang.OutOfMemoryError: unable to create new native thread
Please provide information on the cause of above errors at the earliest. Any suggestion is much appreciated.
Thanks
Sahil