• Server laggy when full
    9 replies, posted
Hello, I've a problem, when my server is full, it's very long to synchronise with the server. I've lot of addons (M9K, TDM cars...), cake anticheat, pointshop, etc... I'm already with tickrate 20. ------------------------------------ Dedicated configuration : Intel i7-4790K 4,4 GHz 32 Go RAM 2x240Go SSD SOFT ------------------------------------ And this is a net graph take with the server full : [url]http://i.imgur.com/IwkdLxK.jpg[/url] Can you help me please ?
How many slots do you have for the server?
Only 42 !
How often does this happen?
When your server is full and lagging, try a quick map reload (map change). If the lag doesn't immediately stop then you have a bad addon somewhere on your server. If the lag does stop then comes back a little bit later then somebody is causing it.
It happen when server is full everydays... When we are 25 it's good but more 35 it begin laggy
With your hardware, you should not be hitting the CPU bottleneck so quickly. There is definitely something wrong with either your files, setup or in game.
[QUOTE=ertug20;49501814] If the lag does stop then comes back a little bit later then somebody is causing it.[/QUOTE] What the hell, where do you get your information from. A badly coded addon can cause a memory build up over time, you can't just say it's a player causing it.
[QUOTE=The Commander;49506686]What the hell, where do you get your information from. A badly coded addon can cause a memory build up over time, you can't just say it's a player causing it.[/QUOTE] If you want, I can write a 10 page encyclopedia on how to debug server lag. The whole point of my post is to give the guy a general idea of what he should be looking for. I get my information from my 6 years of experience with GMod, feedback from other people and debugging server issues. Where's your anger coming from? It seems like every other post that I put in, you tag it as dumb or disagree. I think that you and I just don't get along for some reason. I don't mind sitting down and talking about it privately if you would to get rid if your attitude. Anyways, This guy seems like he wants to just get directly to the point instead of sitting there for hours going through his addons to find out that it was caused by some person. I tried to give him a very generalized method to debug his server. Can the issue still be caused by an addon? Sure, anything's possible. It's just not very likely.
Download DBugR link here:[URL="https://github.com/oubliette32/DBugR"]https://github.com/oubliette32/DBugR[/URL] Either setup a local server with all of your addons or lock your dedicated server for now and run DBugR since it's a relatively heavy addon and spawn in bots to fill the server. Spawn in all of your entities and try using all of the addons you currently have. Next, open the graph and look mainly at the Server-P tab (since you probably want to stop the server lag before you do any client side optimization). Sort it by the highest value and you will probably find one of your many problems. You will either have to remove x addons that are heavy or optimize them yourself. Optimizing a server can be a pretty lengthy process and you will have to make addon sacrifices most likely. Also, I would recommend looking at your server.cfg and making sure it's configured correctly for a 20 tick server. Also note that if you have ULX installed, remove it when you run DBugR because it will block some default gamemode functions + some think and tick functions on the table. You can also run sv_stats 1 in console and then stats to check your current CPU usage.
Sorry, you need to Log In to post a reply to this thread.