LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2009, 03:48 AM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
Apache hanged with lots of process in processlist


Hello all,

I faced with a problem in two of my web server running httpd-2.2.10 and php-5.2.6 and mysql-5.1.30 in RHEL4 update2. Every package is compiled with specific options.

What happens is all of a sudden I noticed that the webpages are not coming and gives request timed out message and lots of apache process in process list which counted like 258.

Restarting the apache solved the problem. Any idea why this all of a sudden happened.

I looked the log files but there is nothing significant about it. I also looked the cacti graph for those but traffic,memory and cPU utilization was also normal.
 
Old 02-19-2009, 05:59 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
this happens many times due to administrators enabling full log file for httpd
and the log file has grown to GBs. when everytime apache wants to write to the file
the file seek takes a lot of time and looks like a hang. Can you double check to see
the log files are all normal ?
 
Old 02-19-2009, 07:53 PM   #3
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Original Poster
Rep: Reputation: 39
when this happened I tailed the access log file and error log & both of them stopped logging then. I thought as apache wasn't capable of serving any request thats why but it didn't come in my mind to check the log file size.
 
  


Reply



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 2.2.3 - unknown Apache process child ittec Linux - Server 1 06-03-2008 06:32 AM
ftp process hanged estratos Programming 2 08-02-2007 08:20 AM
lots of outbound SYN_SENT from apache mercyop Linux - Networking 10 01-17-2006 08:30 AM
system is getting hanged during booting process b0nd Linux - Newbie 5 04-14-2005 06:08 AM
Apache and process dlc2000 Linux - Software 0 05-18-2004 04:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration