Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 1998 23:17:00 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        dg@root.com
Cc:        Eivind Eklund <eivind@yes.no>, John Fieber <jfieber@indiana.edu>, current@FreeBSD.ORG
Subject:   Re: The infamous dying daemons bug 
Message-ID:  <199811090417.XAA13563@khavrinen.lcs.mit.edu>
In-Reply-To: <199811081517.HAA03267@root.com>
References:  <19981108160934.30826@follo.net> <199811081517.HAA03267@root.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 08 Nov 1998 07:17:11 -0800, David Greenman <dg@root.com> said:

>    brk(2) will fail and return ENOMEM if the system is low on swap space. If
> the application (phk malloc or the caller of malloc?) isn't prepared for this,
> it may end up with a NULL pointer that it doesn't expect - perhaps not even
> tripping over it until sometime later.

Totally unrelated to the problem.  It seems, so far as I was able to
characterize, to happen to daemons which are *swapped out* at the time
of the memory shortage.  If it's active enough to still be in core, it
doesn't get spammed.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick

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?199811090417.XAA13563>