Server freezes when a player joins

Post Reply
Awsomethefirst
New to forums
New to forums
Posts: 1
Joined: Sat Jan 20, 2018 4:22 pm

Server freezes when a player joins

Post by Awsomethefirst » Sat Jan 20, 2018 4:38 pm

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
Staff
Staff
Posts: 543
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Server freezes when a player joins

Post by Spray » Mon Jan 22, 2018 9:14 am

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