Server freezes when a player joins

Post Reply
Awsomethefirst
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Jan 20, 2018 4:22 pm

Server freezes when a player joins

Post by Awsomethefirst »

I have no clue why this could be happening, but whenever a player joins the server it freezes for 1 - 5 seconds... My CPU usage is fine when this is happening. I am running 16 tickrate, and I don't have any addons that are optimized... I have seen this same issue on other servers and online, but I can't find anyone explaining what they did to fix it. If you know what's happening or any suggestions please help :/

some things I found online:
https://gmod.facepunch.com/f/gmodhelp/g ... rs-join/1/
https://github.com/TeamUlysses/ulx/issues/59
https://steamcommunity.com/app/4000/dis ... 138660238/
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Server freezes when a player joins

Post by Spray »

In most cases this would be triggered by custom content on the server. Do you have any addons or scripts that connect to MySQL and run a query when a player joins? We've seen some cases in the past where a SQL query will cause a hiccup on player join due to some delay on the response of the query.

Beyond this, I would try looking to see if any errors are being logged as players join. If no errors are present, then removing custom content one part at a time until these issues stop would be the most concrete method of determining which piece of content is triggering the problem.
Post Reply