[NTLUG:Discuss] How to set process file limit?
Chris Cox
cjcox at acm.org
Fri Mar 5 11:10:58 CST 2004
Neil Aggarwal wrote:
> Hello:
>
> I am getting a message from tomcat running on my
> RedHat 9 box that says "Too Many Open Files".
>
> When I do ulimit -aH, I get:
>
...
> open files (-n) 1024
...
>
> Reading on the internet, I added this line to
> /etc/security/limits.conf:
>
> * hard nofile 10240
>
> and rebooted the server.
>
> But, when I login and try the ulimit -aH command again,
> I still get 1024 for the open files limit.
Check your pam.d files and make sure the pam_limits
modules is used for the login (and other services where
needed).
>
> Any ideas why this did not work?
You're on the right path... it worked fine here on SUSE 8.2
(with no pam changes)
> What can I do to increase it?
>
> Thanks,
> Neil
More information about the Discuss
mailing list