Forum: Ruby script hanging with looping SIGVTALRM calls

Posted by Saku Ytti (Guest)
on 2012-06-27 09:42
(Received via mailing list)
I have script which I run three times a day, it does heavily threaded
SNMP polls and populates SQL table.

I've ran it couple years now, and twice it has hanged and had to be
'kill -9' to recover, 'kill -1' did not recover. And I can't figure
out why it is hanging. When I truss the PID I get:

SIGNAL 26 (SIGVTALRM)
sigreturn(0xbfbfe6b0,0x1a,0x0,0xbfbfe6b0,0x0,0x280a78b0) = 1 (0x1)

In a loop, and very very rarely I see:

SIGNAL 26 (SIGVTALRM)
sigreturn(0xbfbfe6b0,0x1a,0x0,0xbfbfe6b0,0x0,0x280a78b0) ERR#1
'Operation not permitted'

I can provide script, if it'll help determine the problem. But I'd
rather provide it unicasted, if it isn't too much trouble.

Thanks,
Posted by Saku Ytti (Guest)
on 2012-09-26 10:40
(Received via mailing list)
I'm bumping this, as this occurred again for the 3rd time and I really
don't have clue how to move forward in solving this issue.

Any help would be appreciated.

Thanks,
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.