Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 17:54:30 -0400 (EDT)
From:      Mikhail Teterin <mi@video-collage.com>
To:        current@FreeBSD.ORG
Subject:   Re: sysctl from Linux (*envy*)
Message-ID:  <199804242154.RAA14740@xxx.video-collage.com>
In-Reply-To: <19980424224346.35645@follo.net> from Eivind Eklund at "Apr 24, 98 10:43:46 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Eivind Eklund once stated:

=overcommit_memory:
=
=This file contains only one value.

I prefer the value of /etc/malloc.conf link and the corresponding
environment variables.

=This is a useful feature, since programs often malloc() huge amounts of
=memory 'just in case', while they only use a small part of it.

Are not this programs broken? Never ending discussion will follow...

=Leaving this value at 0 will lead to the failure of such a huge
=malloc(), when in fact the system has enough memory for the program to
=run... On the other hand, enabling this feature can cause you to run
=out of memory and thrash the system to death, so large and/or important
=servers will want to set this value to 0.

=This supposedly also handles things like fork() etc. Linux shouldn't
=have any server-directed features FreeBSD doesn't!

This is true!

	-mi

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?199804242154.RAA14740>