|
Home > Archive > Microsoft Content Management Server > May 2005 > Caching/Memory Issue???
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Caching/Memory Issue???
|
|
| Kyle Donovan 2005-05-23, 5:53 pm |
| Hello,
We currently have serveral CMS sites deployed on our PRD server (W2K3 - CMS
2002 SP1a). One site which uses Windows Authenticaion, is having an issue
(that we are not been able to reproduce on demand) that can be simply fixed
by making a change (add a space) in the web.config and saving the file which
resets the cache (for the site). The max disk cache has been set to 6144 and
the max nodes was left at 2000 for all applications. Here's a sample of the
code that we are running:
public ArrayList MenuBarItem
{
get { return items; }
}
protected override void CreateChildControls()
{
CmsHttpContext cms = CmsHttpContext.Current;
base.CreateChildControls();
int itemNum = 0;
int leftPos = Convert.ToInt32(startLeft);
Channel chnCur;
foreach(MenuBarItem itm in items)
{
chnCur = (Channel)cms.Searches.GetByGuid(itm.Channel);
if (chnCur == null)
{
// debug statements
HttpContext.Current.Response.Write ("Channel " + itm.Channel + "<br/>");
HttpContext.Current.Response.Write("Missing menu item channel reference
<BR/>");
return;
}
...
This site has a small channel structure (six main sub channels (level 1) -
each with 7 sub channels (level 2)). Some users have access to multiple level
1 sub channels and subsequently to most of the associated level 2 channels.
This is where the issue arises, we have one level 2 channel that we have
locked down to certain groups. We will receive a notification that the debug
statements have been triggered, meaning a user can not see the locked down
channel (which they are supposed to see), and we make a change to the
web.config, save the file, and the channel then correctly appears.
I haven't seen anything in the news groups regarding something similar to
this issue, have you ever encountered something similar?
Please let me know if you need additional information.
Thanks,
Kyle
| |
| Stefan [MSFT] 2005-05-23, 5:53 pm |
| Hi Kyle,
that sounds like a database inconsistancy.
If GetByGuid cannot retrieve the item than then Deleted flag of the item is
set.
I have seen this around 20 times in the past with customer cases.
This seems to indicate that this is being caused by unknown reason in our
code.
You should open a support case to get this database inconsistancy fixed.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Kyle Donovan" <KyleDonovan@discussions.microsoft.com> wrote in message
news:4B397030-2CD1-4C34-BDF4-EA42C568674A@microsoft.com...
> Hello,
>
> We currently have serveral CMS sites deployed on our PRD server (W2K3 -
> CMS
> 2002 SP1a). One site which uses Windows Authenticaion, is having an issue
> (that we are not been able to reproduce on demand) that can be simply
> fixed
> by making a change (add a space) in the web.config and saving the file
> which
> resets the cache (for the site). The max disk cache has been set to 6144
> and
> the max nodes was left at 2000 for all applications. Here's a sample of
> the
> code that we are running:
>
> public ArrayList MenuBarItem
> {
> get { return items; }
> }
>
> protected override void CreateChildControls()
> {
>
> CmsHttpContext cms = CmsHttpContext.Current;
>
> base.CreateChildControls();
> int itemNum = 0;
> int leftPos = Convert.ToInt32(startLeft);
> Channel chnCur;
>
> foreach(MenuBarItem itm in items)
> {
> chnCur = (Channel)cms.Searches.GetByGuid(itm.Channel);
>
> if (chnCur == null)
> {
> // debug statements
> HttpContext.Current.Response.Write ("Channel " + itm.Channel + "<br/>");
> HttpContext.Current.Response.Write("Missing menu item channel reference
> <BR/>");
> return;
> }
> ...
>
> This site has a small channel structure (six main sub channels (level 1) -
> each with 7 sub channels (level 2)). Some users have access to multiple
> level
> 1 sub channels and subsequently to most of the associated level 2
> channels.
> This is where the issue arises, we have one level 2 channel that we have
> locked down to certain groups. We will receive a notification that the
> debug
> statements have been triggered, meaning a user can not see the locked down
> channel (which they are supposed to see), and we make a change to the
> web.config, save the file, and the channel then correctly appears.
>
> I haven't seen anything in the news groups regarding something similar to
> this issue, have you ever encountered something similar?
>
> Please let me know if you need additional information.
>
> Thanks,
> Kyle
|
|
|
|
|