# Plex Server Showing Spikey CPU Usage

**URL:** <https://forums.plex.tv/t/plex-server-showing-spikey-cpu-usage/865873>\
**Category:** Plex Media Server\
**Tags:** server-synology, plexamp\
**Created:** [January 10, 2024, 7:36pm UTC](https://forums.plex.tv/t/plex-server-showing-spikey-cpu-usage/865873 "2024-01-10T19:36:24Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [January 15, 2024, 8:24pm UTC](https://forums.plex.tv/t/plex-server-showing-spikey-cpu-usage/865873/9 "2024-01-15T20:24:09Z")

</div>

One thing we all must be cautious of on these linux boxes, ESPECIALLY when we have perfectly curated media (photos and music are the biggest hitters)…

We have so many directories (Album artist / album / disc # / blah blah – is a big one ) we easily overflow.

The fix for that is simple:

1. Use FileStation → Right Click the specific media folder → Properties
2. It will count the number of folders in it
3. Total all the folders used for all your media.
4. If that number exceeds 65536 on Synology – we need to increase the table size.  
– If it’s close to that number, we should probably increase it now anyway while we’re thinking about it.

The process is simple. (You’ll need to re-run this after DSM updates… which is why I wrote it this way)

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/490215/22):
>
> FAQ 16: Increase the number of folders Plex can monitor Applicable to all supported versions of DSM. When the Linux ‘inotify’ table fills up, this will cause when Plex to stop automatically detecting new media you add to the server. It will also manifest when there are transcoder problems with Dolby audio codecs. Linux has a default table size which is static. We can increase this at will. On some versions it’s 8192. On newer kernels, the default is 65536 folders. This is easy to incr…

---

_[View the full topic](https://forums.plex.tv/t/plex-server-showing-spikey-cpu-usage/865873)._
