Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2000 14:57:52 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        arch@FreeBSD.ORG
Subject:   Re: The shared /bin and /sbin bikeshed 
Message-ID:  <200011092257.eA9Mvq903776@mass.osd.bsdi.com>
In-Reply-To: Your message of "Thu, 09 Nov 2000 14:47:47 PST." <20001109144747.E5112@fw.wintelcom.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > root on a Linux box is unable to do squat when the machine is almost
> > > out of memory because he can't map in /lib/libc.so to run 'ps' or
> > > even another copy of bash.
> > 
> > Um.  And root on a BSD box is equally screwed when there's no memory left 
> > to map in the text segment of 'ps' which just happens to contain another 
> > copy of libc.
> > 
> > The difference being that if libc is shared, it's already mapped in for 
> > the hundreds of other programs using it, so you're *better* off, not 
> > worse.
> 
> The real difference here is that I've seen several instances of a
> Linux box unable to cope with this situation and a FreeBSD box
> cope.  Linux locked up and FreeBSD 'gracefully' shot a process dead
> and free'd up some memory.
> 
> What "should" happen versus what _did_ happen doesn't make what
> did happen untrue.

No, but it does mean that what "did" happen for you on a Linux system is 
unlikely to be representative of what will happen under similar 
circumstances on a FreeBSD system, and thus your use of it as an argument 
against doing this is entirely invalid.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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




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