Anomalie #3133
Revoir cron-zephir.sh pour qu'il ne relance pas z_stats pendant un reconfigure et Maj
Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.3
Description
/var/log/zephir/agent.log :
2012/01/30 13:00:00 CET [-] Received SIGTERM, shutting down. 2012/01/30 13:00:00 CET [-] (Port 8090 Closed) 2012/01/30 13:00:00 CET [-] Stopping factory <twisted.web.server.Site instance at 0x9028a6c> 2012/01/30 13:00:00 CET [-] Main loop terminated. 2012/01/30 13:00:00 CET [-] Server Shut Down. 2012/01/30 13:00:11 CET [-] Log opened. 2012/01/30 13:00:11 CET [-] twistd 10.0.0 (/usr/bin/python 2.6.5) starting up. 2012/01/30 13:00:11 CET [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2012/01/30 13:00:11 CET [-] twisted.web.server.Site starting on 8090 2012/01/30 13:00:11 CET [-] Starting factory <twisted.web.server.Site instance at 0x8eaa4ec> 2012/01/30 13:00:11 CET [-] Traceback (most recent call last): 2012/01/30 13:00:11 CET [-] File "/usr/bin/twistd", line 19, in <module> 2012/01/30 13:00:11 CET [-] run() 2012/01/30 13:00:11 CET [-] Fi2012/01/30 13:00:55 CET [-] Received SIGTERM, shutting down. 2012/01/30 13:00:55 CET [-] (Port 8090 Closed) 2012/01/30 13:00:55 CET [-] Stopping factory <twisted.web.server.Site instance at 0xa4564ec> 2012/01/30 13:00:55 CET [-] Main loop terminated. 2012/01/30 13:00:55 CET [-] Server Shut Down. (config) 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp 2012/01/30 13:00:11 CET [-] _SomeApplicationRunner(config).run() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 423, in run 2012/01/30 13:00:11 CET [-] self.postApplication() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/scripts/_twistd_unix.py", line 205, in postApplication 2012/01/30 13:00:11 CET [-] self.startApplication(self.application) 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/scripts/_twistd_unix.py", line 308, in startApplication 2012/01/30 13:00:11 CET [-] service.IService(application).privilegedStartService() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 273, in privilegedStartService 2012/01/30 13:00:11 CET [-] service.privilegedStartService() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 273, in privilegedStartService 2012/01/30 13:00:11 CET [-] service.privilegedStartService() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 85, in privilegedStartService 2012/01/30 13:00:11 CET [-] self._port = self._getPort() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/application/internet.py", line 116, in _getPort 2012/01/30 13:00:11 CET [-] *self.args, **self.kwargs) 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 346, in listenTCP 2012/01/30 13:00:11 CET [-] p.startListening() 2012/01/30 13:00:11 CET [-] File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 866, in startListening 2012/01/30 13:00:11 CET [-] skt.listen(self.backlog) 2012/01/30 13:00:11 CET [-] File "<string>", line 1, in listen 2012/01/30 13:00:11 CET [-] socket.error: [Errno 98] Address already in use
Et pendant ce temps dans /var/log/syslog :
Jan 30 13:00:01 sphynx1 CRON[23620]: (root) CMD ( /usr/share/zephir/scripts/cron-zephir.sh &>/dev/null) Jan 30 13:00:01 sphynx1 CRON[23621]: (root) CMD ( /usr/share/zephir/scripts/cron-zephir.sh &>/dev/null)
cron-zephir.sh relance z_stats au beau milieu du reconfigure, entre le moment où tout est arrêté et où tout se relance.
Associated revisions
fix Rule engine : problem on match criteria for rules id = 10 see #3133
- scripts/cron-zephir.sh : ajout test sur la présence d'un lock
Fixes #3133 @15m
History
#1 Updated by Fabrice Barconnière about 11 years ago
Tester les locks
#2 Updated by Joël Cuissinat almost 11 years ago
- Project changed from creole to zephir-client
- Status changed from Nouveau to Accepté
- Assigned To set to Joël Cuissinat
#3 Updated by Joël Cuissinat almost 11 years ago
- File cron-zephir.sh View added
- Estimated time set to 0.50 h
#4 Updated by Joël Cuissinat almost 11 years ago
- Status changed from Accepté to Résolu
- % Done changed from 0 to 100
Appliqué par commit 7ddddaeb58ec797dbf55500147f92c56d5d4aff3.
#5 Updated by Fabrice Barconnière almost 11 years ago
- Status changed from Résolu to Fermé