I'm using ubuntu karmic without a hitch so far.
My box has the desktop installed but is mostly a server box (was installed as such at first) and that's why i'm posting here.
One of the things I run in my box is jboss with several applications deployed (jira, hudson, confluence) but I'm getting a weird error
Jboss fails to deploy some applications due to "too many open files". When I first saw this I thought it would be simple to solve, just needed to up ulimit, now I'm not so sure.
I increased the limit to all user to 65536 (at first I had only * but then i decided to get creative):
Also the max limit is highCode:* soft nofile 65536 * hard nofile 65536 jboss soft nofile 65536 jboss hard nofile 65536 root soft nofile 65536 root hard nofile 65536
linux-server:~# cat /proc/sys/fs/file-max
and the max ever occupied is well below the limit:
6304 0 202989
all users return the same limit (including the jboss user who initiates the app server):
jboss@linux-server:/home$ ulimit -n
I'm out of ideas and it is hard to find results in google as similar problems are always solved upping ulimit.
David R Alves