[CentOS] ulimit

Sat Apr 10 23:49:47 UTC 2010
Miguel Medalha <miguelmedalha at sapo.pt>

> I need to to change the ulimit to 16384(ulimit -n 16384) on boot on
> Centos 5.4 64 bit.  How do I do that?  Been searching and have yet to
> find a good answer.  Tried to do it in rc.local but it appears to
> happen to late there

In order to make the change permanent, add the following line to 

* - nofile 16384

 From "limits.conf"'s header:


- the wildcard *, for default entry
- nofile - max number of open files