Ulysses
General => Off-Topic => Topic started by: fetz 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
-
Install CSS.
Or...
Get better host.
One of those will work.
-
Actually, where is the server physically located?
-
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?
-
Do your players live near New York?
I manually upload CSS to the addon folder.
app_update isn't reliable.
-
Using app_update is fine as long as you make sure to set up your mount.cfg properly.
Here is what mine looks like:
//
// 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.
-
Well...it's more of a preference thing. :)
-
Using app_update is fine as long as you make sure to set up your mount.cfg properly.
Here is what mine looks like:
//
// 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
//
// 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
-
Using app_update is fine as long as you make sure to set up your mount.cfg properly.
Here is what mine looks like:
//
// 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?
-
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
-
Alright. Sounds easier to just drag cstrike folder into addons? This should work too right?
-
Alright. Sounds easier to just drag cstrike folder into addons? This should work too right?
Yeah, pretty much.
-
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.
-
You realize low ping is a good thing, right?
-
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.
-
Yes I know low ping is good.
I am just pointing out that the ping(s) are very good. Also CPU and RAM is very good. Yet the server is still lagging.
Thanks, Fetz
-
Also I still notice you can walk through props even after moving cstrike folder into my addons folder.
But some props you CAN'T walk through anymore. Should I also move hl2 into addons folder?
-
What props can you walk through?
You don't need to move HL2. garrysmod comes with HL2 props already.
Your map may be using Episode2 or Episode1 or content from another game.
Take a screenshot of the prop(s) you can walk through and post it here please.
-
Here is a couple of the model names on one map:
(http://img707.imageshack.us/img707/1319/phuq.png)
-
Those are CS:S. Moving the CS:S folder into your addons folder won't just WORK.
It would if you set it up like an addon, but it's not. You need to extract the models from the CS:S vcd files and move them into your garrysmod root. Or just mount CS:S properly.
-
The props I can still walk through. Here is my mount.cfg (I am on linux)
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//
"mountcfg"
{
// "cstrike" "/home/steam/css/cstrike"
// "tf" "C:\mytf2server\tf"
}
-
The props I can still walk through. Here is my mount.cfg (I am on linux)
//
// Use this file to mount additional paths to the filesystem
// DO NOT add a slash to the end of the filename
//
"mountcfg"
{
// "cstrike" "/home/steam/css/cstrike"
// "tf" "C:\mytf2server\tf"
}
I hope css is actually installed to that directory..?
:P
-
Well, I'd say your issue is that cstrike is not being mounted and is being commented out...
-
Indeed. // = comment for mount cfg
-
lmao xD
-
lmao xD
Not that funny syn. :)
What gets printed in below lua code?
print "Hello"
print "World"
print "I"
--print "Hate"
--print "You"
--print "I"
print "Love
print "You"
-
Hello World I Love You :) cmon Jam give me something harder :D
(to be honest you almost got me)
-
Trick question, half right.
Print " " would produce errors. True lua print command would be print ("<string>")
You got the idea on comments in lua though. -- is the true way. Garry added C style /* code */
Now, back on topic. Lag/css mounting.
Sorry, beyond my experience.
Google would be my friend, along with what little is in the gmod wiki.
-
Well, I'd say your issue is that cstrike is not being mounted and is being commented out...
Wow I feel really stupid xD
Thanks :(
-
Make sure that the directory of the cstrike folder is actually correct, and don't just uncomment it.