Giter Site home page Giter Site logo

To many files open about nemisys HOT 8 CLOSED

itxtech avatar itxtech commented on August 27, 2024
To many files open

from nemisys.

Comments (8)

 avatar commented on August 27, 2024

Use : java -Xms512M -Xmx1024M -jar nemisys.jar

from nemisys.

vvzar avatar vvzar commented on August 27, 2024

Use : java -Xms512M -Xmx1024M -jar nemisys.jar
it doesnt help...
ulimit -n 4096 does not help too...

from nemisys.

vvzar avatar vvzar commented on August 27, 2024

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.

SleepSpace9 avatar SleepSpace9 commented on August 27, 2024

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.

vvzar avatar vvzar commented on August 27, 2024

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.

Tarik02 avatar Tarik02 commented on August 27, 2024

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.

dktapps avatar dktapps commented on August 27, 2024

Please head over to #37 and test a fix.

from nemisys.

XFuryMCPE avatar XFuryMCPE commented on August 27, 2024

https://easyengine.io/tutorials/linux/increase-open-files-limit/

from nemisys.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.