Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,194
Total Posts: 566,921
There are 470 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming :

Apache processes were not exist regularly.

Thread title: Apache processes were not exist regularly.
Reply    
    Thread tools Search this thread Display Modes  
04-09-2010, 03:36 PM
#1
chrislee is offline chrislee
chrislee's Avatar
Status: Junior Member
Join date: Jul 2009
Location:
Expertise:
Software:
 
Posts: 35
iTrader: 0 / 0%
 

chrislee is on a distinguished road

  Old  Apache processes were not exist regularly.

Now there are about 200 apache prcoess were running at the same time in our server. But I check the process list, I found many of them are created days ago, only 60% apache processes was created today. I google this problem, but I didn't find a solution for this. I really have no idea why the apache process was not killed every time when the we request was end.

Is there any body can give some suggestions?

Reply With Quote
04-09-2010, 07:48 PM
#2
Jordan is offline Jordan
Jordan's Avatar
Status: #pugs {display: block;}
Join date: Jan 2007
Location: Chicago
Expertise: CSS, HTML, PHP
Software: Sublime Text 2
 
Posts: 1,187
iTrader: 7 / 100%
 

Jordan is on a distinguished road

  Old

What OS? CentOS? Using Apache?

There are often times when Apache will have a lot of leftover processes and the easiest way to "remove" them is to just restart Apache.

I'd setup a cron job to restart Apache every 24 hours. This will help with idle processes.

Reply With Quote
04-10-2010, 06:29 AM
#3
chrislee is offline chrislee
chrislee's Avatar
Status: Junior Member
Join date: Jul 2009
Location:
Expertise:
Software:
 
Posts: 35
iTrader: 0 / 0%
 

chrislee is on a distinguished road

  Old

yes, we are doing the same thing now. The apache will be restarted every half an hour. But I would like to find a better solution.

Reply With Quote
Reply    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed