Quick Nav:  Online Store   |   Login | Register

application restarts

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 3<< < 123 > >>
AuthorMessages
llong
<100 Posts
Posts:96


09/27/2007 3:44 PM  
I don't know. I get a fair amount of traffic. How would I test?

Thank you for the new version. I will test it now.
John Mitchell
Posts:3238


09/27/2007 3:51 PM  
Sorry for the confusion, it's not really something that needs testing. It is a normal occurence when traffic is high for ASP.Net to initialize another http application. I was just thinking out loud about why you would see that error in your event log.

Unfortunately it doesn't get you any closer to figuring out why you are getting a "hang" at 100% cpu, but I think the search indexer is the most likely culprit there.
llong
<100 Posts
Posts:96


09/28/2007 2:31 PM  

[duplicate]

llong
<100 Posts
Posts:96


09/28/2007 2:35 PM  
John,

I have replace the DLL and turned the search engine off completely. Still getting 100% CPU for hours at a time.

This morning I captured output from Process Monitor showing line after line of pageblaster entires like those above. Can I send you this file? I highly value your product so it is important I getting it working.
John Mitchell
Posts:3238


09/28/2007 2:37 PM  
Sure, you can send the file to support AT snapsis DOT com

Have you created any Regex replacement rules? That is the only thing I know of that might cause High CPU usage for an extended period.

llong
<100 Posts
Posts:96


10/01/2007 12:09 PM  
John,

I have removed all but the google and legal rules from the list I sent in the email. Still had an "episode" this morning and last night but only 20 and 15 minutes long. That could be because I'm recycling the app pool every 2 hours now.

Lance
llong
<100 Posts
Posts:96


10/02/2007 7:39 PM  
John,

Would throttling the cache rebuild work? I could live with the cache being rebuilt over many hours with each page spaced apart by a few seconds. Would this not allow heavier regex and plug-in filters per page? Of course requests with no cache would take precedence but the scheduled refresh of the pages could occur slower.
llong
<100 Posts
Posts:96


10/05/2007 2:05 PM  
John?

Have I annoyed you?
John Mitchell
Posts:3238


10/05/2007 2:10 PM  
Sorry, I thought I had replied already.

The page cache for PageBlaster is only built on the first request of a page, and that is only if a page is not already in memory or on disk.
If you have some high traffic pages that are expiring quickly then you may want to extend the disk cache time to help stretch out processing.
llong
<100 Posts
Posts:96


10/05/2007 2:20 PM  
Hi.

I have the disk cache time set to 4 days.

I did a little snooping on the process monitor report. I found that over a 4 minute period (where the CPU was 100%) 30% of the requests were open file commands by Snapsis like this one:

39:38.7 QueryOpen D:\virtuals\legal-design_com\dotnetnuke\Web\DesktopModules\Snapsis\PageBlaster\Cache\tabid\1234\4a5fd40cdeede6748896bff3b2423440.pb.webinfo CreationTime: 10/2/2007 6:53:54 PM, LastAccessTime: 10/3/2007 12:24:33 AM, LastWriteTime: 10/2/2007 6:53:54 PM, ChangeTime: 10/2/2007 6:53:54 PM, AllocationSize: 8,192, EndOfFile: 6,921, FileAttributes: A SUCCESS

I had 17,479 entires like this in 4 minutes. Not all the time, only when it's acting up. The site runs fine and quite quickly for the rest of the day.
John Mitchell
Posts:3238


10/05/2007 2:26 PM  
That may be happening when PageBlaster does a Cleanup to purge expired disk cache files. This should only happen on restart, and once every 24 hours after a restart.

Do me a favor and check to see how many files you currently have in the PageBlaster disk cache folder.
llong
<100 Posts
Posts:96


10/05/2007 2:28 PM  
To round off the info;

15% of the entries are query directory:
37:29.9 QueryDirectory D:\virtuals\legal-design_com\dotnetnuke\Web\DesktopModules\Snapsis\PageBlaster\Cache\tabid\1074 0: .., 1: 82645a5217966dcdbc5f2feb000fe5b1.pb.webinfo, 2: a8e42807e980b762c0a6cf360e605455.pb.webinfo, 3: fa97b4d0eeb98df3edc55d80c719e6c7.pb.webinfo SUCCESS Read Metadata

15% are create files:
39:37.2 CreateFile D:\virtuals\legal-design_com\dotnetnuke\Web\DesktopModules\Snapsis\PageBlaster\Cache\tabid\1228 Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened SUCCESS

and the rest are mixed plus a few non snapsis entires
John Mitchell
Posts:3238


10/05/2007 2:33 PM  
It looks like those are folder reads and file opens. PageBlaster has to open the file to determine the expiration time.

Also, if the Snapsis.PageBlaster.config file is updated then this clean up process will kick off.
llong
<100 Posts
Posts:96


10/05/2007 2:34 PM  
Cache folder is 45mb and contains 4,105 files.
llong
<100 Posts
Posts:96


10/05/2007 2:39 PM  
ok, so questions are:

a) how do I schedule it to only run at, say, 2am. I can trust the application restarts to always be at the same time.
b) how can i throttle it to not try and replace 4000 files all at once.
John Mitchell
Posts:3238


10/05/2007 2:42 PM  
Ok, maybe I should throttle the cleanup task. I'll look into running that in a seperate thread and slowing it down.

If you decrease the disk expiration to 2 days it should help also since there should be less files in the cache folder.
Although if you have a daily spider indexing your whole site then that may not help.
John Mitchell
Posts:3238


10/05/2007 2:48 PM  
It doesn't actually try and replace all the files that are expired at the same time. It waits for the next page request to recreate a cache item. This keeps seldom used pages from remaining in the cache.

I can see where opening 4000 files in quick succession and reading them would cause a CPU spike though, so I do need to modify that task.
llong
<100 Posts
Posts:96


10/05/2007 2:51 PM  
Yes, google and others seem to hit every page about once a day.

Can I somehow turn the process off until then? Since it rebuilds if expired, the check seems redundant.
John Mitchell
Posts:3238


10/05/2007 2:57 PM  
Send me an e-mail, and I can build you a new DLL that has this disabled [ PageBlaster AT Snapsis DOT com ]
llong
<100 Posts
Posts:96


10/05/2007 3:30 PM  
sent. Thank you!

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 3<< < 123 > >>

Forums >Snapsis Product Support >PageBlaster > application restarts



ActiveForums 3.7
Powered by: Snapsis Software