httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject Re: Apache = CPU hog? (fwd)
Date Mon, 29 Apr 1996 10:32:35 GMT

Anyone have any ideas?

> Further to my posting, here is an example of a session (for apache 1.1b2 
> on Solaris 2.5) I think this shows adequately what happens - and I waited
> quite a while between commands.  Would be a pain for more than a few 
> servers, and could mean the thing is down for a few minutes while I
> do this.  We actually have a test server which we "swap" with the live
> one when we want to change over.
> 
> 
> Cheers
> Keep up the fab work
> Mike
> 
> 
[51]> !!
ps | grep mjs
     mjs 12265 14928  0   Apr 22 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  5761  9327  1 17:13:08 pts/2    0:00 grep mjs
     mjs 23942 23939  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26140 14928  0   Apr 18 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 21765 14928  0   Apr 17 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 26144 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23946 23939  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root 14928     1  0   Apr 11 ?        0:17 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  9327  9325  1   Apr 26 pts/2    0:02 -zsh
    root 23939     1  0   Apr 24 ?        0:04 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23948 23939  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23944 23939  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23940 23939  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26141 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
[51]> su
Password: 
celebes# kill -15 23939
celebes# ps -ef | grep mjs
     mjs 12265 14928  0   Apr 22 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23942     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26140 14928  0   Apr 18 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 21765 14928  0   Apr 17 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 26144 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23946     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root 14928     1  0   Apr 11 ?        0:17 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  9327  9325  0   Apr 26 pts/2    0:02 -zsh
     mjs 23948     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23944     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23940     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root  5767  5762  1 17:13:21 pts/2    0:00 grep mjs
     mjs 26141 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
celebes# !!
ps -ef | grep mjs
     mjs 12265 14928  0   Apr 22 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23942     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26140 14928  0   Apr 18 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 21765 14928  0   Apr 17 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 26144 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23946     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root 14928     1  0   Apr 11 ?        0:17 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  9327  9325  0   Apr 26 pts/2    0:02 -zsh
    root  5769  5762  0 17:13:25 pts/2    0:00 grep mjs
     mjs 23948     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23944     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23940     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26141 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
celebes# !!
ps -ef | grep mjs
     mjs 12265 14928  0   Apr 22 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23942     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26140 14928  0   Apr 18 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 21765 14928  0   Apr 17 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 26144 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23946     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root 14928     1  0   Apr 11 ?        0:17 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  9327  9325  0   Apr 26 pts/2    0:02 -zsh
     mjs 23948     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23944     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23940     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root  5771  5762  0 17:13:30 pts/2    0:00 grep mjs
     mjs 26141 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
celebes# !!
ps -ef | grep mjs
     mjs 12265 14928  0   Apr 22 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23942     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26140 14928  0   Apr 18 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 21765 14928  0   Apr 17 ?        0:01 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 26144 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs 23946     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
    root 14928     1  0   Apr 11 ?        0:17 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
     mjs  9327  9325  0   Apr 26 pts/2    0:02 -zsh
    root  5773  5762  0 17:13:37 pts/2    0:00 grep mjs
     mjs 23948     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23944     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 23940     1  0   Apr 24 ?        0:00 /home/mjs/httpd/httpd -d /home/mjs/httpd
     mjs 26141 14928  0   Apr 18 ?        0:00 /home/mjs/httpsd/httpsd -d /home/mjs/httpsd
celebes# kill 23942 23946 23948 23944 23940



Mime
View raw message