Re: Simulating network hang

From: Jared Still <>
Date: Tue, 18 Nov 2008 14:17:57 -0800
Message-ID: <>

So it appears there is a buffet of methods for doing this. :)

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

On Tue, Nov 18, 2008 at 1:43 PM, Elliott, Patrick <> wrote:

> You could configure the /etc/inetd.conf and /etc/services file to run a
> script that sleeps for an hour also on the port that you want to time out.
> Pat
> ------------------------------
> *From:* [mailto:
>] *On Behalf Of *Jared Still
> *Sent:* Tuesday, November 18, 2008 2:32 PM
> *To:*
> *Cc:*
> *Subject:* Re: Simulating network hang
> On Tue, Nov 18, 2008 at 10:52 AM, Chen Shapira <> wrote:
>> Hi Oracle-L,
>> I'm trying to simulate a situation (for testing) where any attempt to
>> make tcp connection to a machine hangs.
>> For example, connections using ssh or sqlplus hangs. No error message
>> (as seen when ssh server or listenere are down), just no reply.
>> Any advice on how to create this state on purpose?
>> The OS is Linux RH3 and RH4.
> Temporarily add an entry to the hosts file on your test client,
> misdirecting
> to a non-existent IP address.
> This may or may not work, depending on where your client first looks
> to resolve IP addresses. Generally the hosts file comes first.
> Jared
> [CONFIDENTIALITY AND PRIVACY NOTICE] Information transmitted by this email
> is proprietary to Medtronic and is intended for use only by the individual
> or entity to which it is addressed, and may contain information that is
> private, privileged, confidential or exempt from disclosure under applicable
> law. If you are not the intended recipient or it appears that this mail has
> been forwarded to you without proper authority, you are notified that any
> use or dissemination of this information in any manner is strictly
> prohibited. In such cases, please delete this mail from your records. To
> view this notice in other languages you can either select the following link
> or manually copy and paste the link into the address bar of a web browser:

Received on Tue Nov 18 2008 - 16:17:57 CST

Original text of this message