Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Potentially excessive number of SPRequest objects (x) currently ..

730 views
Skip to first unread message

Volz Wong

unread,
Mar 26, 2008, 4:27:00 AM3/26/08
to
to whom it may concern

Our production server responded terribly slow all of a sudden, upon checking
out the log files, we found this message

"Potentially excessive number of SPRequest objects (11) currently unreleased
on thread 36. Ensure that this object or its parent (such as an SPWeb or
SPSite) is being properly disposed. Allocation Id for this object:
{FE4F21BC-A127-432E-801D-DCB2FB4C97FA} Stack trace of current allocation:
at Microsoft.SharePoint.SPRequestManager.Add(SPRequest request, Boolean
shareable) at
Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(Boolean
bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[]
UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean
bAsAnonymous) at Microsoft.SharePoint.SPWeb.InitializeSPRequest() at
Microsoft.SharePoint.SPWeb.EnsureSPRequest() at
Microsoft.SharePoint.SPWeb.get_Request() at
Microsoft.SharePoint.SPWeb.GetMetada...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ...taForUrl(String relUrl, Int32 mondoProcHint, Guid& listId,
Int32& itemId, Int32& typeOfObject, Object& fileOrFolder) at
Microsoft.SharePoint.SPWeb.GetObjectForUrl(String strUrl, Guid& listId)
at Microsoft.SharePoint.SPWeb.GetObject(String strUrl) at
Microsoft.SharePoint.Publishing.CachedObjectFactory.CreatePageFromUrlNoUpperCase(String
url, SPWeb contextWeb) at
Microsoft.SharePoint.Publishing.CachedObjectFactory.CreateObjectFromID(String
id, NodeTypes type, SPWeb contextWeb) at
Microsoft.SharePoint.Publishing.CacheReference.GetReference(SPWeb contextWeb)
at
Microsoft.SharePoint.Publishing.Navigation.ProxySiteMapNode.get_ReferencedNode()
at
Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includ...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ...edHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod
method, Boolean ascending, Int32 lcid) at
Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes
includedHiddenTypes) at
Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode
node, NodeTypes includedHiddenTypes) at
Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(SiteMapNode
node) at System.Web.SiteMapNode.get_ChildNodes() at
System.Web.UI.WebControls.SiteMapDataSource.GetNodes() at
System.Web.UI.WebControls.SiteMapDataSource.GetTreeView(String viewPath)
at System.Web.UI.WebControls.SiteMapDataSource.GetHierarchicalView(String
viewPath) at Microsoft.SharePoint.Publishing.Navigation.Porta...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ...lSiteMapDataSource.GetHierarchicalView(String viewPath) at
System.Web.UI.HierarchicalDataSourceControl.System.Web.UI.IHierarchicalDataSource.GetHierarchicalView(String
viewPath) at
System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData(String
viewPath) at System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item)
at System.Web.UI.WebControls.Menu.PerformDataBinding() at
System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() at
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at
System.Web.UI.WebControls.Menu.DataBind() at
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() at
System.Web.UI.WebControls.Menu.EnsureDataBound() at
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean
registerScript)...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ... at System.Web.UI.WebControls.Menu.OnPreRender(EventArgs
e) at Microsoft.SharePoint.WebControls.AspMenu.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Control.PreRenderRecursiveInternal() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at System.Web...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ....UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext
context) at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) at
System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception
error) at
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext
context, AsyncCallback cb, Object extraData) at
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at
System.Web.HttpRunti...
03/26/2008 12:08:28.81* w3wp.exe (0x1310)
0x133C Windows SharePoint Services General
0 Medium ...me.ProcessRequestNoDemand(HttpWorkerRequest wr) at
System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType) "

Any ideas? thanks in advance.

--
Hakuna Matata

Daniel Bugday

unread,
Mar 26, 2008, 3:29:30 PM3/26/08
to
Seems to be a poorly written web part?

Daniel Bugday
http://www.sharepointforum.com/
http://www.sharepointforum.com/en-US/Blog/default.aspx

"Volz Wong" <Volz...@discussions.microsoft.com> wrote in message
news:3A3D40DD-BE14-4660...@microsoft.com...

Volz Wong

unread,
Mar 26, 2008, 10:27:01 PM3/26/08
to
Hi Daniel
thanks a lot for your prompt reply. You may like to have a look at these
error messages,

"68 heaps created, above warning threshold of 32. Check for excessive SPWeb
or SPSite usage."
"Failed to determine definition for Feature with ID
'230fadc0-9081-40f9-b2aa-c589d3d3e0e8'. Skipping this feature for element
querying consideration."
"Got List Item Version, but item was null."
"Caught a thread abort exception in TemplateRedirectionPage.ProcessRequest,
the exception may be expected. stack trace= at

System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at

System.Web.UI.Page.ProcessRequest() at

System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context)"

"An SPRequest object was not disposed before the end of this thread. To
avoid wasting system resources, dispose of this object or its parent (such as
an SPSite or SPWeb) as soon as you are done using it. This object will now
be disposed. Allocation Id: {CA0B8824-F41F-4374-A138-9A946D2127F9} To
determine where this object was allocated, create a registry key at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server
Extensions\HeapSettings. Then create a new DWORD named SPRequestStackTrace
with the value 1 under this key."
"Failed to determine definition for Feature with ID
'230fadc0-9081-40f9-b2aa-c589d3d3e0e8'. Skipping this feature for element
querying consideration."
"Setting [Display] as the FormContext.FormMode for the current page"

Anyone of them indicates a poorly written web part problem?
Thanks a lot.

--
Hakuna Matata
Volz

Daniel Bugday

unread,
Mar 27, 2008, 4:37:58 AM3/27/08
to
Hi Volz,
after reading your error messages i am more convinced that this has
something to do with a porly written "Feature".

Have you deployed a feature or a solution recently?

Here is some good links on:

Best Practices: Using Disposable Windows SharePoint Services Objects
http://msdn2.microsoft.com/en-us/library/aa973248.aspx

http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx

"Volz Wong" <Volz...@discussions.microsoft.com> wrote in message

news:4789FCE6-5118-4DFA...@microsoft.com...

adu...@gmail.com

unread,
Apr 25, 2008, 5:12:18 PM4/25/08
to
Hi Volz Wong,

Did you got the solution for your problem, If so please let me know if
you were able to fix the log issue even I am facing same problem.

Regards
Anand


0 new messages