[Wapt] Arrêt aléatoire du serveur wapt

Frederic Garesche Frederic.Garesche at insa-rennes.fr
Mon Nov 18 08:55:12 CET 2019


Bonjour, 

Debian 9 
Waptserver version 1.7.4.6229 

Le service n'utilise plus les 100% cpu mais j'ai toujours le problème d'arrêt de communication avec le service. 

Je remets le résultat de la commande demandée : 
pids=$(pgrep -f "server.py"); for f in /proc/$pids/fdinfo/*; do cat $f | grep flags | grep -q -v 400[0,1,2] && ls -al /proc/$pids/fd/$(basename $f); done; 
lr-x------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/0 -> /dev/null 
lrwx------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/1 -> socket:[583691] 
lr-x------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/15 -> /dev/urandom 
lrwx------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/2 -> socket:[583691] 
lrwx------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/3 -> anon_inode:[eventpoll] 
lr-x------ 1 wapt www-data 64 nov. 14 08:16 /proc/26112/fd/8 -> /dev/urandom 

J'ai mis en place un cron en ajoutant timeout 5 à la commande que vous m'avez fourni : 
timeout 5 wget -t 1 -q -O- http://127.0.0.1:8080/ping --no-check-certificate | grep "WAPT Server running" || (echo Restart; systemctl restart waptserver ) 

Sans timeout, la commande wget est très longue lorsque le service ne fonctionne pas correctement. La commande wget possède une option pour définir le timeout mais cela ne fonctionne pas dans ce cas. 

Cordialement, 

Frédéric GARESCHÉ 
Équipe Assistance et Exploitation 
Direction du Système d'Information (D.S.I) 
Correspondant Département EII et laboratoire IETR 
Tél. : +33 (0)2 23 2 3 82 81 
20 avenue des Buttes de Coësmes 
CS 70839 - 35 708 RENNES Cedex 7 

[ https://www.insa-rennes.fr/ ] 


De: "Frederic Garesche" <frederic.garesche at insa-rennes.fr> 
À: "Hubert TOUVET" <htouvet at tranquil.it> 
Cc: "wapt" <wapt at lists.tranquil.it> 
Envoyé: Jeudi 24 Octobre 2019 10:15:38 
Objet: Re: [Wapt] Arrêt aléatoire du serveur wapt 

Effectivement, j'ai ce problème 

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND 
root 1289 0.0 0.1 264188 62028 ? Ss oct.22 0:00 /usr/bin/python2 /usr/bin/salt-minion 
root 1392 0.1 0.1 628992 80328 ? Sl oct.22 3:19 /usr/bin/python2 /usr/bin/salt-minion 
root 1422 0.0 0.1 356156 55984 ? S oct.22 0:00 /usr/bin/python2 /usr/bin/salt-minion 
wapt 1527 99.7 0.8 517776 402612 ? Rs oct.22 2735:27 /opt/wapt/bin/python /opt/wapt/waptserver/server.py 

Je mets à jour wapt et je vous tiens au courant. 

Cordialement, 

Frédéric GARESCHÉ 
Équipe Assistance et Exploitation 
Direction du Système d'Information (D.S.I) 
Correspondant Département EII et laboratoire IETR 
Tél. : +33 (0)2 23 2 3 82 81 
20 avenue des Buttes de Coësmes 
CS 70839 - 35 708 RENNES Cedex 7 

[ https://www.insa-rennes.fr/ ] 


De: "Frederic Garesche" <frederic.garesche at insa-rennes.fr> 
À: "Hubert TOUVET" <htouvet at tranquil.it> 
Cc: "wapt" <wapt at lists.tranquil.it> 
Envoyé: Jeudi 24 Octobre 2019 10:11:03 
Objet: Re: [Wapt] Arrêt aléatoire du serveur wapt 

Je regarde ça. 

Frédéric GARESCHÉ 
Équipe Assistance et Exploitation 
Direction du Système d'Information (D.S.I) 
Correspondant Département EII et laboratoire IETR 
Tél. : +33 (0)2 23 2 3 82 81 
20 avenue des Buttes de Coësmes 
CS 70839 - 35 708 RENNES Cedex 7 

[ https://www.insa-rennes.fr/ ] 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20191118/347b3a4b/attachment.html>


More information about the WAPT mailing list