<html><body><div style="font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 13pt; color: #000000"><div>Je regarde ça.<br></div><div><br></div><div data-marker="__SIG_PRE__"><div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><span style="font-family: courier new, courier, monaco, monospace, sans-serif;"><b><span style="color: #333333;">Frédéric GARESCHÉ</span><br></b></span></div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Équipe Assistance et Exploitation<br></b></span></div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Direction du Système d'Information (D.S.I)</b></span></div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Correspondant Département EII et laboratoire IETR<br></b>Tél. : +33 (0)2 23 2<strong>3 82 81</strong></span></div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><div><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">20 avenue des Buttes de Coësmes</span><br><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">CS 70839 - 35 708 RENNES Cedex 7</span></div></div><div style="color: #5e5e5d; font-size: 13px; font-family: arial;"><span style="color: #808080;"></span><br></div><a href="https://www.insa-rennes.fr" target="_blank"><img src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg" alt="" data-mce-src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg"></a><br></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Hubert TOUVET" <htouvet@tranquil.it><br><b>À: </b>"Frederic Garesche" <Frederic.Garesche@insa-rennes.fr><br><b>Cc: </b>"wapt" <wapt@lists.tranquil.it><br><b>Envoyé: </b>Jeudi 24 Octobre 2019 10:07:09<br><b>Objet: </b>Re: [Wapt] Arrêt aléatoire du serveur wapt<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><div>
Bonjour,<br>
Avez-vous également le problème du process python waptserver.py à
100% de CPU ?<br>
Si oui, la version 1.7.4.6229 intègre des bibliothèques
python-engineio et python-socketio mises à jour (22/10) pour
corriger cela.<br>
Je n'ai pas analysé si cela pourrait avoir un impact sur le fait que
le serveur se bloque.<br>
<br>
<br>
<div class="moz-cite-prefix">Le 24/10/2019 à 09:54, Frederic
Garesche a écrit :<br>
</div>
<blockquote cite="mid:1835682706.168595.1571903683451.JavaMail.zimbra@insa-rennes.fr">
<div id="zimbraEditorContainer" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);" class="6">
<div>
<div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);">
<div>Bonjour,<br>
</div>
<br>
<div>Ça y est, le serveur est de nouveau tombé.<br>
</div>
<br>
<div>Voici la fin du syslog :<br>
</div>
<br>
<div><em><span style="font-size: 8pt;">...</span></em><br>
</div>
<div><em><span style="font-size: 8pt;">Oct 24 09:35:01
wapt2 CRON[32194]: (root) CMD (command -v debian-sa1
> /dev/null && debian-sa1 1 1)</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:36:01
wapt2 python[1527]: 2019-10-24 09:36:01,806 WARNING
SocketIO connection refused for uuid
4C4C4544-0036-4710-804D-C7C04F425832, sid
d7dd626b8b1a4d00a164d4b8f130cd4b: SocketIO
connection not authorized, invalid token: 400 Bad
Request: The browser (or proxy) sent a request that
this server could not understand., instance</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:37:00
wapt2 python[1527]: 2019-10-24 09:37:00,858 WARNING
SocketIO connection refused for uuid
4C4C4544-004E-5710-8053-B5C04F354B32, sid
7fef72636b294b999db9bc9dd045ab4d: SocketIO
connection not authorized, invalid token: 400 Bad
Request: The browser (or proxy) sent a request that
this server could not understand., instance</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:39:11
wapt2 python[1527]: 2019-10-24 09:39:11,128 WARNING
SocketIO connection refused for uuid
4C4C4544-0054-3210-804D-CAC04F465931, sid
a9ee20f9518645f596057db6c332d6a1: SocketIO
connection not authorized, invalid token: 400 Bad
Request: The browser (or proxy) sent a request that
this server could not understand., instance</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:42:50
wapt2 python[1527]: 2019-10-24 09:42:50,226 WARNING
SocketIO connection refused for uuid
4C4C4544-0050-3310-8057-B5C04F354B32, sid
1ed4b0741b224f869961b1d3e88c8702: SocketIO
connection not authorized, invalid token: 400 Bad
Request: The browser (or proxy) sent a request that
this server could not understand., instance</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:42:56
wapt2 python[1527]: 2019-10-24 09:42:56,099 WARNING
SocketIO connection refused for uuid
4C4C4544-0050-3210-8053-B5C04F354B32, sid
bc178e93e17f4062b4fcc8fa77628242: SocketIO
connection not authorized, invalid token: 400 Bad
Request: The browser (or proxy) sent a request that
this server could not understand., instance</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:45:01
wapt2 CRON[32251]: (root) CMD (command -v debian-sa1
> /dev/null && debian-sa1 1 1)</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Created slice User Slice of root.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Starting User Manager for UID 0...</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Started Session 341 of user root.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Started Session 342 of user root.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Started Session 344 of user root.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on GnuPG
cryptographic agent and passphrase cache
(restricted).</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Reached target Paths.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on GnuPG
cryptographic agent (access for web browsers).</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on GnuPG
cryptographic agent and passphrase cache.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on GnuPG
cryptographic agent (ssh-agent emulation).</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Reached target Timers.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on GnuPG network
certificate management daemon.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Starting D-Bus User Message
Bus Socket.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Listening on D-Bus User
Message Bus Socket.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Reached target Sockets.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Reached target Basic System.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Reached target Default.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[32266]: Startup finished in 16ms.</span></em><br>
<em><span style="font-size: 8pt;">Oct 24 09:47:00
wapt2 systemd[1]: Started User Manager for UID 0.</span></em><br>
</div>
<br>
<div>La commande <span style="font-size: 12pt;"><span style="font-size: 10pt;"><em>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; </em></span>donne
:</span><span style="font-size: 12pt;"></span></div>
<div><span style="font-size: 8pt;"><em>lr-x------ 1 wapt
www-data 64 oct. 22 12:28 /proc/1527/fd/0 ->
/dev/null<br>
lrwx------ 1 wapt www-data 64 oct. 22 12:28
/proc/1527/fd/1 -> socket:[15786]<br>
lr-x------ 1 wapt www-data 64 oct. 22 12:28
/proc/1527/fd/15 -> /dev/urandom<br>
lrwx------ 1 wapt www-data 64 oct. 22 12:28
/proc/1527/fd/2 -> socket:[15786]<br>
lrwx------ 1 wapt www-data 64 oct. 22 12:28
/proc/1527/fd/3 -> anon_inode:[eventpoll]<br>
lr-x------ 1 wapt www-data 64 oct. 22 12:28
/proc/1527/fd/8 -> /dev/urandom</em></span></div>
</div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);">Cordialement,<br>
</div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);"><br>
</div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);"><br>
<div>
<div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="font-family: courier new, courier, monaco, monospace, sans-serif;"><b><span style="color: rgb(51, 51, 51);">Frédéric GARESCHÉ</span><br>
</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Équipe
Assistance et Exploitation<br>
</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Direction du
Système d'Information (D.S.I)</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Correspondant
Département EII et laboratoire IETR<br>
</b>Tél. : +33 (0)2 23 2<strong>3 82 81</strong></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;">
<div><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">20 avenue des Buttes de
Coësmes</span><br>
<span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">CS 70839 - 35 708 RENNES
Cedex 7</span></div>
</div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128);"></span><br>
</div>
<a href="https://www.insa-rennes.fr" target="_blank"><img alt="" data-mce-src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg" style="" src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg" saveddisplaymode=""></a><br>
</div>
</div>
<br>
<hr id="zwchr">
<div><b>De: </b>"Frederic Garesche"
<a class="moz-txt-link-rfc2396E" href="mailto:frederic.garesche@insa-rennes.fr" target="_blank"><frederic.garesche@insa-rennes.fr></a><br>
<b>À: </b>"Hubert TOUVET" <a class="moz-txt-link-rfc2396E" href="mailto:htouvet@tranquil.it" target="_blank"><htouvet@tranquil.it></a><br>
<b>Cc: </b>"wapt" <a class="moz-txt-link-rfc2396E" href="mailto:wapt@lists.tranquil.it" target="_blank"><wapt@lists.tranquil.it></a><br>
<b>Envoyé: </b>Mardi 22 Octobre 2019 15:53:08<br>
<b>Objet: </b>Re: [Wapt] Arrêt aléatoire du serveur
wapt<br>
</div>
<br>
<div>
<div>
<div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13pt; color: rgb(0, 0, 0);">
<div>Ok, la commande fonctionne. <br>
</div>
<div><span style="font-size: 12pt;"><em>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;</em></span><br>
<span style="font-size: 10pt;"><em>lr-x------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/0 -> /dev/null</em></span><br>
<span style="font-size: 10pt;"><em>lrwx------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/1 -> socket:[15786]</em></span><br>
<span style="font-size: 10pt;"><em>lr-x------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/15 -> /dev/urandom</em></span><br>
<span style="font-size: 10pt;"><em>lrwx------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/2 -> socket:[15786]</em></span><br>
<span style="font-size: 10pt;"><em>lrwx------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/3 -> anon_inode:[eventpoll]</em></span><br>
<span style="font-size: 10pt;"><em>lr-x------ 1
wapt www-data 64 oct. 22 12:28
/proc/1527/fd/8 -> /dev/urandom</em></span><br>
</div>
<br>
<div>Je n'ai plus qu'à attendre une panne...<br>
</div>
<br>
<div>
<div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="font-family: courier new, courier, monaco, monospace, sans-serif;"><b><span style="color: rgb(51, 51, 51);">Frédéric
GARESCHÉ</span><br>
</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Équipe Assistance et
Exploitation<br>
</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Direction du Système
d'Information (D.S.I)</b></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;"><b>Correspondant Département
EII et laboratoire IETR<br>
</b>Tél. : +33 (0)2 23 2<strong>3 82 81</strong></span></div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;">
<div><span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">20 avenue des
Buttes de Coësmes</span><br>
<span style="color: rgb(128, 128, 128); font-family: courier new, courier, monaco, monospace, sans-serif;">CS 70839 - 35 708
RENNES Cedex 7</span></div>
</div>
<div style="color: rgb(94, 94, 93); font-size: 13px; font-family: arial;"><span style="color: rgb(128, 128, 128);"></span><br>
</div>
<a href="https://www.insa-rennes.fr" target="_blank"><img alt="" data-mce-src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg" style="" src="http://ressources.insa-rennes.fr/images/logos/logo-INSARennes_mail.jpg" saveddisplaymode=""></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div><br></div></div></body></html>