ulimit

Etienne Goyer etienne.goyer at canonical.com
Wed Sep 9 17:29:12 UTC 2009


Kaushal Shriyan wrote:
> I have set the below entries in /etc/security/limits.conf file on
> Ubuntu hardy 8.04 server
> 
> @tomcat        hard    nofile           32000
> @tomcat        soft    nofile           32000
> tomcat        hard    nofile           32000
> tomcat        soft    nofile           32000
> 
> when i login as tomcat user and run ulimit -a,
> it still shows open files                      (-n) 1024
> 
> Am i missing anything ?
>

Are you calling pam_limits.so somewhere in your PAM stack?

http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_limits.html



-- 
Etienne Goyer
Technical Account Manager - Canonical Ltd
Ubuntu Certified Instructor

 ~= Ubuntu: Linux for Human Beings =~




More information about the ubuntu-server mailing list