monitoring apache2 ?

WRInaute passionné
Bonjour

Par moment apache2 crash sans que je ne sache pourquoi...je ne sais pas par où commencer pour trouver la cause et y remédier.

y a t il des solution gratuites de monitoring pour apache2 ? ou des outils de diagnostiques pour tenter de trouver où et quand apache2 crash?

merci de vos conseils?
 
WRInaute discret
Bonjour

Par moment apache2 crash sans que je ne sache pourquoi...je ne sais pas par où commencer pour trouver la cause et y remédier.

y a t il des solution gratuites de monitoring pour apache2 ? ou des outils de diagnostiques pour tenter de trouver où et quand apache2 crash?

merci de vos conseils?


Quel système d'exploitation (OS) utilisez-vous ?
 
WRInaute discret
Bonjour

j'utilise un linux / apache2 / php / mysql sous debian 10

vérifier votre fichier log
/var/log/apache2/error.log
si la taille de fichier error log est très grand , supprimer le et redémarrer votre serveur , pour que cette fichier soit régénérer .
le seul moniteur de serveur sont les fichiers log

pour identifier votre problem , envoyez-nous ce que dans cette fichier

https://uptimerobot.com/ : c'est un moniteur externe , c'est à dire juste pour verifier que votre site en marche ou nn
 
WRInaute passionné
J'ai beau regarder mes logs, j'ai du mal à identifier le problème...

à part ceci je vois pas vraiment...

log apache2

Code:
[Wed Oct 30 19:27:00.392332 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 638 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:00.392398 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 29181 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:00.392410 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 31075 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:02.394475 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 638 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:02.394518 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 29181 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:02.394529 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 31075 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:04.396611 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 638 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:04.396651 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 29181 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:04.396667 2019] [core:warn] [pid 637:tid 140385240641600] AH00045: child process 31075 still did not exit, sending a SIGTERM
[Wed Oct 30 19:27:06.398312 2019] [core:error] [pid 637:tid 140385240641600] AH00046: child process 638 still did not exit, sending a SIGKILL
[Wed Oct 30 19:27:06.398429 2019] [core:error] [pid 637:tid 140385240641600] AH00046: child process 29181 still did not exit, sending a SIGKILL
[Wed Oct 30 19:27:06.398515 2019] [core:error] [pid 637:tid 140385240641600] AH00046: child process 31075 still did not exit, sending a SIGKILL
[Wed Oct 30 19:27:07.400027 2019] [mpm_event:notice] [pid 637:tid 140385240641600] AH00491: caught SIGTERM, shutting down
[Wed Oct 30 19:27:07.480842 2019] [mpm_event:notice] [pid 9345:tid 140604263678016] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2t configured -- resuming normal operations
[Wed Oct 30 19:27:07.480929 2019] [core:notice] [pid 9345:tid 140604263678016] AH00094: Command line: '/usr/sbin/apache2'

à moins que cela soit à cause de:

log mariadb

Code:
Oct 30 19:26:52 ns3271061 smartd[750]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 193 to 200
Oct 30 19:26:52 ns3271061 smartd[750]: Device: /dev/sdb [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 206 to 214
Oct 30 19:26:52 ns3271061 smartd[750]: Device: /dev/sdc [SAT], 6 Offline uncorrectable sectors
Oct 30 19:26:52 ns3271061 smartd[750]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 187 to 193
Oct 30 19:26:57 ns3271061 systemd[1]: Stopping The Apache HTTP Server...
Oct 30 19:27:01 ns3271061 CRON[9197]: (root) CMD (  php /var/www/monsite.com/piwikanalytics/console core:archive --url=http://piwikanalytics.monsite.com/ >/dev/null 2>&1)
Oct 30 19:27:07 ns3271061 systemd[1]: Stopped The Apache HTTP Server.
Oct 30 19:27:07 ns3271061 systemd[1]: Starting The Apache HTTP Server...
Oct 30 19:27:07 ns3271061 systemd[1]: Started The Apache HTTP Server.

200°C ??? c'est chaud non?

et j'ai un peu de mal à savoir quand plante apache2

et j'ai aussi ceci:

Code:
The following warning/error was logged by the smartd daemon:

Device: /dev/sdc [SAT], 6 Offline uncorrectable sectors


la vache...c'est peu être mon HDD qui est mort? Mais je viens tout juste de commander ce serveur..

qu'en pensez-vous?
 
WRInaute passionné
@frenchhorn oui c'est pas easy, encore moins pour nous sans avoir la main dessus.
De plus ça fait bien 10 ans que j'ai largué Apache.

nginx?

Bon je pense avoir compris ce qui fait planter apache2 sans savoir pourquoi...je suis repasser de HTTP2 à HTTP1 et je n'ai plus de problème...Dois y avoir un truc avec les multi thread qui fait planter apache mais je ne sais pas trop quoi...j'avais suivi ce tuto: https://www.installerunserveur.com/installer-http2

encore merci
 
Discussions similaires
S
Réponses
13
Affichages
3K
suppr36306
S
Haut