Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Signal to a sleeping Perl program

by Anonymous Monk
on Jan 20, 2020 at 15:43 UTC ( #11111635=note: print w/replies, xml ) Need Help??

in reply to Signal to a sleeping Perl program

I've got the signal handler operational, but I'm still a little puzzled by what was going on...only discovered by dropping deep into the debugger! What I thought was the process hitting the sleep was actually the process disappearing into an Oracle DBI call and not coming out as there was a format conversion error in the SQL . DBI didn't return an error - it just hung and was uninterruptible, and I'm now guessing that the Oracle DBD module was resetting the signal handlers so my signals were ignored. Either way, correcting the SQL has resulted in a process that not only runs and produces required outcome but stops when asked!

Replies are listed 'Best First'.
Re^2: Signal to a sleeping Perl program ( SOLVED )
by LanX (Cardinal) on Jan 20, 2020 at 16:22 UTC
    So it's solved! Thanks for the info!

    The thread is long, this info might get overlooked.

    It would have been nice tho if the OP used a SSCCE from the start and responded quicker.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice


    redacted snarky remark.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11111635]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-03-01 22:40 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (27 votes). Check out past polls.