# PMS Shutting down/crashing randomly

**URL:** <https://forums.plex.tv/t/pms-shutting-down-crashing-randomly/695966>\
**Category:** Plex Media Server\
**Tags:** server-synology\
**Created:** [March 1, 2021, 3:23pm UTC](https://forums.plex.tv/t/pms-shutting-down-crashing-randomly/695966 "2021-03-01T15:23:16Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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 5, 2021, 6:29pm UTC](https://forums.plex.tv/t/pms-shutting-down-crashing-randomly/695966/8 "2021-03-05T18:29:56Z")

</div>

Sorrry for the delay responding.

Your logs have provided a lot of information.

First, because you curate your music so well, you ran out of kernel resources 🙂

I’d like to fix that first.

This is a two step process. I’ve written it out in a How-To in the FAQ.

The main steps are:

1. Use File Station to count all the folders in use (grand total)
2. Do a little math then write that result to the Linux config file.
3. Restart and let PMS breathe better.

Here’s the How-To. Please don’t hesitate if you have any questions.

> [@Synology FAQ - Questions, Answers, and How-To's](https://forums.plex.tv/t/topic/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…

Logs showing where it stops:

````auto
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Woody Shaw/Jazz For a Rainy Afternoon"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World Class Wreckin Crew"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World Class Wreckin Crew/80'S && 90'S SLOW JAM && R&&B CLASSICS 4"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World Famous Supreme Team"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World Famous Supreme Team/Tommy Boy Presents Hip Hop Ess"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World's Famous Supreme Team"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] DEBUG - [Notify] Now watching "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/World's Famous Supreme Team/Old School Jams 4 [Disc 1]"
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Worthy of a Beating" (28: No space left on device)
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Worthy of a Beating/Unknown Album" (28: No space left on device)
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wosp" (28: No space left on device)
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wosp/Power" (28: No space left on device)
Mar 02, 2021 11:10:28.362 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wrecks In Effects" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wrecks In Effects/Unknown Album" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wrecks In Effects/Wrecks In Effects" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wrecks 'n' Effect" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wrecks 'n' Effect/Wrecks 'N' Effect" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wreckx N Effect" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wreckx N Effect/Hard Or Smooth" (28: No space left on device)
Mar 02, 2021 11:10:28.363 [0x7f4a2288f700] ERROR - [Notify] Failed to add watch for "/volume2/Music/Vernon's Collection/Vernon's Collection - U Thru Z/Wreckx N Effect/Wrecks 'N' Effect" (28: No space left on device)```
````

---

_[View the full topic](https://forums.plex.tv/t/pms-shutting-down-crashing-randomly/695966)._
