Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Nov 1998 07:17:11 -0800
From:      David Greenman <dg@root.com>
To:        Eivind Eklund <eivind@yes.no>
Cc:        John Fieber <jfieber@indiana.edu>, current@FreeBSD.ORG
Subject:   Re: The infamous dying daemons bug 
Message-ID:  <199811081517.HAA03267@root.com>
In-Reply-To: Your message of "Sun, 08 Nov 1998 16:09:34 %2B0100." <19981108160934.30826@follo.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>On Sun, Nov 08, 1998 at 09:22:50AM -0500, John Fieber wrote:
>> One question: Is the problem "sticky"?  By that I mean, if it is
>> triggered by a memomry shortage, is something in the kernel
>> corrupted that tends to kill/corrupt daemons from that point in
>> time on, or is it just something that affects isolated processes.
>
>All daemons running at that point seems to get something corrupted.
>If you restart the daemon, it won't happen again until you again run
>out of memory (or whatever it is that trigger the corruption).

   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.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

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?199811081517.HAA03267>