Can reloading(unloading) heavy plugin cause server crash?
I have built a plugin that has lots of arrays containing player info(previous class, team, etc to be used in match servers)
Sometimes when i reload or unload this plugin the server crashes(especially when the server has many players) is there any way to fix it? |
Re: Can reloading(unloading) heavy plugin cause server crash?
If the plugin weights more than 100 kilograms, this can happen yes :)
I don't think the amount of data / array has anything to do with it, this would be weird. It's more likely that some extension is causing the crash. For example when you register a callback function in your plugin with some extension and the extension doesn't correctly unregister the callback function on unload, it will probably crash. Make sure to unregister any hooks / callbacks, if the extension provides a way. A stacktrace from the linux GDB debugger would be helpful in order to exactly determine where is crashes. |
All times are GMT -4. The time now is 02:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.