Results 1 to 7 of 7

Thread: Apache lots of process

  1. #1
    Join Date
    Mar 2010
    Posts
    576

    Apache lots of process

    If look at the procedure register on my server and observe a whole bunch of procedure. The entire these processes are a difficulty to the server and I do not be familiar with how to protect this from happening. Does anybody be familiar with how to protect this OK. What I desire to protect happening is the user being capable to spawn the entire the processes in the first place. When the entire these procedures get spawned at once or similar to they did it slows the server to a crawl and causes Apache to become unsympathetic for a bit.

  2. #2
    Join Date
    May 2009
    Posts
    1,084

    Re: Apache lots of process

    These are zombie processes, or dead procedure. You cannot exterminate the dead. The entire processes ultimately die, and when they do they become zombies. They consume approximately no resources, which is to be expected for the reason that they are dead. The reason for zombies is so the zombie's parent (procedure) is able to retrieve the zombie's exit status and resource procedure statistics. The parent signals the operating system that it no longer requirements the zombie by using one of the hang around () system calls. The zombie determine to go away if its parent dies- it determine to be "adopted" by in it which determine to do the wait().

  3. #3
    Join Date
    Jul 2009
    Posts
    1,118

    Re: Apache lots of process

    The CSF permits you to set a boundary to how much procedure is able to work under a username and you encompass the alternative to set CSF to kill the processes if exceeded. I be familiar with, this be supposed to not occur, period. Seems to me it's a difficulty with swapping out Apache processes, and then not being capable to kill them. I decreased MaxClients to presently 16 and it has not happened in the precedent day. I might envisage having additional processes than fit in memory by means of merely a small number of additional clients than that, and particularly with robots or some type of DOS attack attempt that I get each few days but then, it might be something completely dissimilar, I am not sure.

  4. #4
    Join Date
    Jul 2009
    Posts
    1,179

    Re: Apache lots of process

    First, my server is extremely unconscientiously loaded; it's hosting three sites, none of which are accepted, and I am lucky if I get .5 requests-per-minute on the whole server. That's in addition true at the same time as this difficulty is happening. The difficulty is that Apache is forking multiple processes (similar to it does) but they are staying up and by no means exiting. It reaches the MaxClients setting (presently 40) and then hangs, making the complete server unapproachable.

  5. #5
    Join Date
    Nov 2009
    Posts
    955

    Re: Apache lots of process

    The part of the difficulty is that I am on a 256 slice and the MaxClients would not fit in substantial memory (swap is occupied by means of 40 Apache processes). Be supposed to I decrease that value to something that determine to fit in memory. Additional to be expected it's a difficulty in a number of Apache module, I am presently hunting it down in gdb, keeping the server in its dead state for a short time.

  6. #6
    Join Date
    Aug 2009
    Posts
    750

    Re: Apache lots of process

    I am using mod_php5, mod_python, mod_dav_svn, and supplementary customary modules (mod_rewrite, etc). mod_python is for Trac, mod_php5 for the rest of the site, containing Wordpress and zenphoto. The PHP in addition has numerous modules of its own loaded, containing mysql, gd, sqlite, etc. But tranquil if an apache module hangs, there be supposed to be a number of kinds of Apache procedure extinction, accurate.

  7. #7
    Join Date
    Aug 2009
    Posts
    652

    Re: Apache lots of process

    You have to discover the cause of this was a WordPress bug in my case completed the server collapse by considerably looping requests to itself (trying to "fork" a innovative PHP procedure for cron-like performance). If you encompass Wordpress, that might be the cause, but it might in addition be something completely dissimilar causing the similar type of crash. Seems similar to lots of things be able to create this occur.

Similar Threads

  1. Replies: 4
    Last Post: 05-05-2012, 05:59 PM
  2. Replies: 7
    Last Post: 29-02-2012, 10:19 PM
  3. Replies: 3
    Last Post: 28-02-2012, 08:35 PM
  4. Replies: 5
    Last Post: 12-07-2011, 11:20 AM
  5. Replies: 1
    Last Post: 26-03-2009, 06:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,726,858,355.74687 seconds with 17 queries