You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Georg Hessmann <gh...@spiegel.de> on 1998/12/04 10:17:25 UTC

general/3487: More and more daemons stuck in 'K' state

>Number:         3487
>Category:       general
>Synopsis:       More and more daemons stuck in 'K' state
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Dec  4 01:20:00 PST 1998
>Last-Modified:
>Originator:     ghessmann@spiegel.de
>Organization:
apache
>Release:        1.2.6
>Environment:
SunOS alice 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-4
gcc version 2.8.1
See http://adserv.spiegel.de/debug (output from mod_info)
mod_curl Vignette StoryServer 4.0 (www.vignette.com)
mod_oas RealMedia OpenAdStream 4.57 (www.realmedia.com)
>Description:
We have switched from a working environment on Solaris 2.5 Ultra 2 to
a Solaris 2.6 Enterprise 450 and now, more and more apache daemons stuck
in 'K' state. (See http://adserv.spiegel.de/status)

Sample lines from mod_status:
Srv PID Acc M CPU  SS Conn Child Slot Host VHost Request  
0 26228 2/14/55 K  0.07 167 14.4 0.03 0.23  161.53.136.140 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/2451 
1 25897 1/35/104 K  0.18 90 11.2 0.20 0.59  141.24.56.101 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/1548 
2 26223 1/8/42 K  0.10 93 11.9 0.11 0.28  141.24.56.101 adserv.spiegel.de GET /RealMedia/ads/adstream_nx.cgi/www.spiegel.de/homepage@Left 
3 25370 0/5/5 R  0.05 1972 0.0 0.01 0.01  192.68.44.33 www.manager-magazin.de GET /icons/nav_news.gif HTTP/1.0 
4 25371 3/34/34 K  0.18 549 24.9 0.18 0.18  149.240.18.182 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/2414 
5 25795 1/14/50 K  0.10 28 12.3 0.08 0.27  195.30.106.168 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/netzwelt/2594 
6 25373 0/30/30 _  0.18 3 0.0 0.15 0.15  193.98.144.2 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/2702 
7 25374 1/25/25 K  0.12 249 11.9 0.11 0.11  202.96.206.131 adserv.spiegel.de GET /RealMedia/ads/adstream_nx.cgi/www.spiegel.de/homepage@Left 
8 25711 0/21/55 _  0.15 3 0.0 0.11 0.31  193.98.144.2 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/7854 
9 25770 4/24/75 K  0.13 321 29.7 0.15 0.42  207.237.148.130 adserv.spiegel.de GET /RealMedia/ads/adstream_nx.cgi/www.spiegel.de/shop@Left HTT 
10 25377 1/25/25 K  0.13 1662 11.2 0.14 0.14  134.157.130.36 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/3033 
11 25778 3/16/83 K  0.16 947 13.4 0.08 0.34  134.95.88.3 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/netzwelt/8562 
12 25350 1/5/5 K  0.04 1786 22.7 0.05 0.05  195.183.98.2 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/adserv.quality-channel.de/bd 
13 25349 3/36/36 K  0.21 626 16.5 0.16 0.16  129.16.117.76 adserv.spiegel.de GET /RealMedia/ads/adstream_lx.ads/www.spiegel.de/homepage/1190 
14 25348 1/27/27 K  0.24 243 11.9 0.26 0.26  131.246.30.104 adserv.spiegel.de GET /RealMedia/ads/adstream_nx.cgi/www.spiegel.de/homepage@Left 


If I do a netstat -v I don't get any FIN_WAIT_2 lines. Most entries
are of type ESTABLISHED:

195.77.194.95.54014  32768 00000000 00000000 33580 00000000 00000000  6050  1460 ESTABLISHED
adserv.spiegel.de.80
ligne21.ac-idf.jussieu.fr.1779  7300 00000000 00000000 33580 00000000 00000000 17456  1460 ESTABLISHED
adserv.spiegel.de.80
ligne21.ac-idf.jussieu.fr.1780  6992 00000000 00000000 33580 00000000 00000000 12608  1460 ESTABLISHED
adserv.spiegel.de.80
ligne21.ac-idf.jussieu.fr.1782  7300 00000000 00000000 33580 00000000 00000000 11175  1460 ESTABLISHED
adserv.spiegel.de.80
195.77.194.95.54028  31309 00000000 00000000 33580 00000000 00000000 13728  1460 ESTABLISHED
adserv.spiegel.de.80
ligne21.ac-idf.jussieu.fr.1785  6182 00000000 00000000 33580 00000000 00000000 12800  1460 ESTABLISHED
adserv.spiegel.de.80
195.14.240.238.2152   8760 00000000 00000000 33580 00000000 00000000  5431  1460 ESTABLISHED
adserv.spiegel.de.80
195.14.240.238.2156   8457 00000000 00000000 33580 00000000 00000000 11821  1460 ESTABLISHED
adserv.spiegel.de.80

We switched the environment yesterday and I have set up a cron job which
has done a kill USR1 every 5 minutes. But after 4 hours, the daemon hasn't
answered at all. :( So I will now setup a cron-job which kills the daemon
and restart it from scratch.

At the moment, we have to use Apache 1.2.6 because StoryServer
dosn't work with 1.3.

Of course I know, that the bug don't have to be a Apache bug. But
maybe you do know something about it.

Any hints??

Many thanks,
  Georg.


>How-To-Repeat:
Look at http://adserv.spiegel.de/status (config: http://adserv.spiegel.de/debug).

I now restart the server periodically, so maybe there are not many K's to see.
>Fix:
No :-((
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]