Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

    UPDATED

    redacted snarky remark.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-05-13 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (134 votes). Check out past polls.

    Notices?