Fair enough - we can hardly ask for more.
If anyone encounters this problem, I'd really love to hear about it: it's
the sort of thing that has the potential to stop RC1 from turning into 2.0
RTW.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Berry
Sent: Friday, December 21, 2007 7:47 AM
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
Hi Craig
We're battening down the hatches for Christmas (it's a mega busy time for
us), and the wiki will be a crucial resource over that period. I've flagged
your message and will check out the newsletter configuration after the busy
period has passed.
Best wishes
James
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig
Andera
Sent: 21 December 2007 11:56
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
Yes - everything goes through the cache. There are no routes to the content
that don't go via the cache.
So, I'm wondering if there's any way you can flip newsletters back on to
verify that that was the problem. If you do, when the problem is occurring,
can you see _ContentBaseDefinition in the cache? It should look something
like cache://MyNamespace/_ContentBaseDefinition/ParsedTopic, with a type of
FlexWiki.ParsedTopic.
Also, how many newsletters do you have defined, what are in their topic
lists, who do you have the newsletters set up to run as, and what's the
UpdateFrequency for each?
I still don't have a good understanding of why newsletters were causing so
much I/O, but maybe I can narrow my search based on your answers.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Berry
Sent: Friday, December 21, 2007 4:48 AM
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
It's interesting that the system kept hitting a random wiki page, which
would have been near the start in a normal directory scan probably (it was
almost certainly one of the early pages created) - and also
_ContentBaseDefinition. Does the newsletter code go through the cache?
Best wishes
James
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig
Andera
Sent: 20 December 2007 17:44
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
Reads against _ContentBaseDefinition.wiki are not unexpected - it's
conceptually read multiple times per request just to check namespace
permissions. I wouldn't be at all surprised to see a hundred conceptual
reads against it just for one page to render. However, I added caching
because of this very fact, so you should see exactly *one* read against the
physical file per time that it changes.
That said, it's possible that it's getting flushed from the ASP.NET cache,
where it gets stored. I wouldn't think so, as it would just get put back in
there again the next go around, but it would explain what you're seeing.
What do you see on the admin Cache Management page that Derek did?
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Berry
Sent: Thursday, December 20, 2007 11:44 AM
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
Since my last iisreset (not that long ago), w3wp.exe has done - according to
taskman -- 1,244,677 I/O reads and 14,558,000 I/O Other.
Mem Usage is steadily growing (started at about 90mb, now up to 140mb).
Running sysinternals filemon, I see a very large number (hundreds) of
FASTIO_QUERY_OPEN for _ContentBaseDefinition.wiki in one of my namespaces,
and another specific topic (AdastraSoftwareLtdInformation.wiki). This topic
actually contains very little and no-one would be accessing it really. It
may be being scanned by some wikitalk, of course.
I have just disabled newsletters and recycled iis. W3wp.exe has started at
45mb. I'll watch it over the next hour or so and see if it was related to
newsletter processing.
Best wishes
James
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Berry
Sent: 20 December 2007 16:18
To: 'FlexWiki Users Mailing List'
Subject: Re: [Flexwiki-users] FlexWiki 2.0 100% CPU
(this is 2.0.0.178, btw)
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James
Berry
Sent: 20 December 2007 15:57
To: 'FlexWiki Users Mailing List'
Subject: [Flexwiki-users] FlexWiki 2.0 100% CPU
I've just uploaded my little internal wiki from 1.8 to 2.0 (fresh install;
copies across namespaces and reconfigured)
It's all working fine. However my CPU utilisation on my web server is now
pinned at around 100% (all w3wp.exe).
Before I start delving into the code, does anyone have any ideas on things
to check out?
Best wishes
James
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users