Raised This Month: $2 Target: $400
 0% 

lag after the online server for a long time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wilianmaique
BANNED
Join Date: Nov 2016
Old 05-05-2020 , 18:14   lag after the online server for a long time
Reply With Quote #1

oops, good night, i have the following doubt, my server is connected 8-10 days and most of the plugins are my own. and all these plugins I put to reset the variables in the 'client_disconnected', leaving them in 'false' and I noticed that little by little the server is starting to lag, then I did a test and turned off the server and started the lag leave.

now i was wondering if the plugins cause this lag, some kind of 'cache' or if they are the rate settings etc ...



my config.


Code:
AMXMODX:  1.10.0.5392

sv_downloadurl "xxxx"
sv_allowdownload "1"
sv_allowupload "0"
sv_password ""
sv_rcon_banpenalty "120"
sv_rcon_maxfailures "3"
sv_rcon_minfailures "5"
sv_rcon_minfailuretime "30"
rcon_password "xxxx"
mp_logmessages "0"
mp_logfile "0"
mp_logecho "0"
mp_autokick "0"
mp_buytime "0.50"
mp_consistency "1"
mp_c4timer "45"
mp_freezetime "0"
mp_hostagepenalty "0"
mp_roundtime "2"
mp_timelimit "0" // 0= ilimitado
mp_maxmoney "80000"
mp_startmoney "80000"
mp_playerid "1"
sv_region 255
sv_airaccelerate "20"
sv_accelerate "20"
sv_maxspeed "2000"
sv_alltalk "3"
sv_voicecodec "voice_speex"
sv_voiceenable "1"
sv_voicequality "5"
sv_cheats "0"
sv_contact "xxx"
sv_unlag "1"
sv_maxunlag "0.1"
sv_unlagsamples "1"
sv_minrate "50000"
sv_maxrate "80000"
sv_minupdaterate "35"
sv_maxupdaterate "101"
sv_filetransfercompression "0" // evita criar arquivos temporarios (*.ztmp)

clockwindow "0.1"
sys_ticrate "1000.0"
fps_max "1000.0"

listipcfgfile​ "listip.cfg"
syserror_logfile​ "sys_error.log"
sv_auto_precache_sounds_in_models​ "0"
sv_delayed_spray_upload​ "0"
sv_echo_unknown_cmd​ "0"
sv_rcon_condebug​ "0"
sv_force_ent_intersection​​ "0"
sv_rehlds_force_dlmax​​ "0"
sv_rehlds_hull_centering​​ "0"
sv_rehlds_movecmdrate_max_avg​​ "40000"
sv_rehlds_movecmdrate_avg_punish​​ "-1"
sv_rehlds_movecmdrate_max_burst​​ "40000"
sv_rehlds_movecmdrate_burst_punish​​ "-1"
sv_rehlds_send_mapcycle​​ "0"
sv_rehlds_stringcmdrate_max_avg​​ "40000"
sv_rehlds_stringcmdrate_avg_punish​​ "-1"
sv_rehlds_stringcmdrate_max_burst​​ "40000"
sv_rehlds_stringcmdrate_burst_punish​​ "-1"
sv_rehlds_userinfo_transmitted_fields​​ "\name\model\*sid\*hltv\bottomcolor\topcolor"
sv_rehlds_attachedentities_playeranimationspeed_fix​​ "1"
sv_rehlds_maxclients_from_single_ip​​ "10"
sv_use_entity_file​​ "0"
sv_rehlds_local_gametime​​ "0"

startup settings:


Code:
nice -n -12 ./hlds_run -game cstrike +ip xxx +port xxx +maxplayers 32 +sys_ticrate 1000.0 -pingboost 3 +map de_dust2 +servercfgfile server.cfg +mapchangecfgfile server.cfg -master -secure
rehlds:


Code:
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.7.0.695-dev
Build date: 15:54:29 Apr  6 2020 (2186)
Build from: https://github.com/dreamstalker/rehlds/commit/7513e71

Last edited by wilianmaique; 05-05-2020 at 19:21.
wilianmaique is offline
Send a message via Skype™ to wilianmaique
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-05-2020 , 18:46   Re: lag after the online server for a long time
Reply With Quote #2

Why do you have all these after your cvars: "&#8203"

