Andrei Pelinescu-Onciul wrote:
The lock/unlock parts seem ok (I couldn't find any obvious deadlock candidates). Next time it happens could you attach to all the ser processes and get a backtrace from all of them? It would help a lot to find out which process holds the lock. If you can tell which one it is from the backtraces, please keep also a core dump from it (kill -6 pid).
Ok, will be done. Thanks for checking...
Andy