DBWorker: Gz to DB Failed (sometimes) = memory leak?
Posted: Sun Aug 20, 2017 3:13 am
This week I noticed that my VM running Newsbin 6.80B6 (and B7) were eating memory to the max and overly using CPU. Newsbin didn't show up eating such on the usual Task Manager stats, but it definitely was (a shutdown of NBP returned things to normal) and was easily reproducible. I also noticed a 1000+ backlog in the import folder, and I instantly knew what was at failed, the dreaded Gz to DB failed...
So I stopped Newbin, moved the set of import files I thought were at fault and start Newsbin back up. The import queue started clearing again. And then it hit another import failed. Once it did this, you could watch the Physical Memory Usage chart start progressing increasing until it hit the 6GB physical memory limit.
The stranger more annoying thing is that *some* of the new headers would give the error but seemingly move on, however for some it would just get stuck there and create the aforementioned condition.
So I cleared the whole import folder out, rebooted, and wouldn't you know the next header download had at least one group with the same problem again. Now I'm stuck in this really vicious cycle of trying to stay on top of Newsbin lest my VMs go out of control again.
I don't care if the import process decides it can't deal with a file, I just wish it would move on consistently. Help!
-Ack
So I stopped Newbin, moved the set of import files I thought were at fault and start Newsbin back up. The import queue started clearing again. And then it hit another import failed. Once it did this, you could watch the Physical Memory Usage chart start progressing increasing until it hit the 6GB physical memory limit.
The stranger more annoying thing is that *some* of the new headers would give the error but seemingly move on, however for some it would just get stuck there and create the aforementioned condition.
So I cleared the whole import folder out, rebooted, and wouldn't you know the next header download had at least one group with the same problem again. Now I'm stuck in this really vicious cycle of trying to stay on top of Newsbin lest my VMs go out of control again.
I don't care if the import process decides it can't deal with a file, I just wish it would move on consistently. Help!
-Ack