I get the error message ”Too many open files” with JRebel
JBoss’s approach for monitoring application descriptor files can cause the “Too many open files” on *nix machines with a low limit of open files per user. The current solution is to increase the number of file handles or to disable JBoss URLDeploymentScanner from jboss-service.xml
.
The limit of open files can be verified by ulimit -a
. Increasing of the limit requires root privileges and can be done for the application server via sudo bash -c 'ulimit -n 8192; sudo -u yourUserName ./appServerStartupScript'
. Permanent user configuration is done by editing the /etc/security/limits.conf
and adding the lines yourUserName hard nofile 8192
and yourUserName soft nofile 8192
at the end of this file.
Related articles
- I installed JRebel and my application does not start? What should i do?
- I installed JRebel and it does not reload classes? What should i do?
- How do I report errors? What kind of information should I include?
- View all