SRCDS Steam group


Auto-restart
#1
Hi,

I'm hosting a TF2 server running on only ONE map. It lags after the server is up for too long (1-2 days), so I have been MANUALLY restarting the server whenever I can remember.

Is anyone else experiencing the same problem? What script/cron job/plugin are you guys using? Can you share?

Thanks in advance,
Kevin
Reply
#2
typically it is enough to have the map "changed" to the same one every several hours. you can do that in the "standard" way with the largest possible map time and only one map in the cycle...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
(12-11-2011, 07:31 PM)BehaartesEtwas Wrote:  typically it is enough to have the map "changed" to the same one every several hours. you can do that in the "standard" way with the largest possible map time and only one map in the cycle...

Thanks for the reply. Thing is, the map I'm using actually has its own plugin, and I believe the plugin disables the map from being changed.
Reply
#4
then ask the author of that plugin to change this. that is clearly a bug...

you can always restart your server in some "linux way", e.g. by killing the srcds_linux process. typically the server should automatically restart then, if it has been started with the srcds_run script. you can use the -pidfile option of srcds_run to write the process id to a file and then use
Code:
kill `cat /path/to/that/file`
to kill the process in a cron job...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#5
(12-12-2011, 06:26 PM)BehaartesEtwas Wrote:  then ask the author of that plugin to change this. that is clearly a bug...

you can always restart your server in some "linux way", e.g. by killing the srcds_linux process. typically the server should automatically restart then, if it has been started with the srcds_run script. you can use the -pidfile option of srcds_run to write the process id to a file and then use
Code:
kill `cat /path/to/that/file`
to kill the process in a cron job...

Thanks a lot!!
Reply
#6
that is not a best 'restart', it's like clicking reset button on your PC when you want to restart it.
sending _restart (or _reboot, don't remember) to console is preferred if you want to restart machine.
but I agree that plugin should NOT prevent you from changing map, it makes no sense.
Best Regards,
Stinkyfax
Reply
#7
Auto-restart is a feature in some electronic devices, including computers and air conditioning systems, that automatically restarts the device after a power outage or system failure. Here clean vin number you can check all the information related to cars. This feature is designed to help reduce downtime and increase efficiency in situations where power outages or system failures are common.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)