Detecting Intros stuck forever

Thank you, I have my transcode directory mapped to /transcode which maps to /dev/shm/ on the host - which I believe means it uses RAM. This is to reduce wear on disk drives. I have monitored RAM usage and it never gets anywhere close to full when the issue happens. I’ve had a google around and some people recommend creating a temp folder like this on ram…
mkdir -p /tmp/PlexRamScratch && mount -t tmpfs -o size=8g tmpfs /tmp/PlexRamScratch
So I’ve now mapped my transcode folder to /tmp/PlexRamScratch and set the above command to run on server startup.
I’m not familiar with inotify, is this something I should research and consider?
Do you think this is a good idea. I’ll try it see how it goes.