Jboss is getting hanged behind apache httpd.
AJP threads are getting hung which causes ERROR org.apache.coyote.ajp.AjpProcessor [process] Error processing request: java.lang.OutOfMemoryError: GC overhead limit exceeded
We took thread dump and observed that 243 threads were observed and 223 were in runnable state and 20 were in waiting state.
Any pointers to terminate those threads after the task is finished can be helpful
We tried with <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" keepalive-time="300000"/>
However with this entry we are getting the exception of parsing the xml the server is not getting started however by reverting those changes
Jboss is getting started normally.
Please suggest any pointers to resolve this issue