From owner-freebsd-questions Tue Nov 30 8:51:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from thelab.hub.org (nat196.191.mpoweredpc.net [142.177.196.191]) by hub.freebsd.org (Postfix) with ESMTP id C784315960 for ; Tue, 30 Nov 1999 08:51:35 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.1) with ESMTP id MAA82287; Tue, 30 Nov 1999 12:51:15 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Tue, 30 Nov 1999 12:51:14 -0400 (AST) From: The Hermit Hacker To: Per Hedeland Cc: dante-misc@inet.no, anders@fix.no, freebsd-questions@freebsd.org Subject: Re: iotimeout value in sockd.conf ... In-Reply-To: <199911301555.QAA05356@super.du.uab.ericsson.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 30 Nov 1999, Per Hedeland wrote: > >'anders@fix.no' just created a FreeBSD port of this, so I'm CC'ng him in > >on this email, to see if if can back me up, or if this is specific to just > >me. I've also CC'd freebsd-questions on this, in the hopes that there are > >*at least* a few FreeBSD users out there using Dante and who can check > >their setups... > > The I/O timeout works perfectly for me on FreeBSD 3.2-RELEASE (I > frequently get my own idle sessions diconnected by it:-). Problem possibly introduced since 3.2-RELEASE? I'm running 3.3-STABLE right now, as of about Nov 2nd...haven't had a chance to upgrade it recently, but, from cvs logs, I can't see any changes to select() since...if select() hasn't changed, is there anything else that could be affecting this that may have changed? I'm more then willing to throw debug code into the server and restart it, if it can help narrow down the problem...just need an idea of what/where... > Sorry, don't have any suggestions for that - I suppose you've verified > that these long-running processes aren't leftovers from an earlier sockd > invocation that didn't have iotimeout set? Definitely...I make sure I kill off all processes when restarting... > One process handles multiple connections, it has to notice one of them > being idle even if the others have traffic (i.e. they cause select() to > return before the timeout). Okay, makes sense ... Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message