Comments (8)
Use : java -Xms512M -Xmx1024M -jar nemisys.jar
from nemisys.
Use : java -Xms512M -Xmx1024M -jar nemisys.jar
it doesnt help...
ulimit -n 4096 does not help too...
from nemisys.
I have tried -xms2048 -xmx4096 - uptime increased up to 2 days, but after all I get same error.
Looks like somewhere file descriptors leak, or whatever
at org.itxtech.nemisys.utils.MainLogger.run(MainLogger.java:172)
09:57:24 [ALERT] java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
at org.itxtech.nemisys.network.synlib.SessionManager.tick(SessionManager.java:109)
at org.itxtech.nemisys.network.synlib.SessionManager.tickProcessor(SessionManager.java:42)
at org.itxtech.nemisys.network.synlib.SessionManager.run(SessionManager.java:32)
at org.itxtech.nemisys.network.synlib.SynapseServer.run(SynapseServer.java:128)
09:57:24 [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)
09:57:24 [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)
09:57:24 [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)
09:57:24 [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)
09:57:24 [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)
from nemisys.
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.
from nemisys.
I do a daily restart of Nemisys
by this action, you dont let nemisys to get to critical condition, but issue is out there :)
from nemisys.
I'm also got this error:
18:25:33 [ALERT] java.io.FileNotFoundException: ***/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.<init>(FileOutputStream.java:213)
at org.itxtech.nemisys.utils.MainLogger.run(MainLogger.java:172)
from nemisys.
Please head over to #37 and test a fix.
from nemisys.
https://easyengine.io/tutorials/linux/increase-open-files-limit/
from nemisys.
Related Issues (20)
- kicked by timeout HOT 1
- After i transfer using this code to my silentlobby server, i got the problem that i cant move and my spawnlocation isnt set or something else
- Tablist doesnt remove an player HOT 2
- jar file HOT 2
- how to get all Synapse-Clients? HOT 1
- New MCPE Protocol Version
- 'Magic is not match' HOT 1
- Windows installer HOT 1
- Still hard working on 1.1.0 update for Nemisys and SynapseAPI HOT 1
- Error HOT 1
- Timeout on 1.1.0/1.1.1 HOT 5
- Nemisys keeps timeouting HOT 9
- some questions HOT 1
- View distance issue
- Playercount isn't updated HOT 2
- fail
- Problems after transferring to server
- Update to 1.2 HOT 1
- Nemisys freezes randomly
- Contrl + C Kill process, not shutdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nemisys.