Ahtenus / minecraft-init

Init script for minecraft and bukkit servers
404 stars 125 forks source link

Rogue Pidfile Found #188

Open tunloop opened 3 years ago

tunloop commented 3 years ago
Matesaktesak commented 3 years ago

I had the same issue, solved it by changing this line:

++ INVOCATION='java -Xmx4096M -Xms2048M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -jar server.jar nogui'

To this:

++ INVOCATION='java -Xmx4096M -Xms2048M -XX:+AggressiveOpts -jar server.jar nogui'

tunloop commented 3 years ago

That seemed to work.

Is there any downside to getting rid of those extra arguments?

Matesaktesak commented 3 years ago

I would definitely try to use the core count, that is, if it works. Other that that, unfortunately I'm really not sure, what the other args do.