Real time module sometimes gracefully exits
Enricher sometimes exits gracerully without error. Related log message is:
2019-03-26 08:05:45,826 mentat-inspector.py [53163] INFO: Daemon processing termination forced by empty queue, will not wait for time scheduled events.
Maybe flawed one-shot handling?
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Pavel Kácha assigned to @Jan_Mach · Imported
assigned to @Jan_Mach
By Pavel Kácha on 2024-12-26T14:06:42
- Pavel Kácha added C-Dev-Core Done 0% P4 S-New T-Bug labels · Imported
added C-Dev-Core Done 0% P4 S-New T-Bug labels
- Pavel Kácha changed milestone to %2.6 · Imported
changed milestone to %2.6
- Author Owner
Happened again in mentat-inspector-b.py on mentat-hub. Related log excerpt:
2019-07-22 18:13:23,839 mentat-inspector-b.py [45553] INFO: Waiting for '2' seconds until next scheduled event 2019-07-22 18:13:25,840 mentat-inspector-b.py [45553] INFO: Received wakeup signal (14) 2019-07-22 18:13:25,962 mentat-inspector-b.py [45553] INFO: Component 'filer': Scheduling next queue check after '3' seconds 2019-07-22 18:13:25,962 mentat-inspector-b.py [45553] INFO: Waiting for '1' seconds until next scheduled event 2019-07-22 18:13:26,962 mentat-inspector-b.py [45553] INFO: Received wakeup signal (14) 2019-07-22 18:13:26,962 mentat-inspector-b.py [45553] INFO: Waiting for '2' seconds until next scheduled event 2019-07-22 18:13:28,962 mentat-inspector-b.py [45553] INFO: Received wakeup signal (14) 2019-07-22 18:13:28,963 mentat-inspector-b.py [45553] INFO: Component 'filer': Scheduling next queue check after '3' seconds 2019-07-22 18:13:28,963 mentat-inspector-b.py [45553] INFO: Waiting for '1' seconds until next scheduled event 2019-07-22 18:13:29,963 mentat-inspector-b.py [45553] INFO: Received wakeup signal (14) 2019-07-22 18:13:29,963 mentat-inspector-b.py [45553] INFO: Daemon processing termination forced by empty queue, will not wait for time scheduled events. 2019-07-22 18:13:29,964 mentat-inspector-b.py [45553] INFO: Application runtime: '11 days, 9:20:32.580250' (effectivity 100.00 %)
By Pavel Kácha on 2019-07-23T08:42:46
- Pavel Kácha changed title from Enricher sometimes gracefully exits to Inspector sometimes gracefully exits · Imported
changed title from Enricher sometimes gracefully exits to Inspector sometimes gracefully exits
By Pavel Kácha on 2024-12-26T14:19:03
- Author Owner
Now observed on enricher (luckily we have more instances):
2019-07-25 02:50:24,016 mentat-enricher.py [45532] INFO: Daemon processing termination forced by empty queue, will not wait for time schedule d events.
By Pavel Kácha on 2019-07-25T09:15:33
- Pavel Kácha changed title from Inspector sometimes gracefully exits to Real time module sometimes gracefully exits · Imported
changed title from Inspector sometimes gracefully exits to Real time module sometimes gracefully exits
By Pavel Kácha on 2024-12-26T14:19:03
- Author Owner
When two scheduled events is planed close to each other and one should have started during progress of the other, the method
wait
onEventQueueManager
returns negative number (return self.events_at[0][0] - time.time()
). It was tested against zero, better is testing explicitly size of the queue (methodcount
).https://github.com/honzamach/pyzenkit/pull/1
By Jan Žerdík on 2019-08-29T09:01:20
- Pavel Kácha assigned to @jan_zerdik and unassigned @Jan_Mach · Imported
assigned to @jan_zerdik and unassigned @Jan_Mach
By Jan Žerdík on 2024-12-26T14:19:04
- Pavel Kácha added Done 100% S-Resolved labels and removed Done 0% S-New labels · Imported
added Done 100% S-Resolved labels and removed Done 0% S-New labels
- Pavel Kácha changed milestone to %2.5 · Imported
changed milestone to %2.5
- Author Owner
Cool, thanks!
By Pavel Kácha on 2019-08-29T11:45:47
- Pavel Kácha added S-Closed label and removed S-Resolved label · Imported
added S-Closed label and removed S-Resolved label
- Pavel Kácha closed · Imported
closed
- Author Owner
Deployed to mentat-alt.
By Jan Mach on 2019-08-29T12:42:06