Subject: Re: Cannot ulimit -m
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Paul Hoffman <phoffman@proper.com>
List: netbsd-help
Date: 01/29/2002 12:51:24
At 10:17 AM +0100 1/29/02, Manuel Bouyer wrote:
>On Mon, Jan 28, 2002 at 03:19:30PM -0800, Paul Hoffman wrote:
>> At 10:53 PM +0100 1/28/02, Manuel Bouyer wrote:
>> >On Mon, Jan 28, 2002 at 07:53:59AM -0800, Paul Hoffman wrote:
>> >> When I give the command "ulimit -m unlimited", the shell (either bash
>> >> or ksh) reports:
>> >>
>> >> ulimit: cannot modify limit: Operation not permitted
>> >>
>> >> How do I allow a particular user to set his memory limit higher?
>> >
>> >If you look at the hard limit with 'ulimit -H' and then try to set to this
>> >limit, does it work ?
>>
>> ulimit -H reports "unlimited".
>>
>> ulimit -a reports:
>
>You want ulimit -a -H then. Sorry I'm a csh user :)
That reports:
core file size (blocks) unlimited
data seg size (kbytes) 1048576
file size (blocks) unlimited
max locked memory (kbytes) 250256
max memory size (kbytes) 250256
open files 1772
pipe size (512 bytes) 1
stack size (kbytes) 32768
cpu time (seconds) unlimited
max user processes 532
virtual memory (kbytes) 1081344
So, why can I not raise my memory size past 250256?
--Paul Hoffman