Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to reproduce a hanging connect attempt

RE: How to reproduce a hanging connect attempt

From: <Jared.Still_at_radisys.com>
Date: Wed, 25 Sep 2002 15:08:20 -0800
Message-ID: <F001.004D9695.20020925150820@fatcity.com>


Unfortunately, this is one of those things that *doesn't* work on Windoze, no support in the kernel.

Jared

"Bob Metelsky" <bmetelsky_at_cps92.com>
Sent by: root_at_fatcity.com
 09/25/2002 01:48 PM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        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 0;
>
> unless ($dbh) {
> print "db $db is down";
> }

>

Humm do you know what the alarm function on windows 2000 pro is??

Im gettting
The Unsupported function alarm function is unimplemented at C:\evaldb.pl line 11. It looks like alarm is a perl function

I can see the doc from

Perldoc -f alarm

Nevertheless I get the unsupported function

Line 11 is alarm 0;

??

Thanks
rob

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bob Metelsky
  INET: bmetelsky_at_cps92.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Sep 25 2002 - 18:08:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US