On Thu, Mar 24, 2011 at 3:25 PM, gre taguran <[email protected]> wrote: > Not sure if it has something to do with the PHP... we are using PHP version 5.2.x which I read somewhere that it has a bug(memory leak when doing a child object, this will be resolved on PHP 5.3 though.) > > My concern for now is I want to kill those entire httpd process so that it would start a new one. Unfortunately when we do a restart of httpd, the usage would go up to 100% again after 3 seconds, it would be impossible that someone is already accessing the server after restarting httpd. > > BTW I'm doing a stop and then start, there's at least a 10 seconds duration before starting httpd again.
Can you paste the results of the ps axuf command? In particular, the one that involves the Apache process. See below for an example from our server: [root@manila-proxy ~]# ps axuf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ... root 2017 0.0 0.1 10080 3488 ? Ss Feb09 0:00 /usr/sbin/httpd apache 27872 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27873 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27874 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27875 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27876 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27877 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27878 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd apache 27879 0.0 0.1 10080 2224 ? S Mar20 0:00 \_ /usr/sbin/httpd -- Matt Arnilo S. Baluyos http://www.onxiam.com/people/mbaluyos/ v3sw3CH+Rhw2ln5pr6OPck5ma7u5Lw5Xm+7l7CRi2e6t5Xb7Oen4g5aIs4r3p6 hackerkey.com gpg --keyserver pgp.mit.edu --recv-keys 171CD03E
_________________________________________________ Kagay-Anon Linux Users' Group (KLUG) Mailing List [email protected] (http://lists.linux.org.ph/mailman/listinfo/klug) Searchable Archives: http://archives.free.net.ph
