• Server Freezing
    7 replies, posted
I have no idea why, but sometimes my server just freezes up for about 5 seconds and then starts working again. I don't know why this is happening, there are no errors in the console and my server's specs are very good. Can someone help me fix this? It makes the server unplayable.
I'm guessing it's a dedicated server. You'll want to monitor the server's CPU usage when this happens, it could also just be a network issue
[QUOTE=djjkxbox360;44572635]I'm guessing it's a dedicated server. You'll want to monitor the server's CPU usage when this happens, it could also just be a network issue[/QUOTE] Whoops I forgot to add that. I'm running it on CentOS 6 I run top in another session and it doesn't spike up when it freezes.
Are you maybe using functions that block the server such as file.Write(), file.Read() or maybe you are waiting for a sql query to finish? All of these are possibilities, but there are probably thousands more.
[QUOTE=syl0r;44573906]Are you maybe using functions that block the server such as file.Write(), file.Read() or maybe you are waiting for a sql query to finish? All of these are possibilities, but there are probably thousands more.[/QUOTE] Is there a log for those functions?
bump pls help
No there isn't, just search through your lua files for that stuff. Also you can check your garrysmod/data folder in the server and check if there are any excessively big files. (100kb+)
it does this if you dont restart it every day or so depending on your computer
Sorry, you need to Log In to post a reply to this thread.