# EAE Timeout!

**URL:** <https://forums.plex.tv/t/eae-timeout/698021>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [March 7, 2021, 7:11pm UTC](https://forums.plex.tv/t/eae-timeout/698021 "2021-03-07T19:11:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![goose\_ws](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/goose_ws/32/218494_2.png) [@goose\_ws](https://forums.plex.tv/u/goose_ws)\
**Post date:** [March 7, 2021, 7:11pm UTC](https://forums.plex.tv/t/eae-timeout/698021/1 "2021-03-07T19:11:44Z")

</div>

Using PMS via Docker/PlexPass image. Server Version is 1.22.0.4145. Docker is version 20.10.3, build 48d30b5. Host is 64-bit Debian Buster. Here’s a copy of my Compose:

```auto
  pms-docker:
    container_name: plex
    hostname: plex
    image: plexinc/pms-docker:plexpass
    ports:
      - "32400:32400"
      - "3005:3005"
      - "8324:8324"
      - "32469:32469"
      - "1900:1900/udp"
      - "32410:32410/udp"
      - "32412:32412/udp"
      - "32413:32413/udp"
      - "32414:32414/udp"
    environment:
      - "ADVERTISE_IP=http://192.168.2.100:32400/"
      - "PLEX_UID=1003"
      - "PLES_GID=998"
      - "TZ=America/New_York"
    volumes:
      - "/docker/config/plex:/config"
      - "/transcode:/transcode"
      - "/mnt/zpool/media:/media"
      - "/etc/localtime:/etc/localtime:ro"
    restart: unless-stopped
    labels:
      - "com.ouroboros.enable=true"
    logging:
      driver: json-file
      options: 
        max-file: "3"
        max-size: "10M"

```

I’ve got an ext4 `/transcode` partition which is read/writable by the PMS UID/GID. I can `exec` into the conatiner, `cd /transcode`, I can `touch /transcode/test`, then `rm /transcode/test`, and so on.

In Plex, I have under `Settings > Transcoder > Show Advanced > Transcoder temporary directory > /transcode` set.

Whenever I try to play with a client that cannot DirectPlay, I get an endless spinning circle of loading on the client, and I get this error in my logs:

```auto
Mar 07, 2021 13:04:06.502 [0x7f7c7dffb700] INFO - [Transcode] CodecManager: starting EAE at "/tmp/pms-f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder"
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms- f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder/Convert to WAV (to 8ch or less)/689d14c290fef10b-com-plexapp-android_633-0-0.wav'
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] error reading output
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder/Convert to WAV (to 8ch or less)/689d14c290fef10b-com-plexapp-android_633-0-1.wav'
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] error reading output
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error

```

Any idea how I fix this?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 7, 2021, 11:29pm UTC](https://forums.plex.tv/t/eae-timeout/698021/2 "2021-03-07T23:29:49Z")

</div>

Have you run out of inotify slots (max\_user\_watches) ?

---

<div class="post-metadata">

**Author:** ![goose\_ws](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/goose_ws/32/218494_2.png) [@goose\_ws](https://forums.plex.tv/u/goose_ws)\
**Post date:** [March 7, 2021, 11:47pm UTC](https://forums.plex.tv/t/eae-timeout/698021/3 "2021-03-07T23:47:31Z")

</div>

I increased the limit, without effect.

A Reddit user ended up suggesting that I shut down Plex, delete the contents of my Codecs directory, and then start Plex back up. This appears to have fixed it.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 8, 2021, 12:36am UTC](https://forums.plex.tv/t/eae-timeout/698021/4 "2021-03-08T00:36:35Z")

</div>

FYI. Increasing the limit does require PMS restart.

Increasing then restarting Plex probably fixed it. The EAE and transcoder require two inotify slots.

EAE not running means the EAE codec is there. Reloading them all might not have been necessary

---

<div class="post-metadata">

**Author:** ![goose\_ws](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/goose_ws/32/218494_2.png) [@goose\_ws](https://forums.plex.tv/u/goose_ws)\
**Post date:** [March 8, 2021, 1:29am UTC](https://forums.plex.tv/t/eae-timeout/698021/5 "2021-03-08T01:29:34Z")

</div>

After modifying the inotify limit and reloading sysctl, I tried restarted the container, then the docker daemon, then the host, all without success.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 8, 2021, 2:25am UTC](https://forums.plex.tv/t/eae-timeout/698021/6 "2021-03-08T02:25:29Z")

</div>

which PMS version is in that container please? 1.21.4.4079?

---

<div class="post-metadata">

**Author:** ![goose\_ws](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/goose_ws/32/218494_2.png) [@goose\_ws](https://forums.plex.tv/u/goose_ws)\
**Post date:** [March 8, 2021, 10:32am UTC](https://forums.plex.tv/t/eae-timeout/698021/7 "2021-03-08T10:32:48Z")

</div>

Server Version is 1.22.0.4145. Docker is version 20.10.3, build 48d30b5. Host is 64-bit Debian Buster.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 6, 2021, 10:33am UTC](https://forums.plex.tv/t/eae-timeout/698021/8 "2021-06-06T10:33:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
