[clug] nice.... but for memory?
Martin Pool
mbp at samba.org
Wed Jan 21 06:34:16 GMT 2004
On 21 Jan 2004, Peter Barker <pbarker at barker.dropbear.id.au> wrote:
> On Wed, 21 Jan 2004, Andrew wrote:
>
> > Is it possible to limit the amount of memory a program (and its
> > child processes) are allowed to use? (is there a wrapper that can be used?)
>
> ulimit will allow you set various process limits.
>
> But note that this is not very similar to "nice"; if something hits the
> limit, it is almost certainly toast, rather than just being
> slowed-down.
ulimit is applied per-process, not for a whole group.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20040121/8f28e452/attachment.bin
More information about the linux
mailing list