Is there an automated process that happens every 10 minutes or something? Because I setup a server on a Vultr box and it's like clockwork... every 10 minutes I receive a 10-20 second lag spike.
I've noticed in RustAdmin's console it also appears to output an array of all user objects that are currently online.
Server lagging every 10 minutes
Discussion in 'Rust Discussion' started by Mheetu, May 14, 2018.
-
Wulf Community Admin
Do you have your server setup to save very 10 minutes?
-
Nope, it's saving every 30 seconds.
-
Wulf Community Admin
-
Noted. Still doesn't explain the lag spikes every 10 minutes or the array dump of online players though.
I'm not at my system now, but I can post an example of what it's logging to console later. -
do you use BluePrint Manager ?
-
-
yes
try unloaded for 5min.
i had same problem when new players connected i had spike lag
Server freezing when a player joins -
I saw that thread, however, I do not use BPM or the other one mentioned (not remembering what it was right now)...
-
is there an alternative to BP manager then ?
-
I don't recommend saving every 15-30 minutes as that'll be a pretty nasty rollback. Given the nature of Rust, it's not uncommon for it to crash so I highly recommend saving at least every 5 minutes or 300 seconds.
Rust does not currently have an incremental save system so everything is saved over and over again despite how often it is saved. With that being said, it doesn't really matter what you configure this to but it's very important you understand the infrequency of saves equals larger rollbacks. Some servers may experience lag during saves which is why they save so infrequently but as long as you have a decent storage drive this shouldn't be an issue. My server saves 200k entities every 5 minutes with no lag what-so-ever.
On topic
If the lag occurs that often in such a pattern chances are it's either a plugin or server/rcon script stalling your server. Especially check for plugins that send web requests on a timer, that generally is the cause of most lag. -
-
LOL 102k ents... right theres your lag and server issues
-
-
isn't 1 milion
Attached Files:
-
-
"Some servers may experience lag during saves which is why they save so infrequently but as long as you have a decent storage drive this shouldn't be an issue."
@Licurici If you don't want your server to lag saving 100k entities then I recommend getting off shared hosting. I have two PvE servers with no decay and I have zero issues saving.
Server #1
Entity: 238k
Server #2
Entity: 161k
Both save every 300 seconds and are both on the same machine. No issue.