Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 10:33:54 -0400 (EDT)
From:      Thomas David Rivers <rivers@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?))
Message-ID:  <199710061433.KAA06943@lakes.dignus.com>

next in thread | raw e-mail | index | archive | help
> 
> 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 -



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