Subject: Re: managing process memory limits on the fly?
To: Carl Brewer <carl@bl.echidna.id.au>
From: Jeff Rizzo <riz@NetBSD.org>
List: netbsd-users
Date: 02/21/2007 17:58:31
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBEE8898206F6A690BDAA8364
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Carl Brewer wrote:
>
> ahha, I've just doubled the soft limit to 256MB, and will see how it
> goes.
> Thankyou.
> Is it possible to do this for a particular account only? I
> have a 'zope' user that I want to be able to use a lot of memory
> and it would be handy if I could let it do that? I assume
> sysctl or limit|ulimit will let me change soft limits as that
> user in a login script or startup script or something?, or is it more
> elegant/correct to do it elsewhere?
You can either do it in your shell configuration (with ulimit), or in
login.conf.
+j
--------------enigBEE8898206F6A690BDAA8364
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRdz4x7OuUtxCgar5AQP+CwP/VYXTUBtgCfh3uPI11DnY31Zo3YIGwZxB
Yd2EoWhnqLmHm8/a+icN9+VkkAWHwvWhBlMDZIDxfUAO3d3PY4TEozeAJAPniMDM
WXZitnOV8n2vumi+XgddZFwA3Kao6hyvNKS3OPuSc5pp1gVNUBHu4hlL5Bo/m6tH
VldRG+NXDPk=
=uUUi
-----END PGP SIGNATURE-----
--------------enigBEE8898206F6A690BDAA8364--