Daniel-Constantin Mierla writes:
If it happens periodically, maybe you can track why: try to identify apps accessing the database for back up, cdr generation, etc ... as well as infrastructure maintenance operations (vm backup snapshot).
DB access works fine from K worker processes during the time when insert is stuck in timer process.
-- Juha