in reply to DBI messes up sleep

What does a kernel trace via truss/ktrace/strace/tusc/par/etc. show? That ought to confirm ikegami's suspicion of signalry right away.

That suspicion, FWIW, strikes me as probably correct. IIRC, at least some versions of the OCI handled at least SIGINTs themselves, and the Sys::SigAction pod documents one coder's woe in dealing with 5.8's signal behavior vis-a-vis Oracle. Your versions of Perl, DBD::Oracle and the OCI will probably factor in to what's gone awry, as might something subtly wrong with your connection to the Oracle data source.

-pilcrow

Replies are listed 'Best First'.
Re^2: DBI messes up sleep
by perljunky (Sexton) on Sep 15, 2007 at 15:34 UTC
    The perl and the DBI I am using is an older version and he OS it runs on is a Dec Unix box. The sysadmin had been having trouble of late installing modules on the dec boxes. FYI The current version of perl I am using is
    version 5.6.1 built for alpha-dec_osf DBI version:1.2.1
    Thanks for your response. For now I'll workaround with an additional sleep command. And yes this was a snippet of code that I quicky plucked out and forgot to include the localtime call before the second print.