On Thu, 15 Apr 2004, Garth Webb wrote:
On Thu, 2004-04-15 at 13:22, mayuran wrote:
a while and i eventually had to kill -9 it. what im
wondering is, is there some sort of timeout value i
can play with? what i would like to do is set a timeout,
and if the timeout is reached at any point then DBI
should issue some sort of error msg that i can then
parse inside the $Dbh->ErrorHandler sub. I know there
is a timeout value for connecting to a db but that
doesnt help me in this case.
You could set an alarm (from 'perldoc -f alarm'):
I wonder if a SIGALRM would help if it takes a SIGKILL to term the
process.
Rudy