In your logs, I see where the scanner is processing a very large number of directories.
In total (total of all directories and subdirectories under all media top-level directories), do you have?
(Can be counted by find /top-dir1 /top-dir2 <add more here as needed> -type d -print | wc -l
The default max inotify directory count is either 8192 or 65536 (distro and kernel dependent)
I am asking this because the transcoder needs 2 inotify slots for the EAE.
This error will happen when all the inotify slots have been allocated to “update my library automatically when changes detected”.
Jun 25, 2022 07:42:15.000 [0x7f0cdb717b38] ERROR - [Transcoder] [eac3_eae @ 0x7f2533886b00] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-937f4984-1209-4807-a1c4-d548707aa375/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ce3952ab-2c6a-4a9e-8cef-7bcdaa151da8_28389-0-3816.wav'
Jun 25, 2022 07:42:15.000 [0x7f0cdbb50b38] ERROR - [Transcoder] [eac3_eae @ 0x7f2533886b00] error reading output
Jun 25, 2022 07:42:15.001 [0x7f0cdbd5bb38] ERROR - [Transcoder] Error while decoding stream #0:1: I/O error
The solution is simple:
- Count the number of directories in use
- Round up to the next integral multiple of 32768 (or 65536 if you have ample memory)
- Increase the default table size and restart the host.