ID:1201729
 
Keywords: lag, reboots
(See the best response by Kaiochao.)

Problem description:

I have an auto rebooter in the game so that when the server gets laggy it can start fresh again, but while profiling the world it seems like it continued to stack CPU and that it didn't get rid of lag or make it better
Fps, tick_lag, number of mobs running about? The machine you're running it on? All possible reasons your CPU is getting a work-out.
So do reboots even help anything?
Best response
What would help more is for you to fix the bad code that's causing the lag buildup.