Plex scanner hangs and dies

This started happening recently for some reason, and seems to be happening on my Anime library which I don’t add anything new for some time…

After it dies, I cannot make new library scans or anything. I see no error on my logs even with debugging enabled. Like I said this started happening recently, and I did not even made any changes to my anime library and yet seems to stuck on it.

Plex Media Server v1.12.2.4929-29f6d1796 - ubuntu docker x86_64 - build: linux-ubuntu-x86_64 ubuntu - GMT 00:00
Linux version: 4.13.0-38-generic (#43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018), language: C
Processor Intel® Core™ i7-7700 CPU @ 3.60GHz

I wiped all my logs, restarted the server and reproduced the issue with debugging enabled. Here are the logs:

Any updates on this? I’m having a similar issue after upgrading to the same version, running in a container. Same version of Linux.