Edge100x wrote:You'll need to run chrt on the outside of everything, since it requires root permissions.
I also strongly recommend using "screen" instead of running in the background with "&". We describe how to use "screen" in our KB article.
Hello, My server crashed and it didn't back after crash like before, I was using "&" at the end of startup command line to run servers, Now i'm using screen...
Startup line:
Code: Select all
screen -AmdS AutoMix chrt -r 20 su steam -c 'cd /home/steam/steamcmd/27015 && ./hlds_run -game cstrike -master -secure -autoupdate -restart -pingboost 3 +port 27015 -ip 104.40.189.90 +maxplayers 11 -noipx -sys_ticrate 1000 +sv_lan 0 +map de_dust2'
Console:
Code: Select all
screen -DR AutoMix
L 12/11/2014 - 09:21:59: ----------Current Map added to map history----------
couldn't exec listip.cfg
Dropped S?Ã?-x!X!x.exe from server
Reason: Client sent 'drop'
Dropped !~ Ka[N]oN ~! #CR7 from server
Reason: Client sent 'drop'
Ignoring custom decal from so favorite
Ignoring custom decal from -RoZmie-
Ignoring custom decal from Nesqo~Jihad*2005*
Ignoring custom decal from 3amm ba55 :D
Ignoring custom decal from Hamlet
Ignoring custom decal from Cr0w
Ignoring custom decal from vIkInG<3
Ignoring custom decal from alaa!@#$!
86.86.140.234:27005:reconnect
Dropped Jxerot from server
Reason: Client sent 'drop'
86.86.140.234:27005:reconnect
Ignoring custom decal from Jxerot
Ignoring custom decal from GyrO
Values must be valid utf8 text
./hlds_run: line 255: 1763 Segmentation fault (core dumped) $HL_CMD
Code: Select all
] rcon version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)
Code: Select all
] rcon meta version
Metamod v1.21.1-am 2013-09-26 (5:13)
by Will Day <willday@metamod.org>
http://www.metamod.org/
compiled: Sep 26 2013, 17:09:41 -0500 (optimized)
Code: Select all
] rcon meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 2] Fun RUN - fun_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 3] CStrike RUN - cstrike_amxx_i38 v1.8.2 pl1 ANY ANY
[ 4] CSX RUN - csx_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 5] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl1 ANY ANY
[ 6] Engine RUN - engine_amxx_i386 v1.8.2 pl1 ANY ANY
[ 7] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl1 ANY ANY
7 plugins, 7 running ( Hiding dproto ) :$
Code: Select all
] rcon amxx version
AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:55:09
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32
Code: Select all
] rcon amxx plugins
Currently loaded plugins:
name version author file status
[ 1] FakeFull Original 1.7.6 JTP10181/Freecod fakefull_origin running
[ 2] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 3] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 4] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 5] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 6] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 7] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 8] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 9] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 10] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 11] Ping Faker 1.5a MeRcyLeZZ pingfaker.amxx running
[ 12] Auto Join on Connect 0.1 VEN auto_join_on_co running
[ 13] Auto Demo Recorder 1.5 IzI automix1_demore running
[ 14] Don't say IPs 0.1 JGHG dontsayips.amxx running
[ 15] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 16] ResetScore 0.2.0 aNNakin resetscore.amxx running
[ 17] Invisible Spectator 0.2 ConnorMcLeod invisible_spect running
[ 18] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 19] AFK Kicker 1.0b Cheesy Peteza afkkicker.amxx running
[ 20] Vote Ban 1.0 Alka voteban.amxx running
[ 21] Auto-Mix 1.1.9-F p1Mp(Mod ~UN!COR pimpspug.amxx running
[ 22] StatsX 1.8.2 AMXX Dev Team stats_pug.amxx running
[ 23] RTV for Auto-Mix 2.1 ~UN!CORN~ rtv4automix.amx running
23 plugins, 23 running
Code: Select all
] rcon status
hostname: ViRuSeS #1 >> Auto-Mix PUG |Steam Only|
version : 48/1.1.2.7/Stdio 6153 secure (10)
tcp/ip : 10.0.0.4:27015
map : de_dust2 at: 0 x, 0 y, 0 z
players : 10 active (11 max)
# name userid uniqueid frag time ping loss adr
# 1 "ViRuSeS # [D]'a [V]'!Ru$" 39 STEAM_0:0:69510598 0 05:35 91 0 79.173.221.213:27474
# 2 "G#guNN`" 5 STEAM_0:1:90774497 10 25:56 143 0 41.131.193.168:27005
# 3 "eMg - UnKnOwN Pro '.^ #GaZzA" 8 STEAM_0:0:92120955 0 22:38 101 0 79.179.153.103:27005
# 4 "Om4R@ScreaMMMMMMMMMMMMMMMMMMMMM" 42 STEAM_0:0:65073496 2 04:00 98 0 94.249.31.237:27005
# 5 "HuN" 49 STEAM_0:1:87480693 0 01:27 26 0 81.170.202.186:55167
# 6 "OTM" 19 STEAM_0:1:6404632 9 17:39 58 0 105.106.56.221:27005
# 8 "Why Always ME?!" 12 STEAM_0:0:855203 19 21:17 26 0 188.230.195.217:27005
# 9 "need for w33d :D" 13 STEAM_0:0:96880282 13 21:03 43 0 92.37.47.218:27005
#10 "YKH" 14 STEAM_0:1:81275377 22 20:15 75 0 5.43.199.123:27005
#11 "N.S ~ TiTO`" 41 STEAM_0:1:86854086 1 04:40 95 0 185.12.187.183:10811
10 users
Do you think because of screens ?? What should i do now to back to auto restart on crash !?