Subject: Network Hang condition
To: None <netbsd-help@NetBSD.ORG>
From: Erik Berls <cyber@ecst.csuchico.edu>
List: current-users
Date: 10/13/1995 11:45:44
Ive noticed a small problem on the hp300 port, both in 1.0 and -current
as of the Sept 3 shapshot:

lestat# uname -a
NetBSD lestat 1.0A NetBSD 1.0A (GENERIC) #7: Sun Sep  3 01:53:23 PDT 1995     
thorpej@basalt:/work/netbsd/src/sys/arch/hp300/compile/GENERIC hp300

Repeated tcp (havent tested udp) connections in succession from a HP-UX 
9.05 will cause a hang after a few successive connection, and eventually 
time out.
The following script is what ive used to test the situation.  It works 
fine from SunOS 4.1.3, IRIX 5.2?, and NetBSD. 

#! /usr/bin/perl
$foo = 10;

while ( $foo > 0 ) {
	system 'rsh lestat w';
	$foo--;
}

Output from an HP:
[corpse]{0.79}:~:52>perl foo.pl
Permission denied.
rcmd: connect: lestat.ecst.csuchico.edu: Connection timed out
Permission denied.
Permission denied.
Permission denied.
Permission denied.
rcmd: connect: lestat.ecst.csuchico.edu: Connection timed out
Permission denied.
Permission denied.
Permission denied.

[corpse]{0.79}:~:53>

We have two NetBSD boxes that are currently running 1.0 that we need
to get this fixed on.  If I missed something simple, its because I've
been having one of those weeks.

-=erik.

-- 
Hack the Media.