Posted over 7 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.

ulimit -Hn 16384 ulimit -Sn 16384

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

Owner of this card:

Last edit:
over 7 years ago
Posted by jan0sch to jan0sch's deck
This website uses short-lived cookies to improve usability.
Accept or learn more