# Scanner constantly running - High CPU - 1.31 & beyond

**URL:** <https://forums.plex.tv/t/scanner-constantly-running-high-cpu-1-31-beyond/851382>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [August 24, 2023, 12:14am UTC](https://forums.plex.tv/t/scanner-constantly-running-high-cpu-1-31-beyond/851382 "2023-08-24T00:14:51Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [August 24, 2023, 4:19am UTC](https://forums.plex.tv/t/scanner-constantly-running-high-cpu-1-31-beyond/851382/11 "2023-08-24T04:19:38Z")

</div>

> [@ChuckIbey](#):
>
> I do actually… I found my permissions weren’t always being correctly assigned as material was moved into my server’s folders so made a script to fix permissions every few minutes. It wasn’t causing any issues on 1.30.1.6562 .

DOOH!!!

That script is causing the problem.

PMS 1.31.x and above is sensitive to permission changes as well.

You need to change your scripting to be:

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/26):
>
> Selectively changing directory and file permissions. PMS 1.31.1 and above monitor your media for file permission changes in addition to media content changes. This was provided so PMS knows when your media acquisition processes (DVR/other tasks) complete and the media is now ready for PMS to use. Unfortunately, a number of our users have a “sledgehammer” hammer approach where they just change all permissions for all media. PMS is now sensitive to ALL permission changes (even for media al…

---

_[View the full topic](https://forums.plex.tv/t/scanner-constantly-running-high-cpu-1-31-beyond/851382)._
