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

Server freezes when sm plugins unload all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JohnnyBambo
Junior Member
Join Date: Jan 2012
Old 01-13-2013 , 06:55   Server freezes when sm plugins unload all
Reply With Quote #1

Hi, I have set up a Multimod-Server with different mods like VSH, Dodgeball, Wario Ware, Zombie Fortress, Gungame... all chooseable through the UMC
everything works fine with my configs but sometimes the server completely freezes. I have latest snapshots of sourcemod, sdkhooks and so on. The gamemodes work fine and changing between them works in about 90% of the cases.

Here is one example config of versus saxton hale:
Code:
// Configfile for: arena TF2-Saxton-Hale

//tv_enable 0
ph_enable 0
sm plugins load_unlock
sm plugins unload_all
sm plugins load admin-flatfile.smx
sm plugins load adminhelp.smx
sm plugins load adminmenu.smx
sm plugins load antiflood.smx
sm plugins load basebans.smx
sm plugins load basecomm.smx
sm plugins load basecommands.smx
sm plugins load basevotes.smx
sm plugins load funcommands.smx
sm plugins load funvotes.smx
sm plugins load playercommands.smx
sm plugins load umc-core.smx
sm plugins load umc-adminmenu.smx
sm plugins load umc-echonextmap.smx
sm plugins load umc-endvote.smx
sm plugins load umc-mapcommands.smx
sm plugins load umc-nominate.smx
//sm plugins load umc-prefixeclude.smx
sm plugins load umc-rockthevote.smx
sm plugins load umc-timelimits.smx
//sm plugins load umc-votecommands.smx
//sm plugins load builtinvotes_revote.smx
//sm plugins load umc-builtinvotes.smx
sm plugins load /disabled/umc-randomcycle.smx
sm plugins load disabled/tf2items_manager.smx
sm plugins load disabled/saxtonhale.smx
sm plugins load umc-playerlimits.smx
sm plugins load advertisements.smx
sm plugins load disabled/ThirdPerson.smx
sm plugins load afk_manager.smx
sm plugins load fragradio.smx
sm plugins load allchat.smx
sm plugins load sm_observerpoint.smx
sm plugins load /disabled/serverhop.smx
sm plugins load classrestrict.smx

sm plugins load_lock


mp_timelimit 30

mp_waitingforplayers_cancel 1
mp_waitingforplayers_restart 1 
mp_friendlyfire 0
tf_arena_override_cap_enable_time 2
sv_gravity 800
sm_umc_endvote_changetime "1"
tf_arena_round_time 300
tf_arena_preround_time 10
//ghostmode_alpha 0
//ghostmode_thirdperson 1


sm_umc_endvote_cyclefile "umc_mapcycle.txt"
sm_umc_rtv_cyclefile "umc_mapcycle.txt"
sm_umc_am_cyclefile "umc_mapcycle.txt"
sm_umc_playerlimit_cyclefile "umc_mapcycle.txt"
sm_umc_nominate_cyclefile "umc_mapcycle.txt" 
sm_umc_rtv_type "2"
sm_umc_endvote_type "2"

sm_classrestrict_blu_scouts 3
sm_classrestrict_red_scouts 3
I have no errors when loading the plugins or the extensions like sdkhooks, Tf2items, socket and so on.
The last line i see in my server console is: "The loading lock is no longer in effect." Then i have to kill the whole process to restart my server.

So my guess is that its a problem with sm plugins unload_all. And i think this problem happens more often if more than 10 players are on my server.

I hope you can help me
JohnnyBambo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-13-2013 , 08:29   Re: Server freezes when sm plugins unload all
Reply With Quote #2

Is this happening only on transitions from a certain mod?
__________________
asherkin is offline
JohnnyBambo
Junior Member
Join Date: Jan 2012
Old 01-13-2013 , 08:52   Re: Server freezes when sm plugins unload all
Reply With Quote #3

from my point of view its totally random
JohnnyBambo is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-13-2013 , 10:41   Re: Server freezes when sm plugins unload all
Reply With Quote #4

I've had hanging issues when unloading plugins that use MySQL. Never bothered to troubleshoot it though.
__________________
Dr. McKay 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 22:40.


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