Bug#631217: cannot change ulimit

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Tue Jun 21 15:16:05 UTC 2011


Package: tomcat6
Version: 6.0.28-9+squeeze1
Severity: important

Hi,
my application run in tomcat and require a lot of open files. The number
of open files is more than maximun allowed (1024) so I keep having
exception when trying to open more files.

I changed the maximum number of open files for tomcat user as shown here

agenzia-s07:/etc/security/limits.d# pwd
/etc/security/limits.d
agenzia-s07:/etc/security/limits.d# ls -l
totale 4
-rw-r--r-- 1 root root 73 21 giu 17.12 00tomcat
agenzia-s07:/etc/security/limits.d# cat 00tomcat 
#<domain>      <type>  <item>         <value>
tomcat6 hard nofile 32767
agenzia-s07:/etc/security/limits.d# cat /proc/$(cat
/var/run/tomcat6.pid)/limits | grep open\ files
Max open files            1024                 1024                 files 
  
agenzia-s07:/etc/security/limits.d# 

so, this setting is not used. Could you please let me know how to change
this parameter?

Thanks,
Giuseppe





More information about the pkg-java-maintainers mailing list