I have a Struts 1.3 Application running in JBOSS AS 5.1. We have set 2000 HTTP Threads in the server.xml file for the HTTP Connector and allocated approx 2GB of RAM in the JVM heap to JBOSS in the run.conf file. The system has a total of 4GB RAM and the remaining RAM is in use by other applications.
Whenever my system is hit with over 2000 concurrent requests, Jboss just hangs and stops working. I don't get exceptions on the console or out of memory errors of any sort, it just hangs.
How do I resolve this? Should I put mod_cluster or something in front of JBOSS? Or should I just allocate more threads to the connector, if so how do I figure out what ratio to use between memory and maxThreads on the HTTP connector?