Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 1996 06:45:16 -0700
From:      David Greenman <dg@root.com>
To:        Branson Matheson <branson@widomaker.com>
Cc:        Juri Tsibrovski <jt@sw.ru>, questions@FreeBSD.ORG
Subject:   Re: Considering FreeBSD 
Message-ID:  <199607311345.GAA01383@root.com>
In-Reply-To: Your message of "Wed, 31 Jul 1996 08:44:31 EDT." <199607311244.IAA24980@garion.hq.ferg.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>--------
>
>Juri Tsibrovski uttered with conviction:
>>At 00:06 29.07.96 -0700, David Greenman wrote:
>>>>On Fri, 26 Jul 1996, Paul J. Mech wrote:
>>>>
>>>>> 0) When Linux runs out of virtual memory, it crashes.  What is FreeBSD's
>>>>> behavior under these conditions?
>>>>
>>>>FreeBSD will start killing processes until the memory problem is resolved.
>>>>This usually means the program that is trying to start, and working
>>>>backward.  Occaisionally the VM system gets too busy and kills init, but
>>>>that is very rare.
>>>
>>>   FreeBSD will never kill init or any process whose process id is less than
>>>48. In the extremely unlikely event that the process consuming all the memory
>>>has a pid less than 48, the system will hang. This is extremely unlikely
>>>because when the pids wrap at 32767, then wrap back to 100, so usually only
>>>processes that were started at system startup time will have pids < 100.
>
> Just FYI.. the wraparound for FreeBSD is 30000 and is defined by
> PID_MAX in /sys/sys/proc.h. 

   Oh, yes, you're right about that. My brain tends to round things to powers
of two (or one less as in this case). :-)

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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