From owner-freebsd-questions Wed Jul 31 06:45:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA29373 for questions-outgoing; Wed, 31 Jul 1996 06:45:53 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA29363 for ; Wed, 31 Jul 1996 06:45:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id GAA01383; Wed, 31 Jul 1996 06:45:16 -0700 (PDT) Message-Id: <199607311345.GAA01383@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Branson Matheson cc: Juri Tsibrovski , questions@FreeBSD.ORG Subject: Re: Considering FreeBSD In-reply-to: Your message of "Wed, 31 Jul 1996 08:44:31 EDT." <199607311244.IAA24980@garion.hq.ferg.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 31 Jul 1996 06:45:16 -0700 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >-------- > >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