I've tried to fix this situation by writing watch dog process that recreate died child processes.
But there is one problem. When i get exception "Exception MemoryError: MemoryError() in 'lxml.etree._BaseErrorLog._receive' ignored" i can't handle it and even more it write this exception in error log until there is free space on disk.
How i can handle this error to kill process so the watch daemon can recreate it?
I've tried to fix this situation by writing watch dog process that recreate died child processes. _BaseErrorLog. _receive' ignored" i can't handle it and even more it write this exception in error log until there is free space on disk.
But there is one problem. When i get exception "Exception MemoryError: MemoryError() in 'lxml.etree.
How i can handle this error to kill process so the watch daemon can recreate it?