For the longest time now, I've had this problem where Mylar's python process causes nearly 100% CPU utilization on my DiskStation, leaving it less responsive for other tasks (network file transfers become really slow, etc.). Sometimes it seemed it only really did this at startup, and would eventually settle down. Looking at the debug logs, it appeared to just be doing its startup RSS Check at the time. I chalked it all up to my Synology just not having a powerful enough CPU, issued a "renice 19 -u mylar" command at a shell prompt to lower the task priority (so other tasks would speed up), and let it go at that. Even when Mylar was tying up the CPU, I could still work in the UI, add comics, perform searches, etc. (albeit slowly).
But more often than not, Mylar NEVER "settles down", and continues using all the CPU indefinitely. Or, it'll start using 100% CPU again at some point hours AFTER it initially "settles down". When this happens, if I look at the debug log, I see the following:
Code: Select all
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : checking search result: WHIZ Comics 025 (1941-12) (Captain Marvel story only) (1st Captain Nazi and Captain Marvel, Jr.).cbr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : sub:WHIZ Comics 025 (1941-12) (Captain Marvel story only) (1st Captain Nazi and Captain Marvel, Jr.).cbr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : size given as: 20.6 MB
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : comparing Min threshold 5242880 .. to .. nzb 21552205
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Thu, 17 Sep 2015 23:41:26 +0200 is after store date of 2011-04-13
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Entry: WHIZ Comics 025 (1941-12) (Captain Marvel story only) (1st Captain Nazi and Captain Marvel, Jr.).cbr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Removed extension from filename: .cbr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Cleantitle: whiz comics 025 (1941-12) (captain marvel story only) (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Cleantitle: whiz comics 025 (1941-12) (captain marvel story only) (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 0. Bracket Word: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Comic: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : UseFuzzy is : None
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : ComVersChk : 0
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Series version detected as V1 (only series in existance with that title). Bypassing Year/Volume check
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 1. Bracket Word: 1941-12
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 3. Bracket Word: captain marvel story only
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Publisher detected within title : captain marvel story only
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : cnt is : 3 --- Publisher is: Marvel
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : removing publisher from title
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : pubremoved : whiz comics 025 (1941-12) () (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : blank brackets removed: whiz comics 025 (1941-12) (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 0. Bracket Word: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Comic: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : UseFuzzy is : None
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : ComVersChk : 0
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Series version detected as V1 (only series in existance with that title). Bypassing Year/Volume check
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 1. Bracket Word: 1941-12
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 3. Bracket Word: 1st captain nazi and captain marvel, jr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Publisher detected within title : 1st captain nazi and captain marvel, jr
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : cnt is : 3 --- Publisher is: Marvel
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : removing publisher from title
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : pubremoved : whiz comics 025 (1941-12) (captain marvel story only) ()
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : blank brackets removed: whiz comics 025 (1941-12) (captain marvel story only)
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 0. Bracket Word: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Comic: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : UseFuzzy is : None
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : ComVersChk : 0
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Series version detected as V1 (only series in existance with that title). Bypassing Year/Volume check
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 1. Bracket Word: 1941-12
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 3. Bracket Word: captain marvel story only
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Publisher detected within title : captain marvel story only
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : cnt is : 3 --- Publisher is: Marvel
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : removing publisher from title
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : pubremoved : whiz comics 025 (1941-12) () (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : blank brackets removed: whiz comics 025 (1941-12) (1st captain nazi and captain marvel, jr )
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : 0. Bracket Word: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : Comic: whiz comics 025
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : UseFuzzy is : None
26-Jun-2016 17:48:45 - DEBUG :: RSSCHECK : ComVersChk : 0
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : Series version detected as V1 (only series in existance with that title). Bypassing Year/Volume check
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : 1. Bracket Word: 1941-12
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : 3. Bracket Word: 1st captain nazi and captain marvel, jr
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : Publisher detected within title : 1st captain nazi and captain marvel, jr
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : cnt is : 3 --- Publisher is: Marvel
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : removing publisher from title
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : pubremoved : whiz comics 025 (1941-12) (captain marvel story only) ()
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : blank brackets removed: whiz comics 025 (1941-12) (captain marvel story only)
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : 0. Bracket Word: whiz comics 025
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : Comic: whiz comics 025
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : UseFuzzy is : None
26-Jun-2016 17:48:46 - DEBUG :: RSSCHECK : ComVersChk : 0
Mind you, it took me the longest time to find the point at which it actually started looping. I had to shut down and restart Mylar several times, toggle on debug logging immediately, and repeatedly "tail -100 mylar.log", watching closely until I saw the whole "Whiz Comics/Captain Marvel" mess start to appear... then copy the entire batch of mylar.log files to a temporary folder so I could scroll through them and find the offending lines before Mylar could overwrite them. Note that everything up to the first line shown in the log above looks normal, e.g. Mylar processes any number of comic titles, logging only about 25 lines of text for each. But when it gets to the "Whiz Comics" item, it starts looping the same text over and over.
What's going on here? Why does this particular title keep causing the RSS Check to loop? Is it all the parenthesized sub-strings? By the way, in all this mess I don't see where it says WHICH RSS provider it's finding this comic on, or what it was searching for in the first place. I certainly don't have a "Whiz Comics" in my library.
I hate to disable RSS entirely, for fear that I might miss out on grabbing new releases quickly. But I might have to if this keeps up!
Aimhere