Hi, I noticed that the plugin is heavily loading the server. In addition to this, the server started to hang after 10 - 12 hours after startup. I haven't figured out yet if it's related to this plugin.


Hi, I noticed that the plugin is heavily loading the server. In addition to this, the server started to hang after 10 - 12 hours after startup. I haven't figured out yet if it's related to this plugin.


With default configuration, this plugin shouldn't be causing high load, but that screenshot indicates it is taking a lot of CPU time on your server. Incorrect configuration could cause that. For example, making decay checks super frequent (default is once per minute like vanilla, recommended is once per 10 minutes), and using building blocked checks, could combine into lag. There is a section in the documentation with tips to improve performance that can guide you in the right direction.
WhiteThunder
With default configuration, this plugin shouldn't be causing high load, but that screenshot indicates it is taking a lot of CPU time on your server. Incorrect configuration could cause that. For example, making decay checks super frequent (default is once per minute like vanilla, recommended is once per 10 minutes), and using building blocked checks, could combine into lag. There is a section in the documentation with tips to improve performance that can guide you in the right direction.
The problem disappeared as soon as I turned off permissions in the config. Thanks for your help.
After investigating another report of this, I found that the plugin was misreporting hook time to Oxide since the Tugboat update. There wasn't an actual performance issue, just an accounting issue. This has been fixed in the latest version.
Incorrectly reporting hook time doesn't cause server load, so any load issues you are seeing are likely caused by something else.
I found what the problem was. The server stopped freezing when I disabled navigation of npcs (nav_disable). I still don't understand why the server just hangs and doesn't restart itself (usually hosting restarts the server itself if there is a problem). Thanks for your help.
What about this on mine server? :)
109 "Vehicle Decay Protection" (2.4.0) by WhiteThunder (16110.22s) - VehicleDecayProtection.cs
Update to the latest version of the plugin (v2.4.1) for correct hook time tracking.WatcherWhat about this on mine server? :)
109 "Vehicle Decay Protection" (2.4.0) by WhiteThunder (16110.22s) - VehicleDecayProtection.cs