On Wed, Apr 25, 2007 at 01:36:04PM -0700, Alec Matusis wrote:
> Hello,
> 
> I need to change default system-wide ulimits.
> I am trying to set HARDFDLIMIT=10000 in /etc/sysconfig/ulimit
> What do I need to do (apart from rebooting) for this to take effect?
> I tried 
> #killall mingetty
> and also
> #init 1; init 3
> 
> but my ulimits are unchanged:
> 
> # ulimit -Hn
> 8192
> 
> (that’s the default).
> I also looked at /etc/profile, but there is nothing useful there besides 
>  
> if test "$is" != "ash" -a ! -r /etc/initscript; then
>     ulimit -Sc 0                # don't create core files
>     ulimit -Sd $(ulimit -Hd)
>     ulimit -Ss $(ulimit -Hs)
>     ulimit -Sm $(ulimit -Hm)
> fi

At least let the current shell restart after changing the init level.

It is likely that you need to reboot though.

Ciao, Marcus
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to