From owner-freebsd-hackers Mon Oct 6 07:28:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA01351 for hackers-outgoing; Mon, 6 Oct 1997 07:28:30 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA01345; Mon, 6 Oct 1997 07:28:22 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from ponds.dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.5/8.8.4) with ESMTP id KAA23969; Mon, 6 Oct 1997 10:28:04 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by ponds.dignus.com (8.8.5/8.8.5) with ESMTP id KAA04548; Mon, 6 Oct 1997 10:44:06 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.5/8.6.9) id KAA06943; Mon, 6 Oct 1997 10:33:54 -0400 (EDT) Date: Mon, 6 Oct 1997 10:33:54 -0400 (EDT) From: Thomas David Rivers Message-Id: <199710061433.KAA06943@lakes.dignus.com> To: freebsd-bugs@FreeBSD.ORG, hackers@FreeBSD.ORG, roberto@keltia.freenix.fr Subject: Re: Electric Fence info (was Re: Bug in malloc/free (was: Memory leak in getservbyXXX?)) Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > According to Thomas David Rivers: > > Ok - there seems to be enough interest... Here's the man page > > for electric fence (which does the mprotect() trick Jordan mentions): > > The main problem of EFence is the amount of swap it takes... I tried to run > Mutt through it a few months ago and ran out of swap _before_ displaying > anything. > -- > Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr > FreeBSD keltia.freenix.fr 3.0-CURRENT #35: Sun Sep 21 19:28:07 CEST 1997 > Yes - it does require a lot of swap... in most cases, it places every malloc allocation on it's own page (so it can correctly set the bits...) This is where vnconfig, etc... come in handy. When necessary, I've simply vnconfig'd a device pointing to a file in /tmp and added swap that way. - Dave Rivers -