Randomly server starts lagging

Hello,

I have my server running in about 4 months and our player limit is max at 42 we always wanted to increase it but we can’t just becouse our server starts lagging when we hit more than 42 players or even at 42 players it lags when the server is up for a while.

Question: Is there somehow possible to check witch script cousing this or atleast check witch script is using the most of the ram becouse even at this point my server with 33 players ram usage: 14gb/24gb
and 25% of the cpu but still even tho i seen being in 64 slots and the ram usage was ± the same maybe some more and i dont have any clue how to fix it.

Thanks for the help!

14GB alone is a lot of RAM consumed by the server. How many resources are you using? You can use resmon 1 through the console to monitor memory usage per resource.

1 Like

Check this out [How-to] Use the profiler command to identify problematic scripts This might help you a lot in finding bad scripts.

1 Like

Wait but it actually helps to solve the lag from server side right?