Subject: inetd losing sockets
To: None <port-acorn32@NetBSD.org>
From: Neil Walker <netbsd@wynded.co.uk>
List: port-acorn32
Date: 10/30/2005 13:09:45
Hi,

I've got a StrongARM RiscPC running NetBSD 2.0, which hosts my subversion
server. Mostly it's fine. However, if I perform a rapid series of
operations from a remote client, the inetd socket seems to get closed. My
script gets part-way through its sequence when I start getting errors:
   svn: Can't connect to host 'ServerName': Connection refused
netstat -an on the NetBSD box then shows that nothing is listening on the
subversion port (3690) any more. If I do
   $ /etc/rc.d/inetd restart
things start working again

The inetd config line for svn is taken straight from the svn book:
   192.168.3.1:svn stream tcp nowait svn
              /usr/pkg/bin/svnserve   svnserve -i -r /usr/svn
(Obviously, that's on a single line in /etc/inetd.conf)

Any ideas?

Thanks in advance

Neil