Subject: Re: Unix Domain Socket question
To: Smita <smita@cse.ucsc.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 06/25/2003 21:49:55
On Tue, Jun 24, 2003 at 05:20:26PM -0700, Smita wrote:
> Hi,
> I am running a couple of client-servers using Unix Doamin Sockets. Things
> look fine. But, after a couple of "hours" the clients get connect failed
> errors (errno = ECONNREFUSED).
> I was wondering what might cause this?
> Is my server running out of fds?
> Is there a way to figure out the max_fd limit for each socket?
Try
sysctl proc.<pid_of_the_server>
to see the limits of the server (especially number of descriptors)
and fstat to see the descriptors currently in use.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--