Raised This Month: $51 Target: $400
 12% 

Linux server always start to lag after a long day


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 12-27-2013 , 11:52   Linux server always start to lag after a long day
Reply With Quote #1

Using the following VPS specs to host a 10VS10 L4D2.

Linux: Ubuntu 13.04 (without desktop environment)
3GB RAM
4GB vSwap
4 vCPU Core
80GB Disk space
2TB Bandwidth
100Mbps uplink

When I start the srcds as new and play at this server with a ping of 200, even with 20/20 players my game is still smooth and only with little lag.

However, after a long day (12 hours later) when I join the server again I start to experience obvious lag issue. I have to restart my srcds and the lag will be gone but only be back again after long hours.

Anybody know why is it like this?
winged_box is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-27-2013 , 12:52   Re: Linux server always start to lag after a long day
Reply With Quote #2

Is this on a server that never changes maps?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 12-27-2013 , 14:02   Re: Linux server always start to lag after a long day
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
Is this on a server that never changes maps?
It change map using automatic campaign switcher (ACS) plugin.
winged_box is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 12-27-2013 , 17:35   Re: Linux server always start to lag after a long day
Reply With Quote #4

Almost always are servers (hosted) restarted every day at certain time (4:00 was my case) to clear RAM because it would get laggy. Do you restart it everyday?
__________________
luki1412 is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 12-28-2013 , 07:24   Re: Linux server always start to lag after a long day
Reply With Quote #5

Quote:
Originally Posted by luki1412 View Post
Almost always are servers (hosted) restarted every day at certain time (4:00 was my case) to clear RAM because it would get laggy. Do you restart it everyday?
You mean just close the srcds and open it again or reboot the whole server machine?

So I guess the other people who host also will restart their server everyday, it does help to clear the lag issue.

Last edited by winged_box; 12-28-2013 at 07:34.
winged_box is offline
Ms. Trooper
Senior Member
Join Date: Nov 2012
Old 12-28-2013 , 15:16   Re: Linux server always start to lag after a long day
Reply With Quote #6

I noticed that If I leave my server on for longer than 24h it crashes due to some ram error. Most people restart their server every 24h. Managed servers even do it by default.

Last edited by Ms. Trooper; 12-28-2013 at 15:16.
Ms. Trooper is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 12-31-2013 , 17:52   Re: Linux server always start to lag after a long day
Reply With Quote #7

Quote:
Originally Posted by winged_box View Post
You mean just close the srcds and open it again or reboot the whole server machine?

So I guess the other people who host also will restart their server everyday, it does help to clear the lag issue.
Just the srcds. I think it is on every game hosting. It is necessary. You can disable it there but you risk such problems. Just restart it everyday at 4 o clock when nobody is playing (usually).
__________________
luki1412 is offline
winged_box
Senior Member
Join Date: Aug 2013
Location: Singapore
Old 01-01-2014 , 12:00   Re: Linux server always start to lag after a long day
Reply With Quote #8

Quote:
Originally Posted by luki1412 View Post
Just the srcds. I think it is on every game hosting. It is necessary. You can disable it there but you risk such problems. Just restart it everyday at 4 o clock when nobody is playing (usually).
I will restart it daily before i go to bed.
winged_box is offline
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode