One of our sites has a php related problem which we can not locate. Once someone triggers this bug , apache starts opening new http threads untill it reaches max number of clients set in apache conf file. Would it be possible to check what each thread is doing? Any suggestions how to locate this php bug? apache web server logs were of no help :(
# # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # ExtendedStatus On
# # Allow server status reports, with the URL of [servername...] # Change the ".your_domain.com" to match your domain to enable. # <Location /server-status> SetHandler server-status Order deny,allow # Deny from all # Allow from .your_domain.com </Location>
This will show in real time the status of each Apache Thread.