Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Linux)

Reply
 
Thread Tools Display Modes
Old 07-10-2006, 10:06 PM   #1
oceandographer
 
 
 
Guest
Posts: n/a
CPU usage and terrible lag.

Running on a linux platform. I run the latest version of manimod, sharedbans, StatsmeMinimum-Plugin. Tickrate 100, 28 player server up at a host by the name of mammothgames.

Lately I've noticed TERRIBLE lag. So I've run rcon stats command to see if I can see anything noticable.

Here's what it reports..

CPU....... In..............Out.............Uptime....Users... FPS.........Players
64.75......3972.45....9432.80......15...........0. ........60.96......11

Does any body know what could be causing this? Is any one else having this problem. Can any one tell me a way to fix this?

I thought that it could be a problem that's a result of one of the mods or maps we have.. But I don't think so. We just put up another server that has a fresh install with the latest version of manimod only. It reports the same thing and has the same exact problem : (
 
Reply With Quote
Old 07-10-2006, 11:53 PM   #2
iha81
 
 
 
Guest
Posts: n/a
You need a super computer just to run srcds. In fact there is no server right now that can run srcds.
  Reply With Quote
Old 07-11-2006, 02:11 AM   #3
Nakupelle
 
 
 
Guest
Posts: n/a
try without manimod then? Or maybe the server just cant handle 28 players with that high tickrate?
  Reply With Quote
Old 07-11-2006, 09:11 AM   #4
JCap334
 
Join Date: Nov 2004
Reputation: 0
Posts: 1,437
28 players with a 100 tickrate requires IMMENSE power, even a 3.0GHz Xeon couldn't handle that. I recommend decreasing your players to 24 with a 66 tickrate, or 20 players with a 100 tickrate.
JCap334 is offline   Reply With Quote
Old 07-11-2006, 09:52 AM   #5
iha81
 
 
 
Guest
Posts: n/a
How IMMENSE?
  Reply With Quote
Old 07-11-2006, 10:50 AM   #6
cc2iscool
 
Join Date: Jun 2006
Reputation: 0
Posts: 96
I've done 24 players @ 100tick on a single processor Intel system, runs high on processor load. I would personally recommend AMD if you're going to go for a hosting rig. You can fit alot more on the AMD than you can on the Intel system. I'm not sure if it's the HT, you could try turning HT off and seeing how it performs.
cc2iscool is offline   Reply With Quote
Old 07-11-2006, 03:34 PM   #7
Colster
 
Join Date: Feb 2005
Reputation: 0
Posts: 637
Same issue here, we usually run 2 1.3 and 2 source servers and noticed since the update terribly "jerky" gameplay and occasional big spikes that drop half the players, tried just one source with no plugins on there and still the same.

AMD64 3200 - 2GB RAM - 120GB SATA HDD running FC4
Colster is offline   Reply With Quote
Old 07-11-2006, 05:03 PM   #8
flash477
 
Join Date: Nov 2004
Reputation: 10
Posts: 1,207
Re: CPU usage and terrible lag.

Quote:
Originally posted by oceandographer
Lately I've noticed TERRIBLE lag. So I've run rcon stats command to see if I can see anything noticable.

Here's what it reports..

CPU....... In..............Out.............Uptime....Users... FPS.........Players
64.75......3972.45....9432.80......15...........0. ........60.96......11

Does any body know what could be causing this? Is any one else having this problem. Can any one tell me a way to fix this?
  1. FPS === Tickrate, Your server was only managing to hold 60fps, which is less than the 100 you should have for a 100 tick server
  2. SRCDS has a horrible memory leak which means that if it is not restarted every so often it eats up all available memory causing the server to use the swap, and thus lag.

    An "rcon quit" to restart the server should free up the memory. However once it hits the swap I like to do a full server restart to get rid of any swap usage (just a preference)
flash477 is offline   Reply With Quote
Old 07-11-2006, 07:22 PM   #9
kennycom
 
 
 
Guest
Posts: n/a
and once again I pimp whisper and his stuff on serverwiki.org on getting your server setup properly...

http://www.serverwiki.org/index.php/Advanced_Tickrate


What flavor of linux is on the box?
As as flash477 pointed out your box is not holding the fps... the problem there is that you need to have a linux kernel timer set at 1000 and not at the current default of 250 (maybe lower, I do not know if any of the distro's are going lower)

The max server FPS you will see on a linux box as about 334
  Reply With Quote
Old 07-11-2006, 10:43 PM   #10
oceandographer
 
 
 
Guest
Posts: n/a
Quote:
Originally posted by Colster
Same issue here, we usually run 2 1.3 and 2 source servers and noticed since the update terribly "jerky" gameplay and occasional big spikes that drop half the players, tried just one source with no plugins on there and still the same.

AMD64 3200 - 2GB RAM - 120GB SATA HDD running FC4
Ah good move trying a fresh install. I thought it might have been one of the mods I was using. I had the latest of (primary) manismod, the latest in (just for redirect)beetlesmod, sharedbans, vipmod, and hlstatsx for stats all installed. I've had service through a host called mammothgames for a couple years now and things have been fine. They upgraded the control panel they use and needed to move me to a different computer because of it. Pluss it was starting to have problems.

So 1 ip address and a different computer later, I type rcon stats at the HLSW console and it says with 25 people playing that the processor is running at 99% of its processing ability. We all know what that leads to... Any way, I used the control panel that came with the new server to completely reinstall and wipe out all mods and test again. Guess what? Same problem. Either mammothgames has a virus, or the last steam update hosed our linux dedicated servers. The only thing that I can think of as a fix for it now is what's mentioned about Kernel Timer Frequency. I can't get those guys to process what "Kernel Timer Frequency" means though.. I think their just putting me off because of some (X variable they don't want to share with me lol)

Quote:
Originally posted by kennycom
and once again I pimp whisper and his stuff on serverwiki.org on getting your server setup properly...

http://www.serverwiki.org/index.php/Advanced_Tickrate


What flavor of linux is on the box?
As as flash477 pointed out your box is not holding the fps... the problem there is that you need to have a linux kernel timer set at 1000 and not at the current default of 250 (maybe lower, I do not know if any of the distro's are going lower)

The max server FPS you will see on a linux box as about 334
I know they said FC something.. I'm assuming that's Fedora Core. They said it was either version 24, 28, or 29. Not sure. I'll ask if I don't just change hosts.

TY ALL for the help and responses. I'll be keeping an eye on this post as I'd like to see if others are experiencing a problem as well.

STEAM, you've been yelled at enough by the world. I won't play the blame game. J/K ^_^

Last edited by oceandographer: 07-11-2006 at 10:46 PM.
  Reply With Quote
Old 07-11-2006, 11:12 PM   #11
cc2iscool
 
Join Date: Jun 2006
Reputation: 0
Posts: 96
Apparently a while back loads were much better, and now since updates it's just gotten worse and worse.
cc2iscool is offline   Reply With Quote
Old 07-11-2006, 11:22 PM   #12
iha81
 
 
 
Guest
Posts: n/a
How come valve dont admit they messed something up and at least try to fix it ? this is just crazy, how will people run their gaming servers!!
  Reply With Quote
Old 07-14-2006, 11:56 AM   #13
NitOxYs
 
Join Date: Oct 2004
Reputation: 0
Posts: 535
Recompile your kernel, get rid of the slack, and a 20 man full pub 100tick and gungame mods takes up around 45% cpu.
NitOxYs is offline   Reply With Quote
Old 07-14-2006, 12:09 PM   #14
Colster
 
Join Date: Feb 2005
Reputation: 0
Posts: 637
Thats still pretty extreme given that most GSP's would look to run 4 servers on the spec I gave above
Colster is offline   Reply With Quote
Old 07-14-2006, 12:37 PM   #15
NitOxYs
 
Join Date: Oct 2004
Reputation: 0
Posts: 535
I actually limit 4 source servers per box.
NitOxYs is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Dedicated Server Discussions > Source DS (Linux)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 11:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.