Bug#894827: marked as done (apache2: Apache workers are hanging after reload)

"Debian Bug Tracking System" <[email protected]> Sun, 01 Feb 2026 16:47:11 +0000
Newsgroups gmane.linux.debian.devel.apache
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1769964431-3680560-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sun, 01 Feb 2026 16:55:14 +0100
with message-id <3895120.BddDVKsqQX@debian-ei>
and subject line Done 894827
has caused the Debian Bug report #894827,
regarding apache2: Apache workers are hanging after reload
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
894827: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D894827
Debian Bug Tracking System
Contact [email protected] with problems

------------=_1769964431-3680560-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 4 Apr 2018 16:15:59 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
	(2015-04-28) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.2 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
	SPF_SOFTFAIL,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 69; hammy, 150; neutral, 192; spammy,
	0. spammytokens: hammytokens:0.000-+--H*x:6.6.3, 0.000-+--H*UA:6.6.3,
	0.000-+--31604amd64, 0.000-+--3.16.0-4-amd64, 0.000-+--H*M:reportbug
Return-path: <[email protected]>
Received: from ct1.customerthermometer.com ([109.169.28.117])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1f3l4p-0001eg-Bq
	for [email protected]; Wed, 04 Apr 2018 16:15:59 +0000
Received: from ctadmin by ct1.customerthermometer.com with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1f3klU-0001FK-EX; Wed, 04 Apr 2018 16:56:00 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dan Benton <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: apache2: Apache workers are hanging after reload
Message-ID: <[email protected]>
X-Mailer: reportbug 6.6.3
Date: Wed, 04 Apr 2018 16:56:00 +0100
X-Greylist: delayed 1196 seconds by postgrey-1.36 at buxtehude; Wed, 04 Apr 2018 16:15:59 UTC
Delivered-To: [email protected]

Package: apache2
Version: 2.4.10-10+deb8u12
Severity: normal

Dear Maintainer,

I am finding some Apache processes stuck in a gracefully finishing state after an Apache reload. The only way to clear these processes down is to restart Apache or killing the individual processes.
The way these processes are being left the stuck thread 100% CPU and eventually crashing the server. 
I have seen these hung processes stay running for over 12 hours before I manually kill them. 

This seems to only be when the reload catches a large request to my website. Unfortunately I have been unsuccessful to replicate this issue anywhere outside of my production environment.

We are using Apache to process PHP behind a NGINX proxy.

-- Package-specific info:

-- System Information:
Debian Release: 8.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apache2 depends on:
ii  apache2-bin    2.4.10-10+deb8u12
ii  apache2-data   2.4.10-10+deb8u12
ii  apache2-utils  2.4.10-10+deb8u12
ii  dpkg           1.17.27
ii  lsb-base       4.1+Debian13+nmu1
ii  mime-support   3.58
ii  perl           5.20.2-3+deb8u9
ii  procps         2:3.3.9-9

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.35

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  w3m [www-browser]                                0.5.3-19+deb8u2

Versions of packages apache2-bin depends on:
ii  libapr1                  1.5.1-3
ii  libaprutil1              1.5.4-1
ii  libaprutil1-dbd-sqlite3  1.5.4-1
ii  libaprutil1-ldap         1.5.4-1
ii  libc6                    2.19-18+deb8u10
ii  libldap-2.4-2            2.4.40+dfsg-1+deb8u3
ii  liblua5.1-0              5.1.5-7.1
ii  libpcre3                 2:8.35-3.3+deb8u4
ii  libssl1.0.0              1.0.1t-1+deb8u8
ii  libxml2                  2.9.1+dfsg1-5+deb8u6
ii  perl                     5.20.2-3+deb8u9
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  w3m [www-browser]                                0.5.3-19+deb8u2

Versions of packages apache2 is related to:
ii  apache2      2.4.10-10+deb8u12
ii  apache2-bin  2.4.10-10+deb8u12

-- Configuration Files:
/etc/apache2/mods-available/mpm_prefork.conf changed:
<IfModule mpm_prefork_module>
	StartServers			 5
	MinSpareServers		  5
	MaxSpareServers		 10
        MaxRequestWorkers         110
        MaxConnectionsPerChild   30000
	GracefulShutdownTimeout 60
</IfModule>

/etc/apache2/mods-available/mpm_worker.conf changed:
<IfModule mpm_worker_module>
	StartServers			 2
	MinSpareThreads		 25
	MaxSpareThreads		 75
	ThreadLimit			 64
	ThreadsPerChild		 25
	MaxRequestWorkers	  300
	MaxConnectionsPerChild   0
</IfModule>

