rundeck-launcher-1.3.0.jar -- too many open files

59 views
Skip to first unread message

redhot

unread,
Apr 23, 2011, 10:01:54 AM4/23/11
to rundeck...@googlegroups.com
Hi,

I am trying the rundeck-launcher from 1.3.0-beta-0.9 and running into a startup issue. Anyone seen this?


--- SNIP ---
# All files have owned by rundeck:rundeck

rundeck@waxwing:/opt/rundeck$ echo $RDECK_BASE
/opt/rundeck

rundeck@waxwing:/opt/rundeck$ echo $JAVA_HOME
/opt/java

rundeck@waxwing:/opt/rundeck$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)

rundeck@waxwing:~$ cd /opt/rundeck/

rundeck@waxwing:/opt/rundeck$ java -jar rundeck-launcher-1.3.0.jar 
Exception in thread "main" java.io.FileNotFoundException: /opt/rundeck/server/exp/webapp/WEB-INF/lib/commons-pool-1.5.3.jar (Too many open files)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.dtolabs.rundeck.ZipUtil.extractZip(Unknown Source)
at com.dtolabs.rundeck.ZipUtil.extractZip(Unknown Source)
at com.dtolabs.rundeck.ZipUtil.extractZip(Unknown Source)
at com.dtolabs.rundeck.ZipUtil.extractZip(Unknown Source)
at com.dtolabs.rundeck.ExpandRunServer.extractWar(Unknown Source)
at com.dtolabs.rundeck.ExpandRunServer.run(Unknown Source)
at com.dtolabs.rundeck.ExpandRunServer.main(Unknown Source)

rundeck@waxwing:/opt/rundeck$ ls -al /opt/rundeck/server/exp/webapp/WEB-INF/lib/commons-pool-1.5.3.jar
-rw-r--r-- 1 rundeck rundeck 96203 2011-04-22 21:08 /opt/rundeck/server/exp/webapp/WEB-INF/lib/commons-pool-1.5.3.jar

--- SNIP ---

Alex-SF

unread,
Apr 23, 2011, 10:09:35 AM4/23/11
to rundeck-discuss
Hi redhot,

Seeing the "Too many open files" error message makes me wonder if this
is a system limits issue. What OS are you trying this on? Take a look
at this IRC thread: http://irclog.rundeck.org/rundeck/2011-03-29#i_2376463
It mentions checking and increasing the ulimit setting.

Thanks !

redhot

unread,
Apr 23, 2011, 1:16:59 PM4/23/11
to rundeck...@googlegroups.com
Hi Alex,

Thanks for the pointer. I am using Ubuntu 10.04.2 LTS/Server and indeed it was a ulimit issue. I had to add these two to get it to work. Just adding a soft limit does not help. Having a slightly higher hard limit is needed.

--- SNIP ---
@rundeck soft nofile 2048
@rundeck hard nofile 4096
--- SNIP ---

Thanks!
Reply all
Reply to author
Forward
0 new messages