bartongroup / slivka

http://bartongroup.github.io/slivka/
Apache License 2.0
7 stars 3 forks source link

File system issues cause logging library exception and scheduler crash. #124

Open warownia1 opened 1 year ago

warownia1 commented 1 year ago

File system failure causes the RotatingFileHandler from the logging library to fail with OSError [Errno 9] when attempting to seek or write to a file. The exception happens internally inside the library but it might be possible to add external safeguards which will protect the scheduler process from crashing.

warownia1 commented 3 months ago

ZMQQueueListener, which passes log records to the RotatingFileHandler, runs on a separate thread and should not cause main thread crashes. However, we can't let it fail in the background and cause the input queues to block.