6.50 RC3 behind the scenes question...
Posted: Thu Nov 14, 2013 4:37 am
As part of my troubleshooting a crash issue, I've began running procmon to monitor what newsbinpro64.exe is doing behind the scenes.
To my surprise, even though the newsbin debug output shows the slow importing of one gz file at a time, procmon has revealed that newsbin is NONSTOP opening, running QueryNetworkOpenInformationFile, and closing EVERY OTHER gz file in the import folder tree. What's worse is it KEEPS processing the /same files/ OVER AND OVER again. I'm talking about hitting each file multiple times a second!
Is this necessary? Can't newsbin store whatever it is querying from these files into ram and leave them alone until it's actually time to import their data? Or worst case only touch the files again AFTER newsbin has done another download headers session? If the point of all this polling is to check to see when there are files to import, how about only doing a poll after all the other discovered gz files are processed first? There has to be a more efficient way of doing this.
To my surprise, even though the newsbin debug output shows the slow importing of one gz file at a time, procmon has revealed that newsbin is NONSTOP opening, running QueryNetworkOpenInformationFile, and closing EVERY OTHER gz file in the import folder tree. What's worse is it KEEPS processing the /same files/ OVER AND OVER again. I'm talking about hitting each file multiple times a second!
Is this necessary? Can't newsbin store whatever it is querying from these files into ram and leave them alone until it's actually time to import their data? Or worst case only touch the files again AFTER newsbin has done another download headers session? If the point of all this polling is to check to see when there are files to import, how about only doing a poll after all the other discovered gz files are processed first? There has to be a more efficient way of doing this.