Server Lag

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Cosmology27

New Member
Jul 29, 2019
297
0
1
So I'm running a monster server, but I've added a bunch more mods to it. I'm running 4-6 gigs of ram, and there's very few on the server, usually only one or two at a time, and most the day there's no one.
Here's the problem. I can shut down my computer for the whole night, turn on the server, with NOTHING else running on my computer, and it'll still say the "Can't keep up!" message about once or twice every minute. I mean, there's no one on the server, my computer just booted up, there's nothing else running... why is it not able to keep up? When I am on the server, I get a little bit of lag (block and mob lag), basically all the time, but only a minor problem. I have 6 gig allotted to this thing, which is way more than enough. Here's the java stuff I'm running it with.

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xms4G -Xmx6G -XX:permSize=256m -jar FTBServer-1.6.4-965.jar nogui


I'm sure this is because I have so many mods running, but even then you would think it would be fine. Does anyone know anything that could help me make this run smoother?
Thanks!
 

TheAwesomater

New Member
Jul 29, 2019
243
0
0
So I'm running a monster server, but I've added a bunch more mods to it. I'm running 4-6 gigs of ram, and there's very few on the server, usually only one or two at a time, and most the day there's no one.
Here's the problem. I can shut down my computer for the whole night, turn on the server, with NOTHING else running on my computer, and it'll still say the "Can't keep up!" message about once or twice every minute. I mean, there's no one on the server, my computer just booted up, there's nothing else running... why is it not able to keep up? When I am on the server, I get a little bit of lag (block and mob lag), basically all the time, but only a minor problem. I have 6 gig allotted to this thing, which is way more than enough. Here's the java stuff I'm running it with.

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xms4G -Xmx6G -XX:permSize=256m -jar FTBServer-1.6.4-965.jar nogui


I'm sure this is because I have so many mods running, but even then you would think it would be fine. Does anyone know anything that could help me make this run smoother?
Thanks!
You. Old remove mods from the server and client. Is your machine good enough on the server ie have you run other servers before, what pack, players etc.

Try opis to see bad tick rate.
 

Harvest88

New Member
Jul 29, 2019
1,365
-1
0
Your are running out of memory some how according to that "can't keep up" message. Even though 6GB is plenty makes sure your computer actually have that (check your task manager to see much memory and CPU is being used up and at the ready). It may be the simple fact that because your using desktop grade memory sticks that cannot keep up with memory demands. Hosts running on modern CPUs are running on DDR3 RAM running at 1333Mhz (rarely clocked to 1600Mhz). So what I am saying in short even if you actually have memory to spare it may not be "fast" enough to keep up.
 
  • Like
Reactions: Cosmology27

Cosmology27

New Member
Jul 29, 2019
297
0
1
So I've installed opis on my monster server, and I'm trying to open the interface by /opis, and it does nothing. Then I try it in the server console thing, and it says...

2014-06-14 17:55:39 [INFO] [Minecraft-Server] You are not a normal client and can't open the Swing interface.

Any ideas?

Also, my computer has 10 gig of ram, so it's definitely able to use 6 gig.
Also, I think I found the problem, in a part of the map Lycanites Mobs has literally hundreds of mobs spawning, because apparently there is no max mob amount for Lycanites... which is weird. If I get opis working properly, I can use the /killall thing, but right now the interface won't open.
 
  • Like
Reactions: RealSketch