Git Product home page Git Product logo

oasislight-servermanager's People

Contributors

oasisartisan avatar tomaszal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oasislight-servermanager's Issues

Add custom aguments to spigot server

Hello, I'd like to use custom arguments on server start, like "--nojline".
Whole command example: java -Dfile.encoding=UTF-8 -Xms512M -Xmx8G -jar Spigot.jar nogui --nojline

Add delay

Hey, could you add that when I start the jar that it doesn't start all servers at once? That's causing huge load on machines. I would appreciate that.

Java 9 Problems

Hello OasisArtisan,

because of another plugin i had to upgrade to java 9. Unfortunatly i have now problems with the best ServerManager for free over the world :)

Exception in thread "main" java.lang.ExceptionInInitializerError at com.oasisartisan.servermanager.storage.Storage.initStorageTypes(Storage.java:122) at com.oasisartisan.servermanager.storage.Storage.loadDataFromFile(Storage.java:61) at com.oasisartisan.servermanager.Main.main(Main.java:125) Caused by: java.lang.NullPointerException at java.base/java.io.Reader.<init>(Reader.java:78) at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72) at java.base/java.util.Scanner.<init>(Scanner.java:563) at com.oasisartisan.servermanager.Utilities.readLocalFile(Utilities.java:161) at com.oasisartisan.servermanager.storage.SQLiteStorage.<clinit>(SQLiteStorage.java:23) ... 3 more

Thx for Fixing it :)

Greetz Krunos

Custom Java argument makes manager restart the server on a loop

I followed this link to add new arguments to make the server better perform and utilize Java flags in the most efficient way.
However when I added all those flags, manager kept on restarting the server not knowing it has been already started.

Upon investigation, I found out that its this flag "-XX:+PerfDisableSharedMem" this argument improves garbage collection but was causing manager to be stuck in a restart loop.
The reason for that is that this flag is telling java to not write information to some temporary folder which jps uses so jps will not detect the running server. And since the manager relies on jps to detect running java servers, it will fail as well.

A fix for this would be to make the manager use normal ps instead of jps to detect the server process.

Kill bug, if the server is not responding

Because of heavy load on my server. The manager thoughts that the server is down (Not Responding) So he restarts the server. But after that without the heavy load he is restarting it over and over again. sometimes 30 minutes later or an hour.

[11:02:36][Bauwelt] Server is "NOTRESPONDING".
[11:02:36][Bauwelt] Attempting to restart the server.
[11:02:36][Bauwelt] Attempting to stop the server.
[11:02:36][Bauwelt] Server is "STOPPING".
[11:02:57][Bauwelt] Server is "OFFLINE".
[11:02:57][Bauwelt] Attempting to start the server.
[11:02:57][Bauwelt] Server is "STARTING".
[11:03:39][Bauwelt] Server is "ONLINE".
[11:04:31][Bauwelt] Retrying to kill the server process...
[11:04:34][Error][Bauwelt]Possibly failed to kill the server process.
[11:04:41][Bauwelt] Server is "OFFLINE".
[11:04:41][Bauwelt] Attempting to start the server.
[11:04:41][Bauwelt] Server is "STARTING".

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.