Hello again,
I recently helped in setting up an ad content server for a gaming website. It's a fairly busy server (I have to prune the log about once a day or it fills to 2 gig, so it gets hit a bit). Luckily, the box is a hyperthreaded dual 2.8 xeon with 2 gigs of ram.
However, about once every few days, the box pretty much slows to a crawl/lock. All processors are shown with 1-2% active cpu, 70-90% iowait. Now, I'm positive that this is disk bound, and upon observations I saw that nearly all of the 2 gigs of swap was in use. Most of the resources seem to be used by httpd (apache 2.0.49), nearly 200-500 threads. Each proc/thread only takes 5-10 meg of mem/swap, but it of course adds up.
I have a distinct suspicion that one of my co-sysadmins has been toying with the apache config in a well-meaning effort to "speed up" the box, and it's having counterproductive results.
My question is this: What should I look for and/or be doing in terms of apache config to remedy this issue? Even if the ad content is slower, I'd rather have it as such than lock the box.
Any suggestions would be greatly appreciated!
-Barry

