Re: [us...@httpd] Runaway Apache Process

2010-01-28 Thread Justin Pasher
Daniel Reinhardt wrote: Dan, For one thing I would get a beefier CPU. Your CPU isn't fit to be a serving machine it is rather slow. You need to be running a workstation grade CPU Like a Intel Q6600 or a E6400. You need to get 6Gigs of RAM for Dual Channel Mode, and verify that your linux

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Daniel Reinhardt
-- From: "Dan Bunyard" Sent: 27 January, 2010 12:22 To: Subject: Re: [us...@httpd] Runaway Apache Process I'm going to try to answer all the questions in one email here. @Daniel Reinhardt Here are the full specs: CPU: Pentium

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
I think I done that right, I added this to my httpd.conf file: LoadModule log_forensic_module modules/mod_log_forensic.so #Forensic logging ForensicLog logs/forensic_log I am seeing stuff in the forensic_log so I guess that's right. I will take a look at it the next time it happens. Thanks for

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Eric Covener
On Wed, Jan 27, 2010 at 9:22 AM, Dan Bunyard wrote: > @Jeff > The last request made before it goes out of control doesn't seem to be > unique in any way, it appears to be the Yandex spider just crawling one of > the sites: > 87.250.252.242 - - [25/Jan/2010:11:38:00 -0500] "GET / HTTP/1.1" 301 359

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
@Jeff The last request made before it goes out of control doesn't seem to be unique in any way, it appears to be the Yandex spider just crawling one of the sites: 87.250.252.242 - - [25/Jan/2010:11:38:00 -0500] "GET / HTTP/1.1" 301 359 "-" "Yandex/1.01.001 (compatible; Win16; I)" That was the very

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Wed, Jan 27, 2010 at 8:46 AM, Dan Bunyard wrote: > @Mark > I will do that the next time it happens.  I will also trim down the modules, > I think I had done a mass install of a bunch of things I needed but in the > process picked up a lot of them that I don't/won't use. That's a good suggestio

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Mark Watts
Next time your system goes wonky, check the following: # netstat -plant | grep httpd | grep -c ESTABLISHED This should say 100 or so, indicating you've filled MaxClients worth of processes. You might want to try this, which should tell you how many connections each IP address connecting to you

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Wed, Jan 27, 2010 at 8:28 AM, Dan Bunyard wrote: > I have never done a backtrace, can you please point me in the right > direction for that? gdb /path/to/httpd PID ... (gdb) where (backtrace displayed here) (gdb) quit run gdb as root if you start httpd as root > I didn't check CPU usage at t

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Dan Bunyard
I have never done a backtrace, can you please point me in the right direction for that? I didn't check CPU usage at the time, only load average which was around 100 (normally it's between 0.02 and 0.5 over 1 minute). I was able to log in but it was VERY slow. As I watched the load average it was

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Jeff Trawick
On Tue, Jan 26, 2010 at 8:28 PM, Dan Bunyard wrote: > This has happened twice now and it's a little bit concerning to me. I have a > Fedora 12 server with 5GB of RAM that I use to host a few small web sites of > mine. As I mentioned, this happened once before. I tried to load one of my > web sites

Re: [us...@httpd] Runaway Apache Process

2010-01-27 Thread Daniel Reinhardt
-- From: "Dan Bunyard" Sent: 27 January, 2010 1:28 To: Subject: [us...@httpd] Runaway Apache Process This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to h

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
On 26-Jan-10 21:05, Dan Bunyard wrote: I can't imagine that RAM is the problem, nor the CPU. It's a dual core machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month How many non-unique hits? We had a problem once, ended up losing a host over it. It turned out to be a malici

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Dan Bunyard
I can't imagine that RAM is the problem, nor the CPU. It's a dual core machine with 5GB of RAM that gets MAYBE a few hundred unique hits a month between ALL the web sites on it. It did this once before I even had most of the web sites on it, it only had one or two on it the first time it happened

Re: [us...@httpd] Runaway Apache Process

2010-01-26 Thread Reese
On 26-Jan-10 20:28, Dan Bunyard wrote: This has happened twice now and it's a little bit concerning to me. I have a Fedora 12 server with 5GB of RAM that I use to host a few small web sites of mine. As I mentioned, this happened once before. I tried to load one of my web sites today and it took F