Full_Name: 
Version: mod_ssl-2.2.4-1.3.4
OS: Linux2.2.2/Glibc2.1
Submission from: john.rightline.com (208.215.20.141)


I have been succesfully running mod_ssl-2.0.13-1.3.3 and looking at upgrading to
the current mod_ssl-2.2.4-1.3.4 and have discovered the following:

1) Memory usage for each child in my configuration goes from 2536KB to 6232KB. 
Is there an explanation for this?

2) Child processes randomly hang and consume a large amount of CPU.

  7:49pm  up 7 days,  3:25,  1 user,  load average: 1.00, 1.01, 0.98
65 processes: 63 sleeping, 2 running, 0 zombie, 0 stopped
CPU  states: 37.3% user, 12.8% system,  0.0% nice, 49.8% idle
CPU0 states: 10.4% user,  4.4% system,  0.0% nice, 84.0% idle
CPU1 states: 63.4% user, 21.0% system,  0.0% nice, 14.4% idle
Mem:  258172K av, 254996K used,   3176K free, 254260K shrd, 154936K buff
Swap: 130748K av,      0K used, 130748K free                 59908K cached

  PID USER     PRI  NI  SIZE  RSS SHARE LC STAT %CPU %MEM   TIME COMMAND
 4790 www       15   0  6512 6512  6244  0 R    49.6  2.5 108:19 httpd
 4821 root       2   0   816  816   648  0 R     0.5  0.3   1:13 top
    1 root       0   0   164  164   140  0 S     0.0  0.0   0:03 init
    2 root       0   0     0    0     0  0 SW    0.0  0.0   0:03 kflushd
    3 root       0   0     0    0     0  0 SW    0.0  0.0   0:00 kpiod

Apache Server Status for 209.221.152.198
Server Version: Apache/1.3.4 (Unix) FrontPage/3.0.4.2 mod_ssl/2.2.4
SSLeay/0.9.0b
Server Built: Mar 12 1999 17:51:38

--------------------------------------------------------------------------------
Current Time: Friday, 12-Mar-1999 20:26:00 PST
Restart Time: Friday, 12-Mar-1999 17:56:50 PST
Server uptime: 2 hours 29 minutes 10 seconds
Total accesses: 151 - Total Traffic: 563 kB
CPU Usage: u1.17 s.3 cu1.96 cs.12 - .0397% CPU load
.0169 requests/sec - 64 B/second - 3817 B/request
2 requests currently being processed, 37 idle servers 
__K________________________W___________.........................
................................................................
................................................................
................................................................
Scoreboard Key: 
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"L" Logging, "G" Gracefully finishing, "." Open slot with no current process


Srv PID Acc M CPU  SS Req Conn Child Slot Client VHost Request  
0 4788 0/4/4 _  0.03 8886 4 0.0 0.01 0.01  32.100.222.178 secure.solidweb.com
GET /~mthoodinn/images/skifree2.gif HTTP/1.0 
1 4789 0/6/6 _  0.12 8540 3 0.0 0.03 0.03  171.213.153.74 secure.solidweb.com
GET /~www_vitalogysoft_com/orangemicro/logo.gif HTTP/1.1 
2 4790 5/5/5 K  0.11 8697 3 20.1 0.02 0.02  208.215.20.141 secure.solidweb.com
GET /server-status HTTP/1.1 

ps -ax

 4781  ?  S    0:00 /usr/local/apache/bin/httpd -DSSL 
 4787  ?  S    0:00 /www/scripts/pipelogc 
 4901  p1 R    0:00 ps -ax 
10618  ?  S    0:12 /usr/local/sbin/sshd -b 1024 
10620  p1 S    0:00 -bash 
29632  ?  S    0:12 ntpd 
   66  ?  S    0:00 rpc.portmap 
 4788  ?  S    0:00 /usr/local/apache/bin/httpd -DSSL 
 4789  ?  S    0:00 /usr/local/apache/bin/httpd -DSSL 
 4790  ?  R  145:44 /usr/local/apache/bin/httpd -DSSL 
 4791  ?  S    0:00 /usr/local/apache/bin/httpd -DSSL 
 4792  ?  S    0:00 /usr/local/apache/bin/httpd -DSSL 

There are absolutely no errors in my error_log.

I can kill the runaway child and it will happen again within a few minutes of
being accessed.  It doesn't happen on every access.

Here is a copy of a post off of comp.infosystems.www.servers.unix:

Using apache 1.3.4 and mod_ssl-2.2.4-1.3.4, openssl_0.9.1c under
Linux 2.1.36.  I understand that cpu usage will be higher because of
encryption overhead.  
The problem is that after a client connects via SSL, the httpd
process consumes all available cpu, and the system load goes
to 1.00.  This occurs even when the client is idle.

This tells me it is not only on a 2.2.2 kernel or glibc-2.1.

I have compiled it against openssl as well as SSLeay with the same results. 
Also, I have tried it without frontpage.

I am building another test platform based on RedHat5.2 to see if I have the same
problem and will make another post later on the results.

Please let me know if there is any further information needed.

MostToys

______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to