Bug 68873 - Threads with status endless "Closing Connection"
Summary: Threads with status endless "Closing Connection"
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mpm_event (show other bugs)
Version: 2.4.59
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-08 13:52 UTC by Benoit
Modified: 2024-04-09 07:58 UTC (History)
0 users



Attachments
Example, endless Closing Connection. Screenshot of my server-status with a status "C" (closing connection) (12.98 KB, image/png)
2024-04-08 13:52 UTC, Benoit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit 2024-04-08 13:52:51 UTC
Created attachment 39654 [details]
Example, endless Closing Connection. Screenshot of my server-status with a status "C" (closing connection)

Hello,

For several weeks, my Apache server regularly consumes a lot of CPU.
In fact, thanks to server-status, after restarting httpd, after a few hours I notice that threads remain blocked endlessly with the status "Closing connection" (see my screenshot).
The problem is that these endless "Closing connections" take 100% of CPU, and this forces me to restart Apache regularly.

For me, this looks like an infinite loop that prevents the connection from closing.
Unfortunately I don't know how to reproduce this bug, the server-status doesn't give any more information, and I therefore don't know how to resolve this bug.

Has anyone ever encountered a similar situation and could offer me a solution?
Perhaps there is a directive to "kill" a thread in "Closing connection"?

For information, I am running Centos 7 with httpd 2.4.59 (compiled with mpm event).