If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder ....

NoSleep123NoSleep123 Posts: 1Members, Plex Pass

Official plex doker image: commit 2d9b89c32cea9100f74e15a8f938825a9f4087de (Date: Sun Feb 19 15:15:54 2017 -0800)
Plex Server Version 1.5.5.3634

This error bellow happens after some time playing AC3 or EAC3 streams. To recover from error I need to do this: "kill -9 pgrep "EasyAudioEncode""
but this is short term fix because in next few minutes streaming will stop again with same error. I already have fs.inotify.max_user_watches=524288 so this is not related to error from other ticket mentioning EAC timoeuts.

Apr 25, 2017 11:30:02.014 [0x7f3a3abfa700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-df2bb8fb-531b-4d33-9822-f24996fca71b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ynqwgibcfo6byomw1w226ct1_27313-1-2.wav'
Apr 25, 2017 11:30:02.015 [0x7f3a35ffc700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] error reading output
Apr 25, 2017 11:30:02.016 [0x7f3a4d7fe700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Apr 25, 2017 11:30:02.029 [0x7f3a367fd700] ? - [Transcoder] [Parsed_inlineass_2 @ 0x2eb67a0] fontselect: Using default font family: (Arial, 400, 0) -> /usr/lib/plexmediaserver/Resources/Fonts/DejaVuSans-Regular.ttf, 0, DejaVuSans[Parsed_inlineass_2 @ 0x2eb67a0] 
Apr 25, 2017 11:30:05.000 [0x7f3a38bf6700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-df2bb8fb-531b-4d33-9822-f24996fca71b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ynqwgibcfo6byomw1w226ct1_27313-1-3.wav'
Apr 25, 2017 11:30:05.001 [0x7f3a35ffc700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] error reading output
Apr 25, 2017 11:30:05.002 [0x7f3a4d7fe700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
«1

Answers

  • j9ac9kj9ac9k Posts: 34Members, Plex Pass Plex Pass

    I can confirm having the same issue, see attached log.

  • j9ac9kj9ac9k Posts: 34Members, Plex Pass Plex Pass

    I ended up reinstalling the official docker container (previously was using the linuxserver.io docker container) and all works.

  • NiilleNiille Posts: 24Members, Plex Pass Plex Pass

    I also installed a new Plex docker, wtih new database and everything but I still encountered same problem.
    My solution is now to have a second Plex Server on windows(VM) and use it for transcoding. Hopefully Plex will release a fix soon...

  • anhtuan99anhtuan99 Posts: 45Members ✭✭

    Can confirm the issue with official docker version 1.5.5.3634 and 1.5.6.3790. However, working with version 1.5.4.3596.

  • tjehtjeh Posts: 35Members, Plex Pass Plex Pass

    try mounting /tmp of the docker image to an actual folder outside of docker - this apparently fixed it for me

  • anhtuan99anhtuan99 Posts: 45Members ✭✭

    Seems there's another cause for he issue. I was using the default mount /transcode as the transcoding folder but EasyAudioEncode was still looking under /tmp. I fixed the issue by mounting /tmp -> /tmp and changing the transcoding folder from /transcode to /tmp.

    Hope the develops look at this thread and push a permanent fix for it.

  • tcf909tcf909 Posts: 32Members, Plex Pass Plex Pass

    I'm having the same issue:

    https://forums.plex.tv/discussion/268624/eae-timeout-eae-not-running-or-wrong-folder#latest

    Anything after 1.5.1 seems to have the issue for me.

    I'll try to use a kubernetes emptyDir to pull /tmp outside of the container and see if that helps.

  • tcf909tcf909 Posts: 32Members, Plex Pass Plex Pass

    I'm consolidating a couple of threads around this issue to this thread, so I thought I would post the workarounds that have been mentioned so far:

    The two attempted work arounds seem to be:
    1) Increase max_watches:

    sysctl -w fs.inotify.max_user_watches=100000
    

    2) Mount the docker container /tmp folder to a host folder (pulling it outside of the docker overlay filesystem)

    Alternative Path:
    I've also locked my own images at 1.5.1 for now (doesn't seem to have the issue) using the ARG TAG option in a docker file:

    ARG TAG="1.5.1.3520-ed60c70d6"
    ARG URL="https://downloads.plex.tv/plex-media-server/1.5.1.3520-ed60c70d6/plexmediaserver_1.5.1.3520-ed60c70d6_amd64.deb"
    

    This forces the installBinary.sh script to use a specific version of Plex. Make sure to set both ARGs or the build won't complete.

  • josomersjosomers Posts: 3Members ✭✭

    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

  • josomersjosomers Posts: 3Members ✭✭

    I am on Plex for Synology version 1.8.1.4139-c789b3fbb

  • sa2000sa2000 Posts: 29,449Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited September 2

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    You have exceeded the system limit on Number of directories that are added to the watch list

    Sep 03, 2017 01:10:31.827 [0x7f20fbcb0700] DEBUG - [Notify] Now watching /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Creation ft. Kenny Bobien
    
    Sep 03, 2017 01:10:31.827 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Creation ft. Kenny Bobien/Sunset Sessions (Deluxe Volume 2) disc 2 (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Migrantz (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Migrantz/Calling Chicago - EP (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soulfulicious (28: No space left on device)
    etc
    

    Easy Audio Encoder path would need to be added to the watch list and the limit was reached

    See this as example of one thread with info on how to increase the limit
    http://forums.plex.tv/discussion/comment/1419397/#Comment_1419397

    Edit: actually it is in this thread as well - the post before yours

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • sa2000sa2000 Posts: 29,449Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    Just to give you more info

    You have successfully setup watch for 8192 directories and you have about 1000 that failed to get added

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • ChuckPAChuckPA Posts: 18,380Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited September 3

    If I may augment here? If you need more than 8,192 directories for PMS to watch,

    in /etc/sysctl.conf create the kernel tuning entry.

    #
    # For more information, see sysctl.conf(5) and sysctl.d(5).
    fs.inotify.max_user_watches=16384
    

    After making the entry, Reboot.

    The above increases from 8192 to 16384.

    Caution is advised on systems with < 4GB of RAM. This is because iNotify entries increase the size of the kernel. If too large, nothing will run and DSM will need to be fully reset.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support forums: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility List

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    Hosts: Fedora, QNAP, Synology, most Linux distros in VM

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • josomersjosomers Posts: 3Members ✭✭

    @sa2000 said:

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    Just to give you more info

    You have successfully setup watch for 8192 directories and you have about 1000 that failed to get added

    Very useful feedback! Thank you!

  • Mogul345Mogul345 Posts: 12Members, Plex Pass Plex Pass

    Just so everyone is aware, this issue is still occurring on version 1.9.7.4460. I'm running the official Plex docker container on Ubuntu 17.10. I can't sync anything to my mobile devices that has an EAC3 5.1 audio stream.

    Logs attached.

    I guess I'll try to mount /tmp somewhere on my local file system when I get home from vacation in a week and report back if it works.

  • sa2000sa2000 Posts: 29,449Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    @Mogul345 said:
    Just so everyone is aware, this issue is still occurring on version 1.9.7.4460. I'm running the official Plex docker container on Ubuntu 17.10. I can't sync anything to my mobile devices that has an EAC3 5.1 audio stream.

    Logs attached.

    I guess I'll try to mount /tmp somewhere on my local file system when I get home from vacation in a week and report back if it works.

    Is eae process running?

    Nov 26, 2017 22:21:23.000 [0x7f16837fb700] ERROR - [Transcoder] [eac3_eae @ 0x18ac180] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-8f54e2af-71f7-47b2-b9d3-e38a3d987449/EasyAudioEncoder/Convert to WAV (to 8ch or less)/a15c484b-ac3f-4da7-a2fc-e42836700251_7570-1-0.wav'
    

    Best to get logs and test it after restart - that way other issues like number of watched directories could be checked for being over the limit - also can see the attempt to start eae

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • Mogul345Mogul345 Posts: 12Members, Plex Pass Plex Pass

    @sa2000 said:

    Is eae process running?

    Nov 26, 2017 22:21:23.000 [0x7f16837fb700] ERROR - [Transcoder] [eac3_eae @ 0x18ac180] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-8f54e2af-71f7-47b2-b9d3-e38a3d987449/EasyAudioEncoder/Convert to WAV (to 8ch or less)/a15c484b-ac3f-4da7-a2fc-e42836700251_7570-1-0.wav'
    

    Best to get logs and test it after restart - that way other issues like number of watched directories could be checked for being over the limit - also can see the attempt to start eae

    So I didn't think about checking for the EAE process before updating the docker image and replacing the container (since I was out of date). After updating, I'm running v1.10.1.4561.

    Everything seems to have started up correctly. I tested a couple files with EAC3 and they worked. And in htop I see "Plex EAE Service" running. So that's weird.

    I'm still attaching the new log from restart. Guidance as to how to figure out if I'm over the file watch limit (even though I do not think I am) would be helpful. Also, I'm a linux noob, any help in detecting if the EAE Service is dead and making the container auto-restart would be great, in case this gets flaky. The behavior manifests itself to the roku client as getting stuck at 13% buffering, so if that happens again I'll check to see if the EAE Service is running to see if I can repro this somehow.

  • sa2000sa2000 Posts: 29,449Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    @Mogul345 said:

    @sa2000 said:

    Is eae process running?

    Nov 26, 2017 22:21:23.000 [0x7f16837fb700] ERROR - [Transcoder] [eac3_eae @ 0x18ac180] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-8f54e2af-71f7-47b2-b9d3-e38a3d987449/EasyAudioEncoder/Convert to WAV (to 8ch or less)/a15c484b-ac3f-4da7-a2fc-e42836700251_7570-1-0.wav'
    

    Best to get logs and test it after restart - that way other issues like number of watched directories could be checked for being over the limit - also can see the attempt to start eae

    So I didn't think about checking for the EAE process before updating the docker image and replacing the container (since I was out of date). After updating, I'm running v1.10.1.4561.

    Everything seems to have started up correctly. I tested a couple files with EAC3 and they worked. And in htop I see "Plex EAE Service" running. So that's weird.

    I'm still attaching the new log from restart. Guidance as to how to figure out if I'm over the file watch limit (even though I do not think I am) would be helpful. Also, I'm a linux noob, any help in detecting if the EAE Service is dead and making the container auto-restart would be great, in case this gets flaky. The behavior manifests itself to the roku client as getting stuck at 13% buffering, so if that happens again I'll check to see if the EAE Service is running to see if I can repro this somehow.

    If there is a problem with the transcoder starting then the roku 13% may show. Would need logs for that and when it is arising - perhaps with logs from both sides - PMS and Roku app

    With regards to the notifier system limit - that should not be the case for you as you appear not to have automatic library updates enabled

    Dec 07, 2017 18:55:55.152 [0x7f92f5ffe700] INFO - LibraryUpdateManager path watching is disabled
    

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • Mogul345Mogul345 Posts: 12Members, Plex Pass Plex Pass
    edited December 11

    Ok, it happened again today. Tried to watch a .mkv with EAC3 5.1 using my Roku and it got stuck at 13%.

    I checked in htop and the Plex EAE Service is running. Log was again full of errors about EAE timeout errors, and unable to read a .wav file in the /tmp directory.

    @sa2000 - Attached are the PMS and Roku app logs.

    After I collected the logs, I restarted the container, and it started working again. Weird!

  • sa2000sa2000 Posts: 29,449Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    @Mogul345 said:
    Ok, it happened again today. Tried to watch a .mkv with EAC3 5.1 using my Roku and it got stuck at 13%.

    I checked in htop and the Plex EAE Service is running. Log was again full of errors about EAE timeout errors, and unable to read a .wav file in the /tmp directory.

    @sa2000 - Attached are the PMS and Roku app logs.

    After I collected the logs, I restarted the container, and it started working again. Weird!

    Will have a look at the logs - but may be you do not have an installation as per the documented setup.

    Just noticed you have tcp port 32401 for local network IP - how did that happen ?
    192.168.1.230:32401
    Are you using two routes to the server?
    local ports 32400 and 32401 are reserved for use by plex media server

    Can you please check your setup and make sure it is a setup as per the guidelines here
    https://github.com/plexinc/pms-docker/blob/master/README.md

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
«1
Sign In or Register to comment.