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: Cary Millsap <cary.millsap_at_hotsos.com>
Date: Wed, 25 Sep 2002 19:48:42 -0800
Message-ID: <F001.004D9930.20020925194842@fatcity.com>


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 commercially...

Cary Millsap
Hotsos Enterprises, Ltd.
http://www.hotsos.com

Upcoming events:
- Hotsos Clinic, Oct 1-3 San Francisco, Oct 15-17 Dallas, Dec 9-11 Honolulu
- 2003 Hotsos Symposium on OracleR System Performance, Feb 9-12 Dallas - Jonathan Lewis' Optimising Oracle, Nov 19-21 Dallas

-----Original Message-----
Jared.Still_at_radisys.com
Sent: Wednesday, September 25, 2002 6:08 PM To: Multiple recipients of list ORACLE-L

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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Cary Millsap
  INET: cary.millsap_at_hotsos.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 - 22:48:42 CDT

Original text of this message

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