[Cialug] ulimit per executable (not process)

Nathan Stien nathanism at gmail.com
Tue Jan 5 10:41:47 CST 2010


On Mon, Jan 4, 2010 at 10:16 PM, Colin Burnett <cmlburnett at gmail.com> wrote:
>
> Is there a way to ulimit all processes for an executable by default?
> Say, ulimit -m 800000 `which firefox` or something.


There's probably a better way, but the first thing that pops into my head is
wrapping your binary with a shell script that calls ulimit.

- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20100105/fea34607/attachment.htm 


More information about the Cialug mailing list