# EAE timeout is back!

**URL:** <https://forums.plex.tv/t/eae-timeout-is-back/730883>\
**Category:** General Discussions\
**Tags:** server-synology\
**Created:** [July 22, 2021, 11:29pm UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883 "2021-07-22T23:29:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 22, 2021, 11:29pm UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/1 "2021-07-22T23:29:36Z")

</div>

Hello, A while ago I had issues with the good old EAE timeout, however, that was fixed by some serious help from ChuckPa and it was an inotify table problem, he helped me increase the maximum folders on the server and it fixed everything. However, the problem has returned and its always when trying to transcode AC3\_EAE. I have done the delete easyaudio encoder folder and restart the server which fixes the problem for a time then it returns, checking the logs I don’t get any inotify table errors so I’m pretty sure it’s not that this time. I’m using a Synology DS3617xs, and the plex install is a package install, I’m not using docker to install it. All permissions are set to read/write as far as I can tell. I have seen people say about doing chmod 777 but I’m not really sure how or if that is possible in the Synology operating system.

I have just done a “Delete Easyaudio encoder” and restart my Nas drive to get it up and running again so don’t have any logs with the EAE errors at the moment.

Is anyone able to shed some light on why i might be getting these errors again?

Side notes:-

1. I have run the script provided by ChuckPa again to increase the inotify table
2. DSM is the latest version (6.2.4-25556)
3. Plex is the latest version (1.23.5.4841-6000(
4. I have not seen any inotify errors in the console
5. Deleting Easy Audio Encoder and restarting DSM seems to fix the issue for a while
6. I have also just changed the transcode directory in plex to a different folder on the same volume  
“Transcode Folder 1” to see if that helps.

Thanks in advance

Russ.

---

<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:** [July 22, 2021, 11:46pm UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/2 "2021-07-22T23:46:47Z")

</div>

Please restart PMS

Let it sit 100% idle for 3 minutes while the Notify table loads (keeps logs really clean).

Then please recreate and attach the logs.

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:08am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/3 "2021-07-23T00:08:36Z")

</div>

[Plex Media Server Logs\_2021-07-23\_01-07-33.zip](https://forums.plex.tv/uploads/short-url/bQEtKpyLSPPfxVsQQ8jjzESoHrY.zip) (2.7 MB)

Hello Chuck, Thanks for getting back to me. Logs are attached at your request.

Thank you

---

<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:** [July 23, 2021, 12:10am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/4 "2021-07-23T00:10:41Z")

</div>

Thank you for the logs.

You didn’t add enough directories / miscounted

Been adding some media? 😉

```auto
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] DEBUG - [Notify] Now watching "/volume2/video/TV Series/Three Girls/Season 1"
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] DEBUG - [Notify] Now watching "/volume2/video/TV Series/Britannia"
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] DEBUG - [Notify] Now watching "/volume2/video/TV Series/Britannia/Season 1"
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] DEBUG - [Notify] Now watching "/volume2/video/TV Series/The Terror"
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/The Terror/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/The Terror/Season 2" (28: No space left on device)
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Altered Carbon" (28: No space left on device)
Jul 23, 2021 01:04:30.289 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Altered Carbon/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Altered Carbon/Season 2" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Freakish" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Freakish/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Freakish/Season 2" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Beyond" (28: No space left on device)
Jul 23, 2021 01:04:30.290 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Beyond/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Beyond/Season 2" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Stargate Origins" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Stargate Origins/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/The Alienist" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/The Alienist/Season 1" (28: No space left on device)
Jul 23, 2021 01:04:30.291 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/The Alienist/Season 2" (28: No space left on device)
Jul 23, 2021 01:04:30.292 [0x7fb1a3df9b38] ERROR - [Notify] Failed to add watch for "/volume2/video/TV Series/Seven Seconds" (28: No space left on device)

```

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:19am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/5 "2021-07-23T00:19:15Z")

</div>

So does that mean the inotify table is full again? i re ran the script we used the last time as you mentioned that when DSM 7.0 released i would need to, so i ran it incase a DSM update had caused it. the script i used was:-

"# Remove any previous s2s\_watches\_max entries (avoid clutter)  
sed -i ‘s/^s2s\_watches\_max=._$//’ /etc/synoinfo.conf  
sed -i 's/^s2s\_watches\_max=._$//’ /etc.defaults/synoinfo.conf

# This is an example only. Use your actual result below to add the new value

echo ‘s2s\_watches\_max=77004’ \>\> /etc/synoinfo.conf  
echo ‘s2s\_watches\_max=77004’ \>\> /etc.defaults/synoinfo.conf"

does that mean i have exceeded 77004?

---

<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:** [July 23, 2021, 12:35am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/6 "2021-07-23T00:35:46Z")

</div>

77004 is not a multiple of 32768. You forgot to do the math which accompanies the How-To.

77004 rounded up to the next integral multiple is 98304.

Please use 98304, Run the task, then restart Plex.

After it runs for another 3-4 minutes (notice how close the end of the logs were to the end of loading?) then download them.

By using 98304, you’ll have some room to grow before you need increase it again.

If you have 8GB in the machine, you can just set it up to 131072 now

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:40am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/7 "2021-07-23T00:40:21Z")

</div>

yea I messed the math up the first time, and included a decimal as well, which made you lol at me as it would have played havoc with the server.  
“May I ask where 77004 came from?  
Did I miss something?”

but after our discussion you also said " then 77004 would not be an issue.  
However, the fraction `77004.8` you showed above would probably drive it crazy and it sounds like it did! lol"

haha, right so if i change the value to 131072 now and then run the script and then restart and capture the logs again?

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:44am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/8 "2021-07-23T00:44:36Z")

