Subject: Re: limit problems
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: David Brownlee <david@mono.org>
List: port-i386
Date: 02/14/1997 13:24:32
There is _definitely_ something screwy with limit..
(alpha ~)72# limit stacksize
stacksize 512 kbytes
(alpha ~)73# uname -mrs
NetBSD 1.2 i386
(alpha ~)74# limit stacksize 512
(alpha ~)75# limit stacksize
stacksize 512 kbytes
(alpha ~)76# uname -mrs
Abort
(alpha ~)77# limit stacksize 512k
(alpha ~)78# uname -mrs
NetBSD 1.2 i386
It reports the stacksize as in k but will set in bytes?
Sounds like you should send in a pr!
David/abs david@{mono.org,southern.com,mhm-internet.com}
Microsoft: Asks you where you want to go. NetBSD gets you there.
System Manager: Southern Studios Ltd, PO Box 59, London N22 1AR.
System Admin: MHM Internet, 14 Barley Mow Passage, Chiswick, London W4 4PH.
SysOP: Monochrome, Largest UK Internet BBS - 'telnet mono.org'.
On Fri, 14 Feb 1997, Jukka Marin wrote:
> Someone asked about this a few weeks ago, but I didn't see any replies:
>
> Why can't I set some of the process limits higher? Like this:
>
> jmarin@kyyhky ~ %(41)limit
> cputime unlimited
> filesize unlimited
> datasize 16384 kbytes
> stacksize 512 kbytes
> coredumpsize 0 kbytes
> memoryuse 59184 kbytes
> descriptors 64
> memorylocked 19729 kbytes
> maxproc 80
> jmarin@kyyhky ~ %(42)date
> Fri Feb 14 11:43:03 EET 1997
> jmarin@kyyhky ~ %(43)limit stacksize 1024
> jmarin@kyyhky ~ %(44)date
> Abort
> jmarin@kyyhky ~ %(43)unlimit stacksize
> jmarin@kyyhky ~ %(44)date
> Fri Feb 14 11:44:06 EET 1997
> jmarin@kyyhky ~ %(45)limit stacksize
> stacksize 8192 kbytes
>
> I would like to set some limits higher to run large applications, but
> there doesn't seem to be any 'safe' value for the limits (except the
> 'unlimit'ed value).
>
> This happens under 1.2 (at least on i386, but I think it isn't arch
> specific). Any ideas and/or solutions?
>
> -jm
>
> --
>
> ---> http://www.jmp.fi/~jmarin/ <---
>