
Je vois que le service apache2 s'est arrêté subitement cette nuit:
Code : Tout sélectionner
sudo service apache2 status
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Sat 2022-02-05 03:51:01 CET; 12h ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 71448 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Process: 71453 ExecStop=/usr/sbin/apachectl graceful-stop (code=exited, status=0/SUCCESS)
CPU: 181ms
févr. 05 03:51:01 leblais.net systemd[1]: Starting The Apache HTTP Server...
févr. 05 03:51:01 leblais.net apachectl[71451]: httpd (pid 71415) already running
févr. 05 03:51:01 leblais.net systemd[1]: apache2.service: Succeeded.
févr. 05 03:51:01 leblais.net systemd[1]: Started The Apache HTTP Server.
Code : Tout sélectionner
[Sat Feb 05 00:00:06.699390 2022] [mpm_prefork:notice] [pid 59142] AH00163: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Sat Feb 05 00:00:06.699538 2022] [core:notice] [pid 59142] AH00094: Command line: '/usr/sbin/apache2'
[Sat Feb 05 03:14:52.499500 2022] [php7:warn] [pid 68353] [client 157.55.39.127:33664] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/kriss/index.php on line 3780
[Sat Feb 05 03:50:49.596601 2022] [mpm_prefork:notice] [pid 59142] AH00170: caught SIGWINCH, shutting down gracefully
[Sat Feb 05 03:50:55.771795 2022] [mpm_prefork:notice] [pid 71415] AH00163: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations
[Sat Feb 05 03:50:55.772024 2022] [core:notice] [pid 71415] AH00094: Command line: '/usr/sbin/apache2'
[Sat Feb 05 03:51:01.860775 2022] [mpm_prefork:notice] [pid 71415] AH00170: caught SIGWINCH, shutting down gracefully

Avez-vous déjà constaté sur vos serveurs web le caught SIGWINCH, shutting down gracefully ?
Serait-ce possible de créer un script qui relance le service automatiquement ?