Score:0

Apache - SSH output filter failed

us flag

Description of issue

My Apache starts processess and each of them takes 100%. Eventually mysql might crach or apache process is terminated with below error message.

CPU load behaves this way

Apache starts to cumulate

Swapping starts and then its downhill

Load increase / process hang is random, but currently very frequent. It lasts around 30secs and then might resolve by itself or not. When multiple processes have similar hang-situation server gets overloaded, swapping starts and sql craches.

[Tue Nov 30 05:35:16.653263 2021] [ssl:info] [pid 1483] (70007)The timeout specified has expired: [client 114.119.129.191:48226] AH01993: SSL output filter write failed.

I have analyzed the issue with strace etc. but have found no solution.

Tested solutions

VirtualHost with full address & IP: I have added the IP in the VirtualHost as specified: "SSL input filter read failed" Apache and 443

One interesting lead: https://forums.cpanel.net/threads/ssl-input-filter-read-failed-solutions.680869/

Apache has a race-condition when it kills and restarts its piped-logging processes on graceful restart before all of its children handling ongoing client connections have finished, resulting in a "Broken pipe" error when those children attempt to log to a pipe that no longer exists.

Because it is a race-condition, this will be more likely to happen on busier servers where httpd children are servicing a client request in the middle of a graceful restart, and unlikely to be seen on idle servers.

Servername with full address: I added full ServerName according to this. https://bz.apache.org/bugzilla/show_bug.cgi?id=52794 And that did not help.

Server setup: Ubuntu 20, Apache, Mysql, Django. All on latest versions

Any suggestions how to debug this further?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.