httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.org>
Subject gcc 2.8.1 not to blame
Date Tue, 21 Apr 1998 16:40:20 GMT

I came in this morning to find another 4 apache processes running away with
CPU.  

  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
29266 nobody   91   0   828K   904K RUN     50:49 20.87% 20.87% apache
29248 nobody   91   0   876K   884K RUN     50:49 20.87% 20.87% apache
29149 nobody   92   0   852K   904K RUN     50:44 20.56% 20.56% apache
29267 nobody   92   0   828K   920K RUN     50:54 20.52% 20.52% apache

ktrace returned nothing.  sending various signals via 'kill' to force a
core dump produced nothing.  This is the CVS tree as of yesterday.  The
/status output coresponding to those 4 processes looks like:

37 29149 0/18/6424 L 0.05 16230 0 0.0 0.15 88.92 
  192.91.146.34  www.apache.org    GET /dist/CHANGES HTTP/1.0
39 29248 0/9/6952  W 0.05 16232 0 0.0 0.03 92.71 
  195.112.37.65  www.apache.org    GET /images/apache_logo.gif HTTP/1.1
43 29266 0/3/5490  L 0.01 16234 0 0.0 0.01 93.78 
  203.28.211.131 www.hyperreal.org GET /drugs/nootropics/index.html HTTP/1.0
45 29267 0/3/6185  _ 0.01 16241 1 0.0 0.00 79.10 
  193.213.35.33  www.apache.org    GET /icons/blank.gif HTTP/1.0

As you can see, no similarity in origin of the request, and all happened
within a few *seconds* of each other, all around 4:48 AM.  Around that time
I did get a:

[Tue Apr 21 04:48:26 1998] [notice] httpd: caught SIGSEGV, attempting to
dump core in /var/tmp

However, there's no core file in /var/tmp, despite the fact it's chmod 777,
+t, and the executable does have the debugging symbols in it.

I'm going to try Marc's suggestion of instrumenting the core dump handlers,
and see what happens tomorrow.  The fact I can't recreate this is very
frustrating.

	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
"Optimism is a strategy for making                         brian@apache.org
a better future." - Noam Chomsky                        brian@hyperreal.org

Mime
View raw message