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

Server crashing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-24-2018 , 13:30   Server crashing
Reply With Quote #1

Hello, not sure why but my server crash at random times. There is 200 plugins or more current enabled. Is there any way to detect which plugin is the cause of all this headache or better thrown all in trash and close my server?
__________________









Last edited by CrazY.; 09-24-2018 at 13:33.
CrazY. is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 09-24-2018 , 13:53   Re: Server crashing
Reply With Quote #2

Quote:
Originally Posted by CrazY. View Post
Hello, not sure why but my server crash at random times. There is 200 plugins or more current enabled. Is there any way to detect which plugin is the cause of all this headache or better thrown all in trash and close my server?
There's not really much u can do about it, especially if there are no errors in the logs. All you can do is to disable all custom server plug-ins and enable 1 by 1, but that will take a lot of time to find which plugins is causing the crash. From my experience I can say that usually crashes are related to entities.
DarthMan is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-24-2018 , 17:15   Re: Server crashing
Reply With Quote #3

You should start to provide information as much as possible, make sure you run the server with -debug and pasting the debug.log content (backtrace, etc), etc.
__________________
Arkshine is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 09-24-2018 , 19:27   Re: Server crashing
Reply With Quote #4

CrazY. Here is a guide if you use Linux: https://forums.alliedmods.net/showthread.php?t=1467

Arkshine, let me ask a few question, they are related to the topic:
How can you figure out which plugin caused the error from the backtrace info?

When I checked a server which running with -debug parameter and with the pre-build AmxModX from amxmodx.org without this debug modification which was described by BAILOPAN (is it still necessary with the new version?) the output of the backtrace was only the type of error (SIGSEV or SIGBUS) and the name of the .so module which caused it.
For example if an amxmodx plugin call a fakemeta function with an invalid pointer the backtrace info will contain fakemeta.so, how can get which amxmodx plugin called the function?

I found only this topic about that:
https://forums.alliedmods.net/showthread.php?p=1412863

I had no time to check what is inside this analyse.gdb and without this I did not install it to my system.
This is the only way to get which caused the problem?

Last edited by Hembi; 09-24-2018 at 19:40.
Hembi is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-25-2018 , 10:08   Re: Server crashing
Reply With Quote #5

Ok, I will debug and post more informations soon.
__________________








CrazY. is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 09-25-2018 , 10:38   Re: Server crashing
Reply With Quote #6

Often you can only get an idea where things could've gone wrong when you get a stack trace, it's not going to tell you everything. It's up to your intuition to figure out where and what actually went wrong.
__________________
klippy is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-25-2018 , 12:41   Re: Server crashing
Reply With Quote #7

200+ plugins. Without running them all through quarantine and debug. I can't even name 20 plugins and I have been doing this since the 90's. No sympathy here. Think about what plugins you really cannot live without. Keep those. Discard the rest. Then leave the ones you wish would play nicely with the others only on certain maps so they are not loading all the time thrashing your system. Do you use bots?
__________________

Last edited by DJEarthQuake; 09-25-2018 at 12:44.
DJEarthQuake is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-25-2018 , 14:13   Re: Server crashing
Reply With Quote #8

Ok, thanks for the suggestion. Is there no bots in my server, only players.
__________________








CrazY. is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-25-2018 , 18:30   Re: Server crashing
Reply With Quote #9

You are most welcome. Botless could be how you are able to run that many plugins simultaneous. Do you care to share your plugins.ini file as an attachment as opposed to a copy and paste on future post please?
__________________

Last edited by DJEarthQuake; 09-25-2018 at 18:32.
DJEarthQuake is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 09-26-2018 , 08:09   Re: Server crashing
Reply With Quote #10

Well, most of the plugins it's from Zombie Plague 5.0. I exaggerated a bit when said 200 plugins, at really currently has 135 running of 146. Anyway, yes I can. Note that a good part I did or edited.

Besides, looks the crashes had stopped after of I disable AMX Super and two extra plugins. Hope keep it that way.
Attached Files
File Type: ini plugins.ini (5.8 KB, 62 views)
__________________








CrazY. 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 19:25.


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