Apache fällt immer mal aus
Posted: Wed 5. Oct 2022, 11:32
Hallo,
seit ein paar Tagen fällt ab und zu der Apache aus.
Die Apache Tasks sind im Putty noch zu sehen.
Wenn ich Apache neu starte geht es einige Minuten und dann ist wieder keine Webseite zu erreichen.
Erst wenn ich den Server neu gestartet habe läuft es für einige Stunden fehlerfrei.
Auf dem Server ist wenig Betrieb. Dem entsprechend ist die Serverlast bei ca. 0,5
Unter /etc/apache2/mods-enabled/mpm_event.conf habe ich folgende Einträge.
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestWorkers 256
MaxConnectionsPerChild 0
Wobei ich MaxRequestWorkers, wie in der error.log bemängelt, auf 256 geändert habe. Hat aber leider nichts gebracht.
In der /var/log/apache2/error.log kann ich zur fraglichen Zeit folgende Einträge finden.
[Wed Oct 05 10:14:55.384732 2022] [mpm_event:error] [pid 143264:tid 140294922665280] AH10159: server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
[Wed Oct 05 10:16:59.530626 2022] [mpm_event:error] [pid 143264:tid 140294922665280] AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Wed Oct 05 10:24:39.152842 2022] [mpm_event:notice] [pid 143264:tid 140294922665280] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Oct 05 10:24:42.650472 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:44.652790 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:46.655066 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:48.657343 2022] [core:error] [pid 143264:tid 140294922665280] AH00046: child process 147456 still did not exit, sending a SIGKILL
[Wed Oct 05 10:25:39.688760 2022] [ssl:warn] [pid 647:tid 140506438851904] AH01909: webmail:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 05 10:25:39.689403 2022] [ssl:error] [pid 647:tid 140506438851904] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / issuer: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / serial: 653B578BD169E88E2A2763A690C68395C21DFCE1 / notbefore: Nov 30 13:12:07 2019 GMT / notafter: Nov 27 13:12:07 2029 GMT]
[Wed Oct 05 10:25:39.689414 2022] [ssl:error] [pid 647:tid 140506438851904] AH02604: Unable to configure certificate webmail:443:0 for stapling
[Wed Oct 05 10:25:42.268204 2022] [suexec:notice] [pid 647:tid 140506438851904] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 05 10:25:43.820480 2022] [ssl:warn] [pid 1178:tid 140506438851904] AH01909: webmail:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 05 10:25:43.821436 2022] [ssl:error] [pid 1178:tid 140506438851904] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / issuer: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / serial: 653B578BD169E88E2A2763A690C68395C21DFCE1 / notbefore: Nov 30 13:12:07 2019 GMT / notafter: Nov 27 13:12:07 2029 GMT]
[Wed Oct 05 10:25:43.821562 2022] [ssl:error] [pid 1178:tid 140506438851904] AH02604: Unable to configure certificate webmail:443:0 for stapling
[Wed Oct 05 10:25:46.693135 2022] [mpm_event:notice] [pid 1178:tid 140506438851904] AH00489: Apache/2.4.54 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1n configured -- resuming normal operations
[Wed Oct 05 10:25:46.693681 2022] [core:notice] [pid 1178:tid 140506438851904] AH00094: Command line: '/usr/sbin/apache2'
Keyhelp startet den Apache nicht neu wenn er ausfällt?
Ich hoffe es kann mir jemand helfen.
Vielen Dank im voraus.
seit ein paar Tagen fällt ab und zu der Apache aus.
Die Apache Tasks sind im Putty noch zu sehen.
Wenn ich Apache neu starte geht es einige Minuten und dann ist wieder keine Webseite zu erreichen.
Erst wenn ich den Server neu gestartet habe läuft es für einige Stunden fehlerfrei.
Auf dem Server ist wenig Betrieb. Dem entsprechend ist die Serverlast bei ca. 0,5
Unter /etc/apache2/mods-enabled/mpm_event.conf habe ich folgende Einträge.
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestWorkers 256
MaxConnectionsPerChild 0
Wobei ich MaxRequestWorkers, wie in der error.log bemängelt, auf 256 geändert habe. Hat aber leider nichts gebracht.
In der /var/log/apache2/error.log kann ich zur fraglichen Zeit folgende Einträge finden.
[Wed Oct 05 10:14:55.384732 2022] [mpm_event:error] [pid 143264:tid 140294922665280] AH10159: server is within MinSpareThreads of MaxRequestWorkers, consider raising the MaxRequestWorkers setting
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
suexec policy violation: see suexec log for more details
[Wed Oct 05 10:16:59.530626 2022] [mpm_event:error] [pid 143264:tid 140294922665280] AH00484: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
[Wed Oct 05 10:24:39.152842 2022] [mpm_event:notice] [pid 143264:tid 140294922665280] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Oct 05 10:24:42.650472 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:44.652790 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:46.655066 2022] [core:warn] [pid 143264:tid 140294922665280] AH00045: child process 147456 still did not exit, sending a SIGTERM
[Wed Oct 05 10:24:48.657343 2022] [core:error] [pid 143264:tid 140294922665280] AH00046: child process 147456 still did not exit, sending a SIGKILL
[Wed Oct 05 10:25:39.688760 2022] [ssl:warn] [pid 647:tid 140506438851904] AH01909: webmail:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 05 10:25:39.689403 2022] [ssl:error] [pid 647:tid 140506438851904] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / issuer: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / serial: 653B578BD169E88E2A2763A690C68395C21DFCE1 / notbefore: Nov 30 13:12:07 2019 GMT / notafter: Nov 27 13:12:07 2029 GMT]
[Wed Oct 05 10:25:39.689414 2022] [ssl:error] [pid 647:tid 140506438851904] AH02604: Unable to configure certificate webmail:443:0 for stapling
[Wed Oct 05 10:25:42.268204 2022] [suexec:notice] [pid 647:tid 140506438851904] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Oct 05 10:25:43.820480 2022] [ssl:warn] [pid 1178:tid 140506438851904] AH01909: webmail:443:0 server certificate does NOT include an ID which matches the server name
[Wed Oct 05 10:25:43.821436 2022] [ssl:error] [pid 1178:tid 140506438851904] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / issuer: emailAddress=info@keyhelp.de,CN=vmd45894.meinserveranbieter.net,OU=KeyHelp Panel,O=KeyHelp,L=Erfurt,ST=Thuringia,C=DE / serial: 653B578BD169E88E2A2763A690C68395C21DFCE1 / notbefore: Nov 30 13:12:07 2019 GMT / notafter: Nov 27 13:12:07 2029 GMT]
[Wed Oct 05 10:25:43.821562 2022] [ssl:error] [pid 1178:tid 140506438851904] AH02604: Unable to configure certificate webmail:443:0 for stapling
[Wed Oct 05 10:25:46.693135 2022] [mpm_event:notice] [pid 1178:tid 140506438851904] AH00489: Apache/2.4.54 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1n configured -- resuming normal operations
[Wed Oct 05 10:25:46.693681 2022] [core:notice] [pid 1178:tid 140506438851904] AH00094: Command line: '/usr/sbin/apache2'
Keyhelp startet den Apache nicht neu wenn er ausfällt?
Ich hoffe es kann mir jemand helfen.
Vielen Dank im voraus.