Server freezing when reloading pluginsNot An Issue
I've just encountered this twice since updating from 4498 to 4514. Every time a plugin has to be compiled, oxide crashes by using 100% cpu and the server stops responding. No output anymore, last thing i can see is the call for "oxide.unload whatever" through a OnRconCommand hooked plugin.

Server is: Ubuntu 18.04.4 LTS

Is there a way for me to provide more information that can help identify the problem?

Regards,
Higgins

Could you provide the crash dumps (if it is crashing)? There were not changes to the commands or compiling process with the update, so there isn't much we can do to reproduce your issue.

It's not actually crashing but freezing. I've seen this before but now I seem to be able to actually reproduce it. As its a live system and people are playing right now, I don't  want to try again but both times it crashed when it has to recompile. First was an "oxide.unload Plugin", which worked, then "rm Plugin.cs" (worked ofc), then wget the updated plugin which triggers the automatic compile, frozen. Second attempt, without unload, simply open file and replace contents to force reload on change, again freeze. No more output into any log, cpu usage constantly up, no reaction to rcon commands, simply frozen and gone from in-game menu. But nothing about Steam shutting down or anything as its frozen.

Once the server quiets down, I'll save the map, make a full reboot of the system and try again but as you know this practice usually only works well on Windows ;)

Merged post

Was there anything changed regarding compiling in the last 3-4 (last 48hours) updates? Because we've skipped them as they didn't change protocol version.
No, nothing has changed with detection of file changes, those commands, or plugin compiling of plugins in the past 3-5 years.
Hmm, it didn't even reboot the server or make distro updates between these two versions so that's odd. Anyway, as long as I don't reload/change plugins it seems stable for now. As said, I'll try to catch a quiet moment and try again. I'll report back as soon as I can.
Is it with commands or with the automatic file change detection?
I couldn't try oxide.reload because it automatically reloads on change, so in both cases automatic. unload worked fine as mentioned above, that's why I think it has to do with compiling.
You can disable PluginWatchers under oxide.config.json to see if that helps.
Hey, this issue can be closed. I cannot tell you why but I've just stopped the server, updated to the latest version (without even rebooting the host), started it up and I can update plugins on-the-fly just fine. They compile without issues now.
I'm sorry I can't provide more information right now, but I'll report if I see this behaviour again. As mentioned above, I've happen this before so it might be worth investigating next time. Thanks for your quick replies and support and as always for the great work put into uMod/Oxide itself @Wulf!
This also happens on my server, though only occasionally. I'll try disabling PluginWatchers for now.
I am having this issue also. Hard to update/change plugins because of this random freeze.
Can the internet speed have an impact on this? maybe the plugin gets partially loaded?
I will try also to disable PluginWatchers.
I'm running my server in my basement, so I have a LAN connection which would rule out internet speed, but the part about a partial plugin or file might still have something to it.
Locked automatically