inetd losing sockets

Neil Walker <[email protected]> Sun, 30 Oct 2005 11:57:49 +0000 (GMT)
Newsgroups gmane.os.netbsd.ports.acorn32
Message-ID <[email protected]>
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