</div>

> [@ChuckPa](#):
>
> 131072

Also quickly the total files and folders plex watches are below:-  
video - Folders = 10787 / Files = 181017  
music - Folders = 1374 / Files = 12557

Total folders = 12,161  
Total Files = 193,574

Does this exceed 77004?

---

<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:** [July 23, 2021, 12:47am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/9 "2021-07-23T00:47:41Z")

</div>

whoa!!!

Total folders in `video` = 12161,  
Total folders in `music` = 1374,  
Total folders in photos = ?? (are you using any?)

Ignore the file count, only folders (directories) matter

if 12,161 is the true total of all media folders, including photos,

you want a value of 32768. No need to go higher and waste the memory.

We are setting the “Maximum which can be watched” value. (table size)

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:52am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/10 "2021-07-23T00:52:15Z")

</div>

> [@ChuckPa](#):
>
> 131072

Plex does not watch photo’s These are the file counts in my “video” and “music” volumes plex watches, if the value should be “32768” which is lower than “77004” why is it causing inotify errors?

New logs attached.  
[Plex Media Server Logs\_2021-07-23\_01-49-49.zip](https://forums.plex.tv/uploads/short-url/3WPeQm4j0dY03hPtjKtyhNH55aU.zip) (3.0 MB)

---

<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:** [July 23, 2021, 12:53am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/11 "2021-07-23T00:53:06Z")

</div>

that’s a darn good question.

May I see your task setting (the script part)?  
Also, how much memory do you have in the Syno?

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 12:56am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/12 "2021-07-23T00:56:06Z")

</div>

I checked those second logs myself and i see its still reporting  
“Jul 23, 2021 01:46:06.153 [0x7efca9548b38] ERROR - [Notify] Failed to add watch for “/volume2/video/UHD Content/4K Tv Shows/Stranger Things/Season 1” (28: No space left on device)”

The synology is a DS3617xs which has 16gb RAM.

Task: Increase Linux Notify table for Plex

User defined script :

```auto
 # Remove any previous s2s_watches_max entries (avoid clutter)
sed -i 's/^s2s_watches_max=.*$//' /etc/synoinfo.conf
sed -i 's/^s2s_watches_max=.*$//' /etc.defaults/synoinfo.conf
# This is an example only. Use your actual result below to add the new value
echo 's2s_watches_max=131072' >> /etc/synoinfo.conf
echo 's2s_watches_max=131072' >> /etc.defaults/synoinfo.conf

```

Thanks Chuck.

---

<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:** [July 23, 2021, 12:59am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/13 "2021-07-23T00:59:18Z")

</div>

haha. I missed it too. 🤦‍♂️

Restart DSM 😃

The restarts makes those values to into effect.

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 1:03am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/14 "2021-07-23T01:03:16Z")

</div>

Ok, will restart now, however the value of 77004 is still higher than 32768 and i have restarted the system since running the original script you gave me to apply the value of 77004?

Brb - restart

---

<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:** [July 23, 2021, 1:05am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/15 "2021-07-23T01:05:20Z")

</div>

77004 isn’t a mulitple. I have seen things wonky when not a multiple (Linux kernel memory page alignments)

You can be as low as 32768  
or  
65536,  
98304,  
131072,  
etc  
etc  
262144 – if you have have 256K folders 😉

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 1:09am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/16 "2021-07-23T01:09:32Z")

</div>

[Plex Media Server Logs\_2021-07-23\_02-08-57.zip](https://forums.plex.tv/uploads/short-url/xKqoVzqD0wP8HhNbFebmksCsnH1.zip) (2.7 MB)

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 1:11am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/17 "2021-07-23T01:11:45Z")

</div>

Seems to have fixed the issue again, I watched the console running on boot up and didn’t see “No space left on device” this time when it seemed to finish.

two questions then, Firstly why did it work as 77004 for like 10 months? and secondly why does it only show tv shows in those logs and not movies for the notify table?

Thanks mate

---

<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:** [July 23, 2021, 1:13am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/18 "2021-07-23T01:13:42Z")

</div>

1. Why did it work using the awkward value? LUCK.

2. Why does it show for TV and not movies ?

Answer:

- You defined your movies section before your TV section, right?
- All your movies load without issue. Look at the log.

( I don’t ever remember Plex sorting directory read results in Notify – but possible)

---

<div class="post-metadata">

**Author:** ![turb3k](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@turb3k](https://forums.plex.tv/u/turb3k)\
**Post date:** [July 23, 2021, 1:18am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/19 "2021-07-23T01:18:21Z")

</div>

All the tv shows load without issue again now don’t they? but it shows in the log :-  
"Jul 23, 2021 01:46:05.066 [0x7efca9548b38] DEBUG - [Notify] Now watching “/volume2/video/Documentaries Tv Shows/Ancient Impossible (2015)/Season 1”

Just wondered why it didn’t show movies in this way when you restard PMS?  
When you say “definded” you mean added the movies folder to plex before tv shows? if so i have no clue it was many years ago haha.

Thank Chuck.

---

<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:** [July 23, 2021, 1:22am UTC](https://forums.plex.tv/t/eae-timeout-is-back/730883/20 "2021-07-23T01:22:45Z")

</div>

Yes, defined = created.

Regarding memory – think you need to do like I do…

1. Remove head from shoulders
2. Toss into washing machine
3. Add extra detergent
4. Wash and then rinse TWICE
5. Tumble dry in the dryer – low heat

🤣

[Next page](https://forums.plex.tv/t/eae-timeout-is-back/730883.md?page=2)
