RE: How to reproduce a hanging connect attempt

2002-09-26 Thread Bob Metelsky
For more information see $ perldoc perlport Not much more information, mind you, but at least a positive statement that alarm is not implemented on Win32. This document also describes all the other stuff without which I can't believe an operating system can survive

RE: How to reproduce a hanging connect attempt

2002-09-25 Thread Jared . Still
PROTECTED] Sent by: [EMAIL PROTECTED] 09/24/2002 05:23 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: How to reproduce a hanging connect attempt Jared, It is adequate. Below is snip from Steve

RE: How to reproduce a hanging connect attempt

2002-09-25 Thread Bob Metelsky
In Perl: my $dbh = ''; eval { local $SIG{ALRM} = sub { die }; alarm 60; my $dbh = DBI-connect( 'dbi:Oracle:' . $db, 'scott','tiger', ); }; alarm 0; unless ($dbh) { print db $db is down; } Humm do you know

RE: How to reproduce a hanging connect attempt

2002-09-25 Thread Jared . Still
] cc: Subject:RE: How to reproduce a hanging connect attempt In Perl: my $dbh = ''; eval { local $SIG{ALRM} = sub { die }; alarm 60; my $dbh = DBI-connect( 'dbi:Oracle:' . $db, 'scott','tiger', ); }; alarm

RE: How to reproduce a hanging connect attempt

2002-09-25 Thread Cary Millsap
PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: How to reproduce a hanging connect attempt In Perl: my $dbh = ''; eval { local $SIG{ALRM} = sub { die }; alarm 60

RE: How to reproduce a hanging connect attempt

2002-09-24 Thread MacGregor, Ian A.
Have you fooled with the CONNECT_TIMEOUT_LISTENER parameter of listener.ora? Setting it to 0 won't guarantee a connection will hang, but will tell a process to wait forever to connect. Hanging connections were a problem for us with the earlier Oracle 6 releases. My solution was less

RE: How to reproduce a hanging connect attempt

2002-09-24 Thread Jared . Still
script didn't properly allow for hangs. Jared MacGregor, Ian A. [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/24/2002 11:59 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: How to reproduce

RE: How to reproduce a hanging connect attempt

2002-09-24 Thread Alexander . Feinstein
Title: RE: How to reproduce a hanging connect attempt Jared, It is adequate. Below is snip from Steve Adams's script (db_check.sh) and I successfully used similar technique for some time. -- snip rm -f $READY print connect nobody/really host touch $READY exit