wrote:
> The script contains also the following information, i cannot see why
> the timeout would not be used when specified,
Heck, and I can't even see why that code would even compile, much less
why you would expect it to time anything out.
> some database connections
> just hang and do not timeout as they should per script.
>
> sub ConnectTimeOut {
> # ================================================== ==============
> my ($p_host, $p_db, $p_ars, $p_sev, $p_erg)=@_;
> my @l_errstr = grep $DBI::errstr =~ m/$_/, keys
> %G_IGNORE_ORACLE_ERRORS;
> $l_msg = "$p_db Timeout $G_CONF{TIMEOUT_DB_CONNECT} sec
> occurred conn
> ecting $p_db";
> &Logging (0, $A, "timeout", $l_msg);
Where is the die statement? Where is the closing bracket?
Xho
--
--------------------
http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB