I have recently decided with my schoolmates to try and host a 24/7 server from my desktop. However, we have found this to be not the easiest thing. This is due to the fact our servers seem to get slower day by day.
At first, my friend was hosting the server for us. He has been away during the weekend for known reasons, but he has not been able to touch the server. His server began lagging heavily after the first day had passed. At first, we thought this to be bandwidth issues due to his dad playing lots of World of Warcraft and his brother playing a lot of Xbox.
Due to the lag, I stepped up and made the decision to host until said friend could get back home and troubleshoot the issue. Eventually, I noticed something. The minecraft server's RAM usage periodically will go up over time and lag the console or GUI version. It took me awhile to figure out why this would happen, but I now believe to have found the culprit.
That culprit is the server logging. I'm currently using the Windows .exe server application, so it has the GUI and logs everything in that Window. I have reason to believe that the fact we are unable to clear the log out on vanilla versions of the minecraft server is why. This is because it will build up more and more overtime until the point it's got a LOT of logged text on it.
This brings me to ask all of you expertise minecraft server hosters and players, is there any plugins for stopping that logging ability or limiting it so it will start clearing text at the top after "X" amount of text passes through? I hope that someone can come up to me with something like this, as it's painful to have to restart the server application after every day.
Plugins are much more preferred over the use of custom server software, btw.
Logging to the console or elsewhere is not the source of the problem. I've been running a server for 7 months and been using McMyAdmin for all that time. It lets me restart the server automatically every day, which is probably why I don't have any problems.
It restarts your server everyday, which clears the logs. We started having heavy lag after about 2 days.
2 days of logs is a lot of text.
You're supposed to restart the server around once a day, in most cases.. you don't want to run the Minecraft server for days on end without rebooting it and letting the OS recoup any locked up RAM that Minecraft may not have released.
You can also just delete the server.log file if it's getting to be too large.
You're supposed to restart the server around once a day, in most cases.. you don't want to run the Minecraft server for days on end without rebooting it and letting the OS recoup any locked up RAM that Minecraft may not have released.
You can also just delete the server.log file if it's getting to be too large.
I mean the log in the window. How do I keep that **** limited?
Run the jar version with the 'nogui' flag - that log window is not the cause of your lag though, I can almost guarantee it. I'm pretty sure it's just a mirror of the contents of server.log.lck which gets sent to server.log every time the server does an interval save.
If, as you said, the server is lagging after 'days' - the issue is RAM not being released back into the system for consumption and you can be rid of that problem by restarting the server frequently... it takes all of about 10 seconds for the server to go from running, save the map, stop, restart and load the map.
At first, my friend was hosting the server for us. He has been away during the weekend for known reasons, but he has not been able to touch the server. His server began lagging heavily after the first day had passed. At first, we thought this to be bandwidth issues due to his dad playing lots of World of Warcraft and his brother playing a lot of Xbox.
Due to the lag, I stepped up and made the decision to host until said friend could get back home and troubleshoot the issue. Eventually, I noticed something. The minecraft server's RAM usage periodically will go up over time and lag the console or GUI version. It took me awhile to figure out why this would happen, but I now believe to have found the culprit.
That culprit is the server logging. I'm currently using the Windows .exe server application, so it has the GUI and logs everything in that Window. I have reason to believe that the fact we are unable to clear the log out on vanilla versions of the minecraft server is why. This is because it will build up more and more overtime until the point it's got a LOT of logged text on it.
This brings me to ask all of you expertise minecraft server hosters and players, is there any plugins for stopping that logging ability or limiting it so it will start clearing text at the top after "X" amount of text passes through? I hope that someone can come up to me with something like this, as it's painful to have to restart the server application after every day.
Plugins are much more preferred over the use of custom server software, btw.
2 days of logs is a lot of text.
You can also just delete the server.log file if it's getting to be too large.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews
If, as you said, the server is lagging after 'days' - the issue is RAM not being released back into the system for consumption and you can be rid of that problem by restarting the server frequently... it takes all of about 10 seconds for the server to go from running, save the map, stop, restart and load the map.
w: minecraft.cm | e: [email protected] | t: @minecraft_cm | reviews