RE: Simulating network hang

From: Elliott, Patrick <patrick.elliott_at_medtronic.com>
Date: Tue, 18 Nov 2008 15:43:35 -0600
Message-ID: <3B8B6A1700202C43A89D61CE495C894E0F5881DFE8@MSPM1BMSGM103.ent.core.medtronic.com>


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: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jared Still Sent: Tuesday, November 18, 2008 2:32 PM To: cshapi_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: Re: Simulating network hang

On Tue, Nov 18, 2008 at 10:52 AM, Chen Shapira <cshapi_at_gmail.com<mailto:cshapi_at_gmail.com>> 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: http://emaildisclaimer.medtronic.com

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Nov 18 2008 - 15:43:35 CST

Original text of this message