-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To many files open #26
Comments
Use : java -Xms512M -Xmx1024M -jar nemisys.jar |
|
I have tried -xms2048 -xmx4096 - uptime increased up to 2 days, but after all I get same error.
09:57:24 [ALERT] java.io.IOException: Too many open files 09:57:24 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files) 09:57:24 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files) 09:57:24 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files) 09:57:24 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files) 09:57:24 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files) |
I do a daily restart of Nemisys with a log rotate, so the logfile never gets to big. I don't have such an issue. |
|
I'm also got this error:
|
Please head over to #37 and test a fix. |
What can I do to resolve this errors? (Very quickly nonstop repeating at console screen.)
It happens after some normal uptime.
12:08:03 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at org.itxtech.nemisys.utils.MainLogger.run(MainLogger.java:172)
12:08:03 [ALERT] java.io.FileNotFoundException: /mcpe/nemisys/server.log (Too many open files)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at org.itxtech.nemisys.utils.MainLogger.run(MainLogger.java:172)
I set ulimit -n 4096, hope this help.
The text was updated successfully, but these errors were encountered: