Author Topic: Very Strange Lag.  (Read 9338 times)

0 Members and 2 Guests are viewing this topic.

Offline fetz

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Very Strange Lag.
« on: January 19, 2014, 03:30:57 PM »
I am hosting a Garry's Mod TTT Server on Linux (SteamCMD). Throughout playing player(s) walking will be choppy and going up/down ladders is really choppy. You can also walk through props.

My server is using 30% CPU usage and 50% RAM. Everyone has 40-120 ping. The servers upspeed is about 200 mb/s.


I am guessing it is something I am doing wrong starting the server?

I am only running pointshop addon plus some custom player models.



Thanks in advanced, Fetz


P.S. I hear a bunch about "Server FPS Lag"... how can I tell how much FPS my server is getting? Also here is the specs:
1024 MB of Guaranteed RAM
1024 MB of Swap
3 CPU @ 2.0+ Ghz
1 IPv4 Address
50 GB of Disk
2 TB of Bandwidth

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #1 on: January 19, 2014, 04:05:48 PM »
Install CSS.
Or...
Get better host.

One of those will work.
Out of the Garry's Mod business.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #2 on: January 19, 2014, 04:09:41 PM »
Actually, where is the server physically located?
Out of the Garry's Mod business.

Offline fetz

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Very Strange Lag.
« Reply #3 on: January 19, 2014, 04:16:15 PM »
Is located in New York. My host is fine.

I app_update'd CSS.


It still didn't fix it. Do I have to app_update CSS in a certain directory?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #4 on: January 19, 2014, 04:20:16 PM »
Do your players live near New York?

I manually upload CSS to the addon folder.
app_update isn't reliable.
« Last Edit: January 19, 2014, 04:22:31 PM by Neku »
Out of the Garry's Mod business.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Very Strange Lag.
« Reply #5 on: January 19, 2014, 04:43:36 PM »
Using app_update is fine as long as you make sure to set up your mount.cfg properly.

Here is what mine looks like:

Code: [Select]
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//

"mountcfg"
{
"cstrike" "C:\gameservers\garrysmod\gmstranded\cstrike"
}


While I'm not 100% sure on this, I would imagine it is far more efficient to load an entire game's worth of content as a mount than through the addons folder.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #6 on: January 19, 2014, 04:52:27 PM »
Well...it's more of a preference thing.  :)
Out of the Garry's Mod business.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Very Strange Lag.
« Reply #7 on: January 19, 2014, 05:20:43 PM »
Using app_update is fine as long as you make sure to set up your mount.cfg properly.

Here is what mine looks like:

Code: [Select]
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//

"mountcfg"
{
"cstrike" "C:\gameservers\garrysmod\gmstranded\cstrike"
}


While I'm not 100% sure on this, I would imagine it is far more efficient to load an entire game's worth of content as a mount than through the addons folder.
Make sure to alert him of the need of changing the directory. :P
Code: [Select]
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//

"mountcfg"
{
"cstrike" "<INSTALL PATH FOR CSTRIKE>"
}
:p
bw81@ulysses-forums ~ % whoami
Homepage

Offline fetz

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Very Strange Lag.
« Reply #8 on: January 19, 2014, 05:58:41 PM »
Using app_update is fine as long as you make sure to set up your mount.cfg properly.

Here is what mine looks like:

Code: [Select]
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//

"mountcfg"
{
"cstrike" "C:\gameservers\garrysmod\gmstranded\cstrike"
}


While I'm not 100% sure on this, I would imagine it is far more efficient to load an entire game's worth of content as a mount than through the addons folder.

And I should add this to lua/autorun?

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Very Strange Lag.
« Reply #9 on: January 19, 2014, 06:53:47 PM »
And I should add this to lua/autorun?
No. This should go to your server's /cfg/ directory.
Sorry, shoulda pointed that out as well. :P
bw81@ulysses-forums ~ % whoami
Homepage

Offline fetz

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Very Strange Lag.
« Reply #10 on: January 20, 2014, 12:30:00 PM »
Alright. Sounds easier to just drag cstrike folder into addons? This should work too right?

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #11 on: January 20, 2014, 01:23:14 PM »
Alright. Sounds easier to just drag cstrike folder into addons? This should work too right?

Yeah, pretty much.
Out of the Garry's Mod business.

Offline fetz

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Very Strange Lag.
« Reply #12 on: January 20, 2014, 02:00:29 PM »
Installed htop to moniter the CPU and RAM... they never go over 60% and yet I am still getting lag on the server. Everyones ping is below 100.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Very Strange Lag.
« Reply #13 on: January 20, 2014, 02:19:02 PM »
You realize low ping is a good thing, right?
Out of the Garry's Mod business.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Very Strange Lag.
« Reply #14 on: January 20, 2014, 02:27:15 PM »
You realize low ping is a good thing, right?
If he doesn't...
*facehoof*
Ping is the time (in milliseconds) it takes for your client to respond to a request sent out by a server. The lower, the better.
bw81@ulysses-forums ~ % whoami
Homepage