Show the other outputs:
meta list
amxx plugins
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
wilianmaique
BANNED
Join Date: Nov 2016
Old 05-05-2020 , 19:20   Re: lag after the online server for a long time
Reply With Quote #3

Quote:
Originally Posted by DruGzOG View Post
Why do you have all these after your cvars: "​"

Show the other outputs:
meta list
amxx plugins
1 - bug forum

meta list:
Code:
Currently loaded plugins:
      description      stat pend  file                       vers            src  load  unload
 [ 1] Reunion          RUN   -    reunion_mm_i386.so         v0.1.0.92c      ini  Start Never
 [ 2] WHBlocker        RUN   -    whblocker_mm_i386.so       v1.5.696        ini  Chlvl ANY  
 [ 3] ReAuthCheck      RUN   -    reauthcheck_mm_i386.so     v0.1.6          ini  Start Never
 [ 4] Rechecker        RUN   -    rechecker_mm_i386.so       v2.5            ini  Chlvl ANY  
 [ 5] VoiceTranscoder  RUN   -    vtc.so                     v2017RC5        ini  ANY   ANY  
 [ 6] AMX Mod X        RUN   -    amxmodx_mm_i386.so         v1.10.0.5392    ini  Start ANY  
 [ 7] CStrike          RUN   -    cstrike_amxx_i386.so       v1.10.0.5392    pl6  ANY   ANY  
 [ 8] CSX              RUN   -    csx_amxx_i386.so           v1.10.0.5392    pl6  ANY   ANY  
 [ 9] Ham Sandwich     RUN   -    hamsandwich_amxx_i386.so   v1.10.0.5392    pl6  ANY   ANY  
 [10] Fun              RUN   -    fun_amxx_i386.so           v1.10.0.5392    pl6  ANY   ANY  
 [11] Engine           RUN   -    engine_amxx_i386.so        v1.10.0.5392    pl6  ANY   ANY  
 [12] FakeMeta         RUN   -    fakemeta_amxx_i386.so      v1.10.0.5392    pl6  ANY   ANY  
 [13] GeoIP            RUN   -    geoip_amxx_i386.so         v1.10.0.5392    pl6  ANY   ANY  

 [14] hackdetector     RUN   -    hackdetector_amxx_i386.so  v0.15.328.lite  pl6  ANY   ANY  
14 plugins, 14 running

plugins:

Code:
Currently loaded plugins:
       name                    version     author            file             status   
 [  1] CS Revo: Redirect no-s  1.0         Wilian            csr_redirect_no  running  
 [  2] CS Revo: Sistema de ba  1.0         Wilian            csr_system_bans  running  
 [  3] Admin Base              1.10.0.539  AMXX Dev Team     admin.amxx       running  
 [  4] Admin Commands          1.9.0.5234  AMXX Dev Team     csr_admincmd.am  running  
 [  5] Admin Help              1.9.0.5234  AMXX Dev Team     adminhelp.amxx   debug    
 [  6] Slots Reservation       1.10.0.539  AMXX Dev Team     adminslots.amxx  running  
 [  7] Multi-Lingual System    1.10.0.539  AMXX Dev Team     multilingual.am  running  
 [  8] Menus Front-End         1.10.0.539  AMXX Dev Team     menufront.amxx   running  
 [  9] Commands Menu           1.10.0.539  AMXX Dev Team     cmdmenu.amxx     running  
 [ 10] Players Menu            1.9.0.5234  AMXX Dev Team     csr_plmenu.amxx  running  
 [ 11] Teleport Menu           1.10.0.539  AMXX Dev Team     telemenu.amxx    running  
 [ 12] Maps Menu               1.10.0.539  AMXX Dev Team     mapsmenu.amxx    running  
 [ 13] Plugin Menu             1.10.0.539  AMXX Dev Team     pluginmenu.amxx  running  
 [ 14] Anti Flood              1.9.0.5234  AMXX Dev Team     antiflood.amxx   running  

 [ 15] Admin Chat              1.0         SAMURAI           Amxmod_Chat.amx  running  
 [ 16] Scrolling Message       1.10.0.539  AMXX Dev Team     scrollmsg.amxx   running  
 [ 17] Info. Messages          1.10.0.539  AMXX Dev Team     imessage.amxx    running  
 [ 18] Admin Votes             1.10.0.539  AMXX Dev Team     adminvote.amxx   running  
 [ 19] Pause Plugins           1.10.0.539  AMXX Dev Team     pausecfg.amxx    running  
 [ 20] Stats Configuration     1.10.0.539  AMXX Dev Team     statscfg.amxx    running  
 [ 21] Restrict Weapons        1.10.0.539  AMXX Dev Team     restmenu.amxx    running  
 [ 22] Map Spawns Editor       1.0.16      iG_os             Map_Spawns_Edit  running  
 [ 23] CS Revo: Sistemas de m  1.0         Wilian M.         csr_moedas.amxx  running  
 [ 24] Hostage Protection      1.8         HamletEagle       csr_hostage_pro  paused   
 [ 25] CS Revo: Auto Restart   1.0         Wilian M.         csr_auto_restar  running  
 [ 26] Center Msg Fix          0.4         mx?!              CenterMsgFix.am  running  
 [ 27] WalkGuard               1.3.2       mogel             csr_walkguard.a  running  
