Tâche #16300
Scénario #16215: Traitement express (22-24)
arv plante réguliérement sur Sphynx 2.4.2 et 2.5.2
Description
Sur nos Sphynx 2.4.2 et 2.5.2 nous sommes obligé de relancer arv pour pouvoir nous connecter à l'interface web ARV assez régulièrement.
Associated revisions
Script init ARV : traitement du cas du problème de l'arrêt su service
ref #16300 @15m
History
#1 Updated by Daniel Dehennin over 7 years ago
- Assigned To set to Daniel Dehennin
Auriez-vous des informations complémentaires afin d’avoir des pistes à explorer ?
#2 Updated by Olivier FEBWIN over 7 years ago
2016/06/06 06:25:14 [-] Received SIGTERM, shutting down.
2016/06/06 06:25:14 [-] (TLS Port 8088 Closed)
2016/06/06 06:25:14 [-] Stopping factory <twisted.web.server.Site instance at 0x7fdcefde6638>
2016/06/06 06:25:14 [-] Main loop terminated.
2016/06/06 06:25:14 [-] Server Shut Down.
#3 Updated by Fabrice Barconnière over 7 years ago
- Tracker changed from Demande to Tâche
- Assigned To changed from Daniel Dehennin to Fabrice Barconnière
- Estimated time set to 1.00 h
- Parent task set to #16215
- Remaining (hours) set to 1.0
#4 Updated by Fabrice Barconnière over 7 years ago
- Status changed from Nouveau to En cours
#5 Updated by Fabrice Barconnière over 7 years ago
- Subject changed from arv plante réguliérement to arv plante réguliérement sur Sphynx 2.4.2 et 2.5.2
- Estimated time changed from 1.00 h to 2.00 h
Le phénomène se produit au moment du stop dans la fonction do_wait().
En plus il est bien indiqué dans le code que ça peut se produire :
if [ -f "${PIDFILE}" ]; then # On stop, the pid file can disappear after the test but # before reaching thing line pid=$(cat "${PIDFILE}" 2> /dev/null)
Il faut traiter le cas où le fichier disparaît.
#6 Updated by Fabrice Barconnière over 7 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 1.0 to 0.1
Avant le correctif, une fois sur 2 ou 3, /etc/init.d/arv restart tombe en erreur.
#7 Updated by Scrum Master over 7 years ago
- Status changed from En cours to Résolu
#8 Updated by Lionel Morin over 7 years ago
- Remaining (hours) changed from 0.1 to 2.0
#9 Updated by Lionel Morin over 7 years ago
Testé sur un Sphynx 2.5.2 et 2.4.2.1, lancement de nombreuses commandes /etc/init.d/arv restart
sans aucune erreur => OK
#10 Updated by Lionel Morin over 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 2.0 to 0.0