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
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
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.
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".