Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 1998 21:47:16 -0500 (EST)
From:      garman@earthling.net
To:        current@FreeBSD.ORG
Subject:   Re: more dying daemons
Message-ID:  <199811190247.SAA25805@hub.freebsd.org>
In-Reply-To: <199811190040.QAA12276@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Nov, I wrote:
> 
> I'm still having the problems I described earlier.
> inetd, samba, and ssh exhibit symptoms where they wither away and die
> after a certain amount of time, and this is easily and rapidly
> reproducible (in the space of only an hour my freshly-started inetd will
> begin to die each time it forks...)
> 
while sitting here trying to find a common thread through all this
mess...

it appears to happen only with servers that fork() copies of themselves
on incoming requests.

inetd does this, samba does this, and sshd does this.  consequently,
inetd dies, samba dies, and sshd dies :)

however, servers that *don't* fork off a new connection on incoming
requests don't die.

a good example is mysql.  i've never had a problem with it dying, even
though it gets swapped out much more often than the other servers (it
is rarely used)... another example is httpd which only has problems
when its heavily used (i'm guessing that it has run out of pre-forked
copies and has to fork off new children)

so, it looks like a problem where parts of a daemon are swapped out and
then when the daemon forks, some of the pages are never paged back in? 
i dunno, a guess at least :)

that should help narrow down the source of the problem dramatically. 
when i get a free moment i'll try going through the commits on various
parts of the vm subsystem and see what i can dig up...

enjoy
-- 
Jason Garman                                      http://garman.dyn.ml.org/
Student, University of Maryland                        garman@earthling.net
And now... did you know that:                                 Whois: JAG145
 "If you fart consistently for 6 years and 9 months, enough gas is
  produced to create the energy of an atomic bomb." -- 0xdeadbeef posting


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811190247.SAA25805>