I've an Apache 2 server with prefork mpm running php scripts with eaccelerator.

It serves 3 to 10 pages per second and works fine more often than not. But every so often it dangles completely, serving no request whatsoever for 1-2 hrs before returning to procedures. This occurs sometimes daily, sometimes once per week.

Here's what I've noted: - the issue appears to become because of accumulating Apache threads. Monitoring the # of Apache threads with ps aux, i've come across this number gradually increases throughout your day, until it reaches about 100 and also the server dangles. - strangely enough sometimes the # of threads remains stable around 20, quickly and easily for a few days

The causes of such accumulations of threads? Any idea the way i can solve this?

Thank you plenty