[ 28] Exec                    1.0         ToXiC             csr_execall.amx  running  
 [ 29] ReChecker Logging       1.0         custom            rc_logging.amxx  running  

 [ 30] CS Revo: Auto Desbug    1.1         Wilian M.         csr_auto_desbug  running  
 [ 31] Round Sounds            1.0         Wilian M.         csr_roundsounds  running  
 [ 32] CS Revo: Top 10 Facas   1.0         Wilian M.         csr_top_knifesP  running  
 [ 33] CS Revo: Dinheiro Infi  1.0         Wilian M.         csr_infinity_mo  running  
 [ 34] CS Revo: Money HUD Eff  0.9         Sh!nE             csr_money_hud_e  paused   
 [ 35] CS Revo: Contato        1.0         Wilian M.         csr_contato.amx  running  
 [ 36] Dynamic sky             1.0         Sneaky.amxx | Gl  csr_dynamicsky.  running  
 [ 37] CS Revo: Linha da mort  1.0         Wilian M.         csr_linha_morte  running  
 [ 38] Mortal Kombat Miscstat  1.0 SP1     AMXX Dev Team/Si  csr_miscstats_m  running  
 [ 39] CS Revo: Admin vencime  1.2         Wilian M.         csr_vencimentos  running  
 [ 40] CS Revo: VIP no TAB     1.0         Wilian M.         csr_vip_scorebo  running  
 [ 41] CS Revo: Aquecimento F  1.0         Wilian M.         csr_aquecimento  running  
 [ 42] InName Combo Kills      0.0.2       wopox1337         csr_name_combo_  running  
 [ 43] CS Revo: Bem vindo!     1.3         Wilian M.         csr_bem_vindo_a  running  
 [ 44] CS Revo: Listar Com sX  1.0         Wilian M.         csr_list_all_sx  running  

 [ 45] CS Revo: Kill Ghost     1.0         Wilian M.         csr_kill_ghost.  running  
 [ 46] CS Revo: VIP Itens Ski  1.1         Wilian M.         csr_vip_skins.a  running  
 [ 47] CS Revo: Block Msg Fir  1.0         Wilian M.         csr_block_firei  running  
 [ 48] CS Revo: Caixa VIP      1.1         Wilian M.         csr_caixa_vipPh  running  
 [ 49] CS Revo: Caixa VIP Spa  1.0         Dias | Wilian M.  csr_caixa_vip_m  running  
 [ 50] CS Revo: AFK Manager    1.0.6 (amx  Freeman           csr_afk_manager  running  
 [ 51] CS Revo: Anti IP        1.0         Wilian M.         csr_anti_ip.amx  running  
 [ 52] CS Revo: Admin Prefixe  4.0         m0skVi4a ;] | Wi  csr_admin_prefi  running  
 [ 53] Galileo                 v5.9.1-926  Brad Jones/Addon  galileo.amxx     running  
 [ 54] CS Revo: New Top 15     1.3         Wilian M.         csr_new_top15Ph  running  
 [ 55] CS Revo: Contato        1.0         Wilian M.         csr_loading_sou  running  
 [ 56] Accuracy Fix            3.0         Numb              accuracy_fix.am  running  
 [ 57] CS Revo: Fast Sniper    1.0         Wilian M.         csr_fast_sniper  running  
 [ 58] CS Revo: Resetar Score  1.1         Wilian M.         csr_reset_score  running  
