Server FPS drops, CPU usage tooSolved

Henlo!

From last few days i have problem with jumping CPU usage in server, even with all plugins unloaded. I've checked usage in "top" command and during lag all CPU usage goes from us (I think user) to sy (I think system). I don't know if it is normal, but i think nope. Server RAM usage is near 50% of my VPS,so i don;t have idea what is that.

Po9b6E6.png

It is something like:
110% CPU usage = 300 fps (normal work, as before)
And BOOM!
10% CPU usage = 5 fps (server lag)
After 3-5 seconds it is normal... and in next few minutes again...

Edit: New oxide did not fixed the problem.

It can be save lag. Check how much plugins using OnServerSave + it will be nice if you post here PerfromanceMonitor report

server.saveinterval is set to 300, but lag is in random moments. Sometimes 30s, 2m, 5m etc.

And as i said server is laggy without plugins too. I've sent PerformanceMonitor log on PM on Discord :P

Merged post

Okay. I've fixed that.

"apt-get upgrade" fixed my problem.

save lag is io (writting to disk) that top output had no io wait "0.0 wa" So this would not be the issue.

Its likely one of your cpu threads are being maxed out. Use something like htop, as its a real great colerful version of top that easily lists all cpu thread utilization. If thats not an option you can press "1" while "top" is running to list a per cpu thread breakdown to see if any core is being maxed (just not as clear as using htop). It just takes a single cpu thread to be maxed out to tank your servers fps and make the server come to a crawl. As always cpu MHz > cpu core count when it comes to smooth rust servers.

update: be sure your oxide and plugins are all updated to latest, as there has been MANY performence changes in the way oxide handles changed hooks on the recent version of rust server.

Locked automatically