From owner-freebsd-current Mon Nov 9 09:21:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25986 for freebsd-current-outgoing; Mon, 9 Nov 1998 09:21:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25980 for ; Mon, 9 Nov 1998 09:21:32 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id SAA21871; Mon, 9 Nov 1998 18:20:20 +0100 (CET) To: Archie Cobbs cc: current@FreeBSD.ORG Subject: Re: The infamous dying daemons bug In-reply-to: Your message of "Mon, 09 Nov 1998 09:10:09 PST." <199811091710.JAA01978@bubba.whistle.com> Date: Mon, 09 Nov 1998 18:20:19 +0100 Message-ID: <21869.910632019@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is not a feasible path. And those options doesn't disable mmap(2) anyway. phkmalloc(3) uses mmap(2) for it's page table. A static inetd sounds like a good experiment. Poul-Henning >Vague observations.. > > - samba, inetd, sendmail all do a lot of forking (which > may be nothing other than a common need for more memory) > > - samba uses memory mapping to implement file locking > >I'd like to try to confirm/deny that memory mapping is one >required ingredient of the recipie. The only other known >ingredient seems to be running out of swap. > >Could someone who is seeing this happen often recompile their >kernel with memory mapping disabled, and see if that changes >anything (other than making programs that use mmap() stop working)? >Ie, comment out > > options SYSVSHM > options SYSVSEM > options SYSVMSG > >(this *does* disable mmap(), right? If not, instead patch the >mmap() syscall to always return an error) > >-Archie > >___________________________________________________________________________ >Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message