|Subject:||unusable on linux|
Proc::ProcessTable is totally unusable on Linux (even not speaking about other tickets in RT queue about this). I have a daemon which regularly (once per several seconds) makes Proc::ProcessTable->new()->table call. After running for some tens of hours (10-30) daemon can no longer get sockets with socketpair() call (fcntl call fails with "Bad file descriptor") and then my process disappears from running processes (with nothing useful in dmesg and syslog). To work around I've created a function which populates process table from /proc -- if you need this code, drop me a message, I will post it.