Weird Server Lag Issue

  • 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
Status
Not open for further replies.

voidreality

New Member
Jul 29, 2019
117
0
0
I have a professionally hosted server for me and a few friends. The server runs at about 14t/s or under most the time. Everything works fine while someone is logged in. However, if I leave the server online and no one is logged in (say overnight), the server slowly rises to 100% cpu usage (RAM usage remains normal). It remains this way till someone logs in. Then the framerate is unplayable for about 15 minutes and the server cpu usage slowly moves back down to normal.

At first I thought this was a chunk loading issue, and it still may be, but I have chunk loaded the ENTIRE area that a player would normally affect in the effected area. I have also left myself logged in overnight in a separate age and haven't noticed the problem. I have never seen an excess of items on the ground or anything like that during the 15 minutes of "slow time" as the server corrects itself. I'm thinking it might be a sorter issue with RP across dimensions or something else strange that happens when a player isn't present. I don't know, but maybe one of you server wizards can help me figure it out by giving me ideas of things to check.

Thanks!

Note: There is no server error to report except "[WARNING] Can't keep up! ...."
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
1. Make backup
2. Install Tick Threading
3. Run profile command
4. Go the location it tells you is being slow
5. Fix the real problem
6. Tap that like button

Edit: You tapped the like button, hope that means your lag issue is resolved. If not, or for some reason Tick Threading didn't work properly, let me know.
 
  • Like
Reactions: voidreality

voidreality

New Member
Jul 29, 2019
117
0
0
Thanks! Took me a little while to install Tick Threading to my server (I don't have command line access), but once I did I was able to track down the problem pretty fast.

Managers directly into Relays = bad
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Thats not a good problem to have, I know managers can be a bit buggy and can mess stuff up, sort of expected, they have only been in RedPower2 for 1 release.

Rather odd you don't have command line access, glad to here you found a way to install Tick Threading. Keep in mind it can be a bit buggy compared to a standard server install, so do backups regularly if you plan on keeping it installed.
 
Status
Not open for further replies.