Re: Simulating network hang
From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 18 Nov 2008 12:32:16 -0800
Message-ID: <bf46380811181232u4e45bb8btadbc3fcc0d6b36f1@mail.gmail.com>
Date: Tue, 18 Nov 2008 12:32:16 -0800
Message-ID: <bf46380811181232u4e45bb8btadbc3fcc0d6b36f1@mail.gmail.com>
On Tue, Nov 18, 2008 at 10:52 AM, Chen Shapira <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
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Nov 18 2008 - 14:32:16 CST