4 ms·
2. Eventually, the number of threads starts rising. 20 threads. 40 threads. 60 threads. 90 threads. 130 threads. Threads or processes? If using the worker mpm,
by chrisbolt 16y ago
2. Eventually, the number of threads starts rising. 20 threads. 40 threads. 60 threads. 90 threads. 130 threads.
Threads or processes? If using the worker mpm, switch to prefork.
If problems persist, strace a frozen process to see what it's doing. strace is an incredibly useful diagnostic tool.
You could even set up a script to parse the server-status page, find out which processes are hung based on the SS column (seconds since beginning of most recent request) and kill that PID... but that's not pretty.