Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 1998 18:20:19 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Archie Cobbs <archie@whistle.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: The infamous dying daemons bug 
Message-ID:  <21869.910632019@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 09 Nov 1998 09:10:09 PST." <199811091710.JAA01978@bubba.whistle.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

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



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