[Please only reply if you KNOW a solution or had a server with over 40 ppl in or so]
I come from frustrated community.. Yeah.. So, basically. We're having trouble with lag..
Our one and only Gmod server is lagging after like, idk.. an hour or so? When we have 35 players on it's really bad (unless it's right after a restart)
We've tried different things but nothing seems to work. The owner of the community (i'm his right hand if we can call it that..) thinks it's the ping and there's a lot of traffic coming from somewhere.
While I think it's from.. yeah idk.. the addons?
What settings do you have for the optimization? Like:
fps_max
sv_minrate
sv_stats
sv_maxrate
sv_mincmdrate
sv_maxcmdrate
cl_updaterate
sv_minupdaterate
cl_cmdrate
pwease halph.
Here is 1/4 defaults I have(Try this):
sv_minrate 0
sv_maxrate 20000
sv_maxupdaterate 66
sv_minupdaterate 10
Plus tell me what is your server, does it run or a website? Tell me what the game provider is. If not tell me yes or no so I can help.
[QUOTE=Zeo Mause;43428125]Here is 1/4 defaults I have(Try this):
sv_minrate 0
sv_maxrate 20000
sv_maxupdaterate 66
sv_minupdaterate 10
Plus tell me what is your server, does it run or a website? Tell me what the game provider is. If not tell me yes or no so I can help.[/QUOTE]
The server is a gameserver, we have a dedicated one. And yes it runs a website as well. Our forum where we have about 10-20 people 24/7. But nothing downloadable from the forum. The only way there is traffic, is from our fastdl. (We don't use the workshop for much)
I'm going to assume you're hosting this server somewhere? Who's your host?
(If you're hosting this from home, then there's your answer. You probably don't have enough bandwidth to support the player-total.)
You may want to consider hosting your website on a separate box as well due to the fact if you were to be DDOS'd it would probably knock both your Game-server and your website offline.
This is not an issue of ping, it's an issue with how many players you have on the server at that moment.
To see if it's the server that's lagging and not the ping, you can enable net_graph 4 or net_graph 5, don't remember exactly which one it is, but it should look like the image below. On the image, there's some red spikes that are marked, if those appear when you are playing on your server when it lags, then you know it's your server that's having difficulties keeping everything together.
[IMG]http://i.imgur.com/5Wx8N.jpg[/IMG]
This happens when you have alot of players or alot of physics on the server, causing the machine that the game server is hosted on using 100% of it's assigned core's usage. You don't have to change any of the rates in the server.cfg, but you should add this to your startup params "+tickrate 33". This will make the server update itself alot less frequently, but you or your players won't notice any difference.
What CPU model does your machine have? A GMod server requires a CPU with a high clock-rate, such as 3.4Ghz would be great! The higher the clockrate is, the more players or physics your server will be able to handle.
SRCDS isn't multi-threaded, so even if you have a quad-core CPU with 2.6Ghz, a dual-core with 3.8Ghz would operate the server alot better.
Good luck dood! :quagmire:
Sorry, you need to Log In to post a reply to this thread.