LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-24-2004, 03:07 PM   #1
dotnix
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Question Apache Fails About Every 20 Minutes - I'm Out Of Ideas


I run a fairly large phpbb forum and for some reason apache is failing every 10 minutes or so. My server setup is rather good in my opinion, it's a cluster running two duel xeon machines with 1 GB ram each. Server load rarely gets over 1.0 and I don't think I have ever seen it above 2.0 at all. It runs on a 20mbps line and never slows down.

The thing is apache still fails about every ten minutes.

TOP looks like:

Quote:
00:16:37 up 7:28, 1 user, load average: 0.37, 0.71, 0.81
166 processes: 165 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 40.8% 3.2% 7.2% 0.0% 1.6% 2.8% 342.8%
cpu00 8.7% 0.5% 2.7% 0.1% 1.7% 0.7% 85.0%
cpu01 9.5% 0.5% 1.5% 0.0% 0.0% 0.7% 87.4%
cpu02 11.7% 1.5% 1.9% 0.0% 0.0% 0.7% 83.8%
cpu03 10.9% 0.7% 0.9% 0.0% 0.0% 0.5% 86.6%
Mem: 1025308k av, 838788k used, 186520k free, 0k shrd, 18456k buff
571772k actv, 134032k in_d, 18112k in_c
Swap: 2040212k av, 60472k used, 1979740k free 517128k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
25253 root 15 0 9784 9784 6408 S 40.4 0.9 0:33 0 httpd
2120 mysql 30 6 22600 9796 1236 S N 5.5 0.9 18:22 1 mysqld
25781 root 16 0 1392 1392 932 R 0.3 0.1 0:00 1 top
654 root 15 0 0 0 0 SW 0.1 0.0 0:01 2 kjournald

The error log shows nothing, no error message as to why apache would be failing at all.

/var/log/messages is the same way, shows nothing odd.

max clients seems to have no effect, I do reach it sometimes but even after uping it past 250 I get the same result. Thats after raising the hard server limit also.

So if anyone has any ideas what would be causing this can you throw them my way, I'm at atotal lose here =/
 
Old 11-26-2004, 04:08 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Which version of Apache are you using?
After the server goes down, what happens when you try to connect? Have you tried making a connection with TELNET to port 80 and seeing if you can make a GET / request?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache fails to restart nde Linux - Newbie 7 09-13-2005 04:26 PM
Bandwidth limitting Apache - ideas? Comrade Chez Linux - Networking 4 02-07-2004 05:47 AM
kdemultimedia-3.1.5 fails to emerge...any ideas? Nu-Bee Linux - Software 2 01-19-2004 04:51 PM
Apache Openssl compile fails rioguia Linux - Software 2 11-07-2003 08:13 AM
apache wont start... any ideas... Gear_freak2000 Linux - Software 6 06-02-2003 01:12 PM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration