• Lag spike every 20 seconds
    4 replies, posted
Hello, I own 3 RP servers, and i have a problem with a lag spike every 20 seconds... How can i found where is the problem ? It's a little bit annoying for my players. Specs of my machine (OVH) : Intel  i7-7700K OC 4c/8t - 4,7GHz /5GHz 64Go DDR4 2400 MHz SoftRaid 2x450Go NVMe 250 Mbps Thank you,
Maybe not having 3 RP servers on one server?
I think the machine can handle more than 3 RP server of 60 slots... Look the specs ^^
i recommend use one server per machine. Because multicore not perfect. But maybe try modify the rate of the server tickrate and other stuffs.
My server also does this, so far the only information you'll find is "ITS UR ADDONS", after checking with fprofiler and dbugr i found that PlayerTick widgets hook was being called and using up way too much time, i now remove this hook and it appears to have no effect on the gameplay or my addons or GUI elements so I went along with it, I found using DBUGR every 20th second the server would lag for 0.5 seconds, removing this hook reduce that from 0.5 to 025 for me, Now for me the most expensive calls seem to come from DarkRP and GameMode functions and hooks and alot of it is FPP Falcos prop protection but there calling like once per minute as opposed to 1200 times perm minute with all server slots full. your gonna have to work out what is using up most your resources, other than that your gonna have to pay someone to optimise your server. I would agree with you that the singlethreaded performance of an i7 7700k should be able to handle 3 gmod servers. Ulx and Ulib also caused problems for me so i just use fAdmin plus it supports mysql natively and just works just as well. Another expensive function i have seems to be fadmin prillvage checks too but it still isnt that bad
Sorry, you need to Log In to post a reply to this thread.