Setting Memory Limit
Robert Brockway
rbrockway-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
Wed Jul 19 16:48:47 UTC 2006
On Wed, 19 Jul 2006, Randy Jonasz wrote:
> Hey Eeveryone,
>
> I was wondering if there is a way to limit the amount of ram a process
> can use. I tried ulimit in bash but didn't find the limit set with
> ulimit -m 1 was being honoured.
Hi Randy. I've used ulimit -m many times and observed it working. Could
you give an example where you see the memory limit violated?
What you are setting there is a 1k memory limit for the process (and each
of its children). Perhaps libc is sanely ignoring values that are
unrealistically small.
Cheers,
Rob
--
Robert Brockway B.Sc. Phone: +1-905-821-2327
Senior Technical Consultant Urgent Support: +1-416-669-3073
OpenTrend Solutions Ltd Email: support-wgAaPJgzrDxH4x6Dk/4f9A at public.gmane.org
Web: www.opentrend.net
We are open 24x365 for technical support. Call us in a crisis.
If you are emailing regarding an open ticket please consider
mentioning the ticket ID as this will assist us in responding
as quickly as possible.
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list