[ 59] CS Revo: Knife Reset F  1.1         Wilian M.         csr_knife_reset  running  

 [ 60] CS Revo: Bullet Smoke   1.0         Wilian M.         csr_bullet_smok  running  
 [ 61] CS Revo: Frag Counter   1.0         Wilian M.         csr_frag_counte  running  
 [ 62] CS Revo: Back Weapons   2.0         hoboman313/cheap  csr_backweapons  running  
 [ 63] API: Paraquedas         1.0         Wilian M.         csr_paraquedas.  running  
 [ 64] CS Revo: C4 Hud Timer   1.0         Wilian M.         csr_c4_hud_time  running  
 [ 65] CS Revo: Top Team Roun  1.0         Wilian M.         csr_topteam_rou  debug    
 [ 66] CS Revo: Menu de Armas  1.0         Wilian M.         csr_menu_armas.  running  
 [ 67] CS Revo: No Flash Team  1.2         Numb / ConnorMcL  csr_noflashteam  running  
 [ 68] CS Revo: Bullet Damage  2.0         Bboy Grun         csr_bullet_dama  running  
 [ 69] Weapon Physics          2.1         Nomexous          weaponphys.amxx  running  
 [ 70] [CS] Team Semiclip      3.3.1       schmurgel1983     cs_team_semicli  running  
 [ 71] CS Revo: Grenade Trail  1.0         Jim               csr_grenade_tra  running  
 [ 72] CS Revo: Objetivo ou K  1.0         Wilian M.         csr_objetivo.am  running  
 [ 73] Autoresponder/Advertis  1.0         MaximusBrood | F  csr_mensagens.a  running  
 [ 74] CS Revo: Show Admins O  1.1         vato loco [GE-S]  csr_show_admins  running  

 [ 75] One Name                0.1.1       ConnorMcLeod      csr_no_change_n  running  
 [ 76] CS Revo: Game Namer     1.1         NeuroToxin        csr_game_name_c  running  
 [ 77] Admin Spectator ESP     1.3         KoST              csr_admin_spec_  running  
 [ 78] CS Revo: Anti Ping Alt  1.0         Shadow/Bo0m! | W  csr_antiping.am  running  
78 plugins, 76 running
wilianmaique is offline
Send a message via Skype™ to wilianmaique
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-05-2020 , 20:05   Re: lag after the online server for a long time
Reply With Quote #4

1. Well for starters, your server is non-steam.

2. Anything with rehlds, you could edit using the game.cfg thats located in your game directory, which allows your cvars to be effective, otherwise you just have overlapping commands. I'm sure you're doing the same thing with the other cvars listed there that have designated files for them.

3. CS revo? Are these custom plugins? sql related? Do you have error logs in amxmodx/logs?

4.
PHP Code:
nice --12 ./hlds_run -game cstrike +ip xxx +port xxx +maxplayers 32 +sys_ticrate 1000.0 -pingboost 3 +map de_dust2 +servercfgfile server.cfg -master -secure 
What I removed can be placed in your server cfg file as "mapchangecfgfile server.cfg" at the bottom of the file without quotes. Is your server secure? Cause then you won't need -secure if your startup has +ip instead of -ip

5. You're running a linux server. Never understood the purpose of running a pingboost when you really won't really run into those issues with linux, and it just puts a hit on your cpu, which could also explain the lag. The restart is actually necessary every few days.
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 05-06-2020 , 09:58   Re: lag after the online server for a long time
Reply With Quote #5

Regarding/assuming the tic:
That high of a tic will make lag on it's own unless 10 people are connected. The Humans need NOT go beyond 102 per player and the bots a factor of their CPU think. So if the CPU on bot is set to 20, 20 per bot. 5 players, 5 bots no more than 610 maybe 625 for overhead to attempt to control the lag. The issue becomes when setting the lag I mean the tick on launch it is stuck there until shut down. Variable timing plugin. I set my sys_quota to 110 and it's a smooth game.

I've been nicing GoldSrc to 10. 12 sounds like a better idea!! Grep for
Quote:
Traffic from IP: PORT was blocked for exceeding rate limits
If so make a jail in FAIL2BAN.

Regarding the what plugin is doing it why would the community guess with you just glancing over a list of plugins? Disable all of them and then re-add until it's resolved.
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 05-06-2020 at 11:42.
DJEarthQuake is offline
Reply


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

Forum Jump


All times are GMT -4. The time now is 14:16.


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