Gmod server connection issues when disconnecting RDP session

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
ab0mbs
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Feb 08, 2014 7:10 pm

Gmod server connection issues when disconnecting RDP session

Post by ab0mbs »

I have a Gmod server running under an account on my VPS and when I disconnect the RDP session (I don't log off I just click X) it causes the red connection error to popup in the gmod server for a little bit and then recovers.

I have a feeling its something to do with disconnecting the session and causing the program to freeze up for a second while the session is getting thrown into the background. Is there anyway to prevent this?
Thanks
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Gmod server connection issues when disconnecting RDP ses

Post by kraze »

In some cases seeing small server lag/skips when someone is connected to RDP or doing something over RDP is normal, but I wouldn't expect it to be a recurring pattern. What size is your VDS?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
ab0mbs
New to forums
New to forums
Posts: 3
Joined: Sat Feb 08, 2014 7:10 pm

Re: Gmod server connection issues when disconnecting RDP ses

Post by ab0mbs »

Virtual CPU cores: 3
Memory size: 3072 MB
Standard hard drive size: 300 GB

Whenever I'm connected to RDP I've never seen any lag issues. It's only when disconnecting.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Gmod server connection issues when disconnecting RDP ses

Post by kraze »

Is the VDS under heavy load or anything?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Gmod server connection issues when disconnecting RDP ses

Post by Edge100x »

ab0mbs, I recommend running the server as a Windows service through software such as Firedaemon, as it won't be tied to your Windows session that way. It's also best to administer the server through rcon instead of through the console (if you're currently doing it through the console).
ab0mbs
New to forums
New to forums
Posts: 3
Joined: Sat Feb 08, 2014 7:10 pm

Re: Gmod server connection issues when disconnecting RDP ses

Post by ab0mbs »

I like to keep an eye on the console output sometimes and also have a powershell script run when the server crashes to update some non-workshop addons.
Would firedaemon allow me to keep a script like that and also allow me to see ALL the console output?
Thanks
Post Reply