Re: limit addendum
Re: limit addendum
- Subject: Re: limit addendum
- From: Justin Walker <email@hidden>
- Date: Sat, 1 Mar 2003 21:20:19 -0800
On Saturday, Mar 1, 2003, at 21:06 US/Pacific, robert delius royar
wrote:
On Sat, 1 Mar 2003, Markian Hlynka wrote:
right, sorry, according to the man page, "Only the super-user may
raise the hard limits". So it is _possible, but I just can't figure
out
_how.
In a system startup script:
# raise the hard process limit
# man sysctl will show you many system settings
sysctl -w kern.maxproc=1000
# this sets the hard value in the shell
ulimit -H -u512
# this sets the soft value
ulimit -u256 -s8192 -d12288
This will reset your limits for all jobs. If you just want to change
for
one process, then sudo the commands in the shell. ulimit is a /bin/sh
command. limit is the tcsh/zsh/csh equivalent.
Have you actually tried this? I'm not sure what you mean by "sudo the
commands in the shell". Since 'ulimit' and 'limit' are built-in,
'sudo' won't be able to execute them "bare", and if you exit the 'root'
shell in which you use these commands, you lose the effect. Can you
clarify?
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Some people have a got a mental
| horizon of radius zero, and
call
| it their point of view
| -- David Hilbert
*--------------------------------------*-------------------------------*
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.