So I had this idea (maybe bad) to try and use /tmp for an intermediate directory in nzbget. I thought it could be faster than just hitting a cache pool with all the unpacking and moving etc.
So I set it up and everything was cruising fine until it hit roughly 60% RAM usage, and my Unraid GUI started freaking out. It was constantly reloading itself, all the drives in the array would be missing, and then suddenly around a third would be present. The flash drive and everything in unassigned devices disappeared and had the loading icon constantly. Then the log went crazy with this on a loop:
Feb 25 20:20:16 spock rc.diskinfo[27686]: PHP Warning: syntax error, unexpected end of file, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in /var/local/emhttp/disks.ini on line 258
Feb 25 20:20:16 spock rc.diskinfo[27686]: in /usr/local/emhttp/plugins/unassigned.devices.preclear/scripts/rc.diskinfo on line 294
Feb 25 20:20:16 spock rc.diskinfo[27686]: PHP Exception: array_map(): Argument #2 ($array) must be of type array, bool given in /usr/local/emhttp/plugins/unassigned.devices.preclear/scripts/rc.diskinfo on line 295
I was able to shut the array down and reboot. I removed the /tmp from the container and everything is normal.
But.. what happened here? And while I'm asking the question: Why was this a bad idea?
Thanks!