Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ulimit -n to small



"Heinrich Goetzger" wrote:
> my zsh 4.2.5 on gentoo has a problem with the number of file descriptors.
> They can not raise the hard limit even with the -S set as mentioned in [1]:

Only the superuser can raise hard limits; that's the real difference
between them and soft limits.  You can raise the soft limit to the hard
limit, or lower the hard limit, but that's it.

If you have superuser access or know someone who has, note that as
limits are inherited you need to raise the hard limit in a parent
process of the shell where you actually want to run the programme.
(In other words, running "su", raising the hard limit, and exiting
doesn't work because you're back where you started.)

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author