Script hanging with looping SIGVTALRM calls

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,

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,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs