Posted over 6 years ago. Visible to the public.

Ubuntu Tomcat too many open files

If you encounter an too many open files exception you usually edit /etc/security/limits.conf and increase the value. But on Ubuntu (10.04 LTS at least) this is ignored!

A workaround is to edit /etc/init.d/tomca6 directly and set the limits directly.

Copy
ulimit -Hn 16384 ulimit -Sn 16384

Usually this error occurs if you run a resource intensive app like alfresco share.

Owner of this card:

Avatar
jan0sch
Last edit:
over 6 years ago
Posted by jan0sch to jan0sch's deck
This website uses cookies to improve usability and analyze traffic.
Accept or learn more