Ombi-app / Ombi

Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
http://ombi.io
GNU General Public License v2.0
3.74k stars 398 forks source link

Cpu 100% after using plex requests #154

Closed phairplay closed 8 years ago

phairplay commented 8 years ago

Hi, after making several requests through plex requests I found that plex media server was running at 326% pushing my cpu to 100% What could be the cause?

Windows 8 I5 Intel Latest version of plex requests

tidusjar commented 8 years ago

I think I have found the issue. It seems that there is quite a nasty bug in the plex checker. It checks plex for content every 10 minutes but I think I have found a scenario where multiple schedules are starting so it can check it every seconds for example.

I am fixing that as we speak.

phairplay commented 8 years ago

Great! Many thanks for the fast response and I'm really liking this program, my wife loves the suggestion section

csy7550 commented 8 years ago

Had a friend add 20 movies to check, CPU = 100% and serverroom is like a sauna!

tidusjar commented 8 years ago

It was a misunderstanding on my part on how Nancy (The underlying framework) initializes everything. So a new 'scheduler' was being spun up on every HTTP request.

I've fixed this in the dev branch. We need to push a new version out soon, so it shouldn't be a long wait.

phairplay commented 8 years ago

Great many thanks