I set up this Linux 'Watchdog' and now my system auto-reboots when it locks up ...
Within seconds, you can see which file it's waiting on or why it's stuck.
With a bonus script that puts any search tool to shame.