# Transcoding problem when only audio is being transcoded

**URL:** <https://forums.plex.tv/t/transcoding-problem-when-only-audio-is-being-transcoded/834735>\
**Category:** Plex Media Server\
**Tags:** server-linux, xbox\
**Created:** [March 16, 2023, 8:10pm UTC](https://forums.plex.tv/t/transcoding-problem-when-only-audio-is-being-transcoded/834735 "2023-03-16T20:10:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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 17, 2023, 8:01pm UTC](https://forums.plex.tv/t/transcoding-problem-when-only-audio-is-being-transcoded/834735/5 "2023-03-17T20:01:01Z")

</div>

You’re showing me a screenshot of the logs. Having the full logs ZIP file would be better but, in this case, you provided enough information for me to answer.

I suspect you have a lot of well-curated (structured) media in your Plex server.  
Depending on the Linux kernel used, you can run out of inotify slots without realizing.

– Pre-5.0 kernels have a default limit of 8192 directories  
– Post-5.0 kernels have a default limit of 65536 directories

The transcoder needs 2 inotify slots when transcoding any Dolby audio.  
(The software they provide requires it).

The solution for you is to:

1. Count up the total number of directories you have in use for your media
2. Round up to the next multiple of 32768 (or 65536 if you have ample memory)
3. Customize the kernel configuration.

Here is the How-To

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/9):
>
> Increase the number of directories Linux can monitor (inotify) for PMS The default size of the Linux inotify table is 8192 directories (\*1). When PMS is configured to update automatically when media is added, with properly organized media, especially music, this table rapidly fills and exceeds the default allocation requiring you to increase it. The solution to this is straight forward. Increasing the table size is easy. The first step is to determine how many directories to alloca…

---

_[View the full topic](https://forums.plex.tv/t/transcoding-problem-when-only-audio-is-being-transcoded/834735)._
