这篇文章老早就想写了,一直拖到今天。不过还好,遇到这个问题的人应该不多
PLEX
EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms
如果你的PLEX无法硬件解码,并且控制台报了如下错误,那么互联网上的大部分的解决办法,都是错的
https://forums.plex.tv/t/eac3-audio/233258/3
Nov 03, 2020 10:28:35.000 [0x7f569effd700] ERROR - [Transcoder] [eac3_eae @ 0x1e4ce80] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-b176357a-5979-4853-b485-fa3e02e2eb7f/EasyAudioEncoder/Convert to WAV (to 8ch or less)/3tvjed1mtol9j2c2lrp2cino_27192-0-84.wav'
实际情况是,你PLEX挂载的媒体文件夹内的文件数量,超过了你Linux系统设置的最大文件打开数量(fs.inotify.max_user_watches默认值太小,导致too many open files),正确的解决办法就是调大fs.inotify.max_user_watches
数值
修改 /etc/sysctl.conf
,添加或修改以下条目
fs.inotify.max_user_watches=524288
刷新或重启NAS
sudo sysctl -p
检查是否成功
cat /proc/sys/fs/inotify/max_user_watches
如果返回数字为524288则成功
https://github.com/flathub/com.visualstudio.code/issues/29
EMBY
这个问题不只是困扰PLEX;EMBY用户也会遇到这个问题,只是情况不一样,比如媒体库过大时,EMBY设置里的`在媒体库发生修改时进行扫描`功能会失效,Linux无法同时监视这么多文件
VSCODE
还有vscode Visual Studio Code is unable to watch for file changes in this large workspace"
同样也会因为max_user_watchess
数值过小而报错