Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2014 11:55:47 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   apache24 + event mpm + fcgid doesn't work on 10?
Message-ID:  <llht74$8sg$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aBXetKJwVwSO09s7oSOchfurMdldpgMGm
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

Attempting to gracefully reload Apache 2.4 with the event mpm doesn't
seem to work for me because there are a lot of apache threads stuck in
kqread state:

# ps axuwl | grep www
www       3648   0.0  0.0  292648    5256 ??  SN   24Mar14     14:05.87
/usr/local/sbin/    80     1   0   28  8 kqread
www       3993   0.0  0.0  292648    5228 ??  SN   24Mar14     14:07.58
/usr/local/sbin/    80     1   0   28  8 kqread
www       9170   0.0  0.0  280360    5196 ??  SN   25Mar14     14:06.78
/usr/local/sbin/    80     1   0   28  8 kqread
www      13169   0.0  0.0  290836    5328 ??  SN    5May14      4:09.24
/usr/local/sbin/    80 37932   0   28  8 kqread
www      18133   0.0  0.0  294932    5440 ??  SN   27Apr14      6:21.45
/usr/local/sbin/    80 37932   0   28  8 kqread
www      35012   0.0  0.0  288552    5200 ??  SN    4Apr14     11:46.49
/usr/local/sbin/    80     1   0   28  8 kqread
www      35248   0.0  0.2  303092   35832 ??  SN   10:56pm      0:10.55
/usr/local/sbin/    80 37932   0   28  8 kqread
www      41236   0.0  0.0  294932    6036 ??  SN    8May14      3:26.60
/usr/local/sbin/    80 37932   0   28  8 kqread
www      44020   0.0  0.0  288552    5360 ??  SN    4Apr14     11:51.29
/usr/local/sbin/    80     1   0   28  8 kqread
www      44040   0.0  0.2  298996   31572 ??  SN   12:54am      0:08.81
/usr/local/sbin/    80 37932   0   28  8 kqread
www      48252   0.0  0.2  298996   32980 ??  SN   Sun09pm      0:43.31
/usr/local/sbin/    80 37932   0   28  8 kqread
www      51069   0.0  0.0  280360    5196 ??  SN   10Mar14     18:00.79
/usr/local/sbin/    80     1   0   28  8 kqread
www      52491   0.0  0.0  282644    5304 ??  SN    7May14      3:46.96
/usr/local/sbin/    80 37932   0   28  8 kqread
www      53522   0.0  0.0  282644    5316 ??  SN   28Apr14      6:09.03
/usr/local/sbin/    80 37932   0   28  8 kqread
www      55654   0.0  0.0  243496    5184 ??  SN   13Mar14     17:02.13
/usr/local/sbin/    80     1   0   28  8 kqread
www      59237   0.0  0.0  290836    6496 ??  SN    9May14      3:06.55
/usr/local/sbin/    80 37932   0   28  8 kqread
www      59812   0.0  0.0  235304    5176 ??  SN    9Mar14     18:04.38
/usr/local/sbin/    80     1   0   28  8 kqread
www      64665   0.0  0.0  294932    6488 ??  SN   10May14      3:03.42
/usr/local/sbin/    80 37932   0   28  8 kqread
www      69798   0.0  0.0  304936    5220 ??  SN   25Mar14     13:58.72
/usr/local/sbin/    80     1   0   28  8 kqread
www      70603   0.0  0.0  272168    5256 ??  SN   17Mar14     16:26.36
/usr/local/sbin/    80     1   0   28  8 kqread
www      72507   0.0  0.0  282644    5456 ??  SN    3May14      4:40.87
/usr/local/sbin/    80 37932   0   28  8 kqread
www      80131   0.0  0.0  270356    6476 ??  SN   10May14      2:56.21
/usr/local/sbin/    80 37932   0   28  8 kqread
www      82185   0.0  0.0  286740    5296 ??  SN   30Apr14      5:37.02
/usr/local/sbin/    80 37932   0   28  8 kqread
www      83837   0.0  0.0  272168    5212 ??  SN    1Apr14     12:26.37
/usr/local/sbin/    80     1   0   28  8 kqread
www      83915   0.0  0.0  272168    5232 ??  SN    1Apr14     12:25.54
/usr/local/sbin/    80     1   0   28  8 kqread
www      86352   0.0  0.0  247592    5232 ??  SN   26Mar14     14:07.53
/usr/local/sbin/    80     1   0   28  8 kqread
www      88792   0.0  0.2  303092   36444 ??  SN   10:58am      0:02.33
/usr/local/sbin/    80 37932   0   28  8 kqread
www      94534   0.0  0.0  280360    5204 ??  SN    3Apr14     11:52.15
/usr/local/sbin/    80     1   0   28  8 kqread
www      94844   0.0  0.2  298996   30296 ??  SN   Fri02pm      1:17.01
/usr/local/sbin/    80 37932   0   28  8 kqread
www      95828   0.0  0.1  126432   11112 ??  IN   11:48am      0:00.00
/usr/local/sbin/    80 37932   0   40  8 accept
www      95829   0.0  0.1  127600   12344 ??  SN   11:48am      0:00.04
/usr/local/sbin/    80 37932   0   28  8 select
www      95844   0.0  0.3  331764   52020 ??  SN   11:49am      0:04.12
/usr/local/sbin/    80 37932   0   28  8 kqread
root     96147   0.0  0.0   16312    2224  0  S+   11:51am      0:00.00
grep www             0 94629   0   20  0 piperd

This correspons to the Apache server status billboard:

PID	Connections	Threads	Async connections
total	accepting	busy	idle	writing	keep-alive	closing
52491	1	no	0	0	0	0	0
53522	1	no	0	0	0	0	0
18133	1	no	0	0	0	0	0
82185	1	no	0	0	0	0	0
72507	1	no	0	0	0	0	0
80131	1	no	0	0	0	0	0
59237	1	no	0	0	0	0	0
88792	1	no	0	0	0	0	0
13169	1	no	0	0	0	0	0
41236	1	no	0	0	0	0	0
64665	1	no	0	0	0	0	0
94844	1	no	0	0	0	0	0
35248	1	no	0	0	0	0	0
48252	1	no	0	0	0	0	0
44040	1	no	0	0	0	0	0
95844	53	yes	5	20	0	38	10
Sum	68	 	5	20	0	38	10
GGGGGGGGGGGGGGGGGGGGWGGGGGGGGGGGLGGGGGGGGGGGGGGGWGGGGGGGGGGGWGGG
GGGGGGGGGGGGGGGGLGGLGGWGGGGGGGGGGGGGGLGGGGGGGGGGGGGGGGGGWGLGGGGG
GGGGGGGGGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGWGWGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGLGGGGGWGGGGGGGGWGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGWGGGGGGGGGGGLGGGGGGGGGGGGGGGGGGGGGGGGGGGWGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGG_WR_R____
WW______________

I.e. as far as the apache parent is concerned, these are zombies.

Has anyone else encountered this problem? It happens fairly often at my
busy server (once a month or so).



--aBXetKJwVwSO09s7oSOchfurMdldpgMGm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iKUEARECAGYFAlN8eCRfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDYxNDE4MkQ3ODMwNDAwMDJFRUIzNDhFNUZE
MDhENTA2M0RGRjFEMkMACgkQ/QjVBj3/HSx9oQCXYKKD6TRSJg+RQOKxJ8RA2Fgl
CACfXvM4VoZbyFIi9KQrATTis2Qx614=
=+c3k
-----END PGP SIGNATURE-----

--aBXetKJwVwSO09s7oSOchfurMdldpgMGm--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?llht74$8sg$1>