Too many open files at startup (on linux)
-
Vincent Behar
Thanks, I got it working using http://posidev.com/blog/2009/06/04/set-ulimit-parameters-on-ubuntu/
- edit /etc/security/limits.conf (add "* - nofile 8000") - edit /etc/pam.d/common-session (add "session required pam_limits.so") - rebootperhaps someone can update the FAQ, at least to say that if we got this error we need to tweak the OS config.
But it's strange that it works on the first run and not on the second one : the first run of the launcher is supposed to unpack a whole lot of files, and so have more "open files"... -
Alex-SF
- Milestone set to Rundeck 1.3
- Milestone order changed from 7 to 0
-
Vincent Behar
Thanks Kelth, your solution works well.
I just set up a new rundeck instance on a new linux server, and to fix the problem (i am not root) I edited the "etc/profile" file :Set min/max heap size
export RDECK_JVM="$RDECK_JVM -Xmx1024m -Xms256m -XX:NewSize=1024k"
(add "-XX:NewSize=1024k" at the end)
Alex, do you think you can add this parameter in the file for the next version ?
-
Alex-SF
+1
-
Jordan Curzon
The XX:NewSize didn't help me any, but removing the -Xms argument from etc/profile did.
-
Greg Schueler
(from [546ba838bc2a45fbb14bd1c5b10cb1f39d5f7362]) Fix lazy load of job properties, fixes #178 Too many open files at startup (on linux)
add functional test of scheduled job
https://github.com/dtolabs/rundeck/commit/546ba838bc2a45fbb14bd1c5b...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.