Hi! I am currently running a pixelmon server on my own computer which has 12 gb of ram.
My server is laggy for myself and the 2 other people playing on it. The pokemon are moving like they are teleporting and blocks take a while to get after mining. Our pings to the server (including myself) are significantly high and it shows. My ping is high to my own server. I use Forge 1.8.9 to play pixelmon 1.8.9.
This is the command line I use in the run.bat to start the server:
@echo off
java -server -d64 -Xincgc -Xmx2048M -jar mcforge.jar
pause
I am using 2gb of ram for the server which is what I was told is all that is needed to run a pixelmon server. I have tried adding 8gb, 7gb, and so on and we still get the same lag.
I periodically get messages in the server logs along the lines of this:
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2600ms behind, skipping 52 tick(s)
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2739ms behind, skipping 54 tick(s)
I have changed the map before just to make sure no one built a lag machine, but that helped none.
Everyone can connect to the server. I have hosted many servers before and they worked perfectly on my internet.
Here is my most recent logs: https://s10.postimg.org/9urhx1687/Serverlogs.png
My question is, how can I fix this massive ping spike and lag issue on my server?
My server is laggy for myself and the 2 other people playing on it. The pokemon are moving like they are teleporting and blocks take a while to get after mining. Our pings to the server (including myself) are significantly high and it shows. My ping is high to my own server. I use Forge 1.8.9 to play pixelmon 1.8.9.
This is the command line I use in the run.bat to start the server:
@echo off
java -server -d64 -Xincgc -Xmx2048M -jar mcforge.jar
pause
I am using 2gb of ram for the server which is what I was told is all that is needed to run a pixelmon server. I have tried adding 8gb, 7gb, and so on and we still get the same lag.
I periodically get messages in the server logs along the lines of this:
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2600ms behind, skipping 52 tick(s)
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2739ms behind, skipping 54 tick(s)
I have changed the map before just to make sure no one built a lag machine, but that helped none.
Everyone can connect to the server. I have hosted many servers before and they worked perfectly on my internet.
Here is my most recent logs: https://s10.postimg.org/9urhx1687/Serverlogs.png
My question is, how can I fix this massive ping spike and lag issue on my server?
4
AxisPlaysHi! I am currently running a pixelmon server on my own computer which has 12 gb of ram.
My server is laggy for myself and the 2 other people playing on it. The pokemon are moving like they are teleporting and blocks take a while to get after mining. Our pings to the server (including myself) are significantly high and it shows. My ping is high to my own server. I use Forge 1.8.9 to play pixelmon 1.8.9.
This is the command line I use in the run.bat to start the server:@echo off
java -server -d64 -Xincgc -Xmx2048M -jar mcforge.jar
pause
I am using 2gb of ram for the server which is what I was told is all that is needed to run a pixelmon server. I have tried adding 8gb, 7gb, and so on and we still get the same lag.
I periodically get messages in the server logs along the lines of this:[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2600ms behind, skipping 52 tick(s)
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2739ms behind, skipping 54 tick(s)
I have changed the map before just to make sure no one built a lag machine, but that helped none.
Everyone can connect to the server. I have hosted many servers before and they worked perfectly on my internet.
Here is my most recent logs: https://s10.postimg.org/9urhx1687/Serverlogs.png
My question is, how can I fix this massive ping spike and lag issue on my server?
I suggest setting a minimum and maximum amount of ram in your launch parameters. This is easy to google and to apply. This will help with java junk clearing lag.
It also could be due to a weak processor, or a bad upload speed. Please post your processor spead in GHz, and your results from speedtest.net.
Edit: To reduce your personal lag, try connecting with a LAN IP Address.
whats the cpu usage when its lagging? thats the main question
Dystopia2GB may be all that is needed for it to run, but that doesn't count for 3 users ( yourself included ) all being on at once. Your computer may have 12 GB, but you game will be using some of that, regular system functions will be using part of that, and of course your server will be.
I still get the same ping and lag even without my friends on the server. Ive tried using 4gb and even 8gb to run the server and it still has laggy pokemon and terrible ping. Keep in mind that I can run a modded minecraft server fine with 6 people on it and even an Ark server before with 4 people on it.
When I add more ram to the server I see no difference. I think I might be screwing something up with the run.bat...
I have an Intel Core i7 CPU 950 @ 3.07 JHz, 3068 Mhz, 4 Cores, 8 Locial Proccessors
2GB may be all that is needed for it to run, but that doesn't count for 3 users ( yourself included ) all being on at once. Your computer may have 12 GB, but you game will be using some of that, regular system functions will be using part of that, and of course your server will be.
Server hosting can be very demanding on your CPU, let alone having modded with lots of mobs and AIs to track. The only thing I could advise would be if you just bought a cheap host with like 5 slots ( you don't seem to need that many ) and played on it instead.
Server hosting can be very demanding on your CPU, let alone having modded with lots of mobs and AIs to track. The only thing I could advise would be if you just bought a cheap host with like 5 slots ( you don't seem to need that many ) and played on it instead.