/etc/apache2/mods-available/status.conf changed:
<IfModule mod_status.c>
	# Allow server status reports generated by mod_status,
	# with the URL of http://servername/server-status
	# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
	<Location /server-status>
		SetHandler server-status
		Require local
		#Require ip 192.0.2.0/24
	</Location>
	# Keep track of extended status information for each request
	ExtendedStatus On
	# Determine if mod_status displays the first 63 characters of a request or
	# the last 63, assuming the request itself is greater than 63 chars.
	# Default: Off
	#SeeRequestTail On
	SeeRequestTail On
	<IfModule mod_proxy.c>
		# Show Proxy LoadBalancer status in mod_status
		ProxyStatus On
	</IfModule>
</IfModule>

/etc/apache2/ports.conf changed:
NameVirtualHost *:81
Listen 81


-- no debconf information

------------=_1769964431-3680560-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 894827-done) by bugs.debian.org; 1 Feb 2026 16:45:36 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-111.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	PGPSIGNATURE,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
	USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 71; neutral, 14; spammy, 0.
	spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <[email protected]>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:32902)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <[email protected]>)
	id 1vmZnA-00FJtf-2E
	for [email protected];
	Sun, 01 Feb 2026 15:55:16 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Date:Subject:To:From:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=tcDWBQ9/CeuqC0jEN6ND37ozzMbpP8lfXo0OU7TvBKo=; b=qk/mfFGtNbD0Zr9zOlw8jHB4Ks
	HrJVn2Cod28UdqnFWW2cDhA+upWqmEnGAkLxVoxpMRDUi0CckI6PkJih2FnwQzFHMTgRKpse6Nng8
	zsbKbDMFLpqDwcYIJf3PE193kEg4AwxKvAmFmFFCc+Soe10vajCrdcouVgsbnhXUj4iLBlRdcmu0Y
	x8G3N1RnIy1CBSgEPMGFGrVvcUfecLpMXopXzm7r9RTPc13FhT6EFDuv5wvgmBn4MbfS4DH3Cmkci
	y5h2582PAAEcBTTvmu5LvodF1P42TL+EqIi7dekMT1YSs5Ior6eV3BvaoGLUPipghkKIlfLPnE/OT
	X7t2sAnw==;
Received: from authenticated user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1vmZn8-003O00-T3
	for [email protected]; Sun, 01 Feb 2026 15:55:14 +0000
From: Bastien Roucaries <[email protected]>
To: [email protected]
Subject: Done 894827
Date: Sun, 01 Feb 2026 16:55:14 +0100
Message-ID: <3895120.BddDVKsqQX@debian-ei>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart2998950.TLkxdtWsSY";
 micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Debian-User: rouca

--nextPart2998950.TLkxdtWsSY
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bastien Roucaries <[email protected]>
To: [email protected]
Subject: Done 894827
Date: Sun, 01 Feb 2026 16:54:45 +0100
Message-ID: <3895120.BddDVKsqQX@debian-ei>
MIME-Version: 1.0

version: 2.4.65-1

Should be fixed by apachectl rewrite and use of systemd

so close

Reopen if needed
--nextPart2998950.TLkxdtWsSY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAml/d0UACgkQADoaLapB
CF9TYA//b3xMQi63SeYG4teu04vXVQQlG70wy7uKI1Lw8as/AttLN5poELMxLdVu
SDPOI2AbP668ygSL5lLZlc3rhZ8/wC+yhszdvhuQA/mKNXQtcyVnch25e+xmnxdJ
LKMkB7Dv7nKtsXn6XQdZsXX/qLeFzwgPOXzrqPLtjRESZF6vCYEBdvYb5KnsrOnh
+j6UgHPpBSlzcbjGVVzkfIz4oMujOBmzEPUlaaGL0GNAyPIjYor7t+n1DMAR5iBJ
M3u6hvQPzfDeRThiiAq8459e885Q3jeJryEUQ/rPAE7NIFFcoko2W3usgmtBM7iY
SPX1b/+D5uYxPWELoRXQsQ+5j9dVHWCgdr31WOvwoothVh+IqxSS+ww6CgDI/l4o
1L4l6KJbx/BieGpBt813xXWPJwOps2ghV1iRHLKw+VR9oWP2j0Wb9rH6p86z0s+a
PUm44AshHkLlZUwGoJUHjcW8tpe1Exp04O0QOAsdu8KurFK7isJ3lby7CtrQp9H1
MafOEl7vj+MatVSFT1vlJ7e0dmvVIOlwhyRksI75GmA7Z/ZSeXMAUFo9rKvNNQLs
/KkamMEFuG0KooI3SzZnxtLD5h8h6qWLUjlrSfyAUcSrOk6IjZvH49GRgECdBLN5
2TPacCqupIkRyYpTCtcd/bRCDog5GAer2ySX8b1eouCm8nbyXuU=
=uYYx
-----END PGP SIGNATURE-----

--nextPart2998950.TLkxdtWsSY--
------------=_1769964431-3680560-0--