Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...'System.OutOfMemoryException' was thrown
Previous
 
Next
New Post
7/8/2007 12:40 AM
 

I get this on the User Defined Table module when the table gets too big (too many records).  It's a common problem when holding XML data in memory.  Anything XML with large amount of data should be suspect.

 
New Post
7/10/2007 3:58 PM
 

I just got my second OutOfMemory crash in a day now. I started going through my dnn installs 1 by 1 to see what is happening again.

I have one dnn install with 8 portals but only about 4 of them are pretty active. Since 8 am this morning the search bots have been hitting one site and causing about 20 General Exceptions per hour. This is a site that I have just moved back from another server, so I guess it is understandable for the bots to want to index it. It is a PR5 already so maybe that is why they are so keen on indexing it to death.

But what I see in the General Exceptions is this type

AssemblyVersion: 04.04.01
PortalID: 7
PortalName: Pregnancy Test Center Birmingham
UserID: -1
UserName:
ActiveTabID: 193
ActiveTabName: Home
RawURL: /linkclick.aspxhome.aspxhome.aspxcontact+us.aspxabstinence+based+sex+education.aspxthe+medical+clinic.aspxMaternal+and+Infant+Care.aspx?Page=3eeed27b-ca16-4fdc-b05f-71318da48aa3
AbsoluteURL: /linkclick.aspxhome.aspxhome.aspxcontact+us.aspxabstinence+based+sex+education.aspxthe+medical+clinic.aspxMaternal+and+Infant+Care.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 84d29430-934b-4ff0-a938-1b2dafebd54d
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: The file '/linkclick.aspxhome.aspxhome.aspxcontact+us.aspxabstinence+based+sex+education.aspxthe+medical+clinic.aspxMaternal+and+Infant+Care.aspx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: DNPSERVER01

And after 5 hours of that I finally got

AssemblyVersion: 04.04.01
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 909d9253-8b27-4a4b-ac82-37cee2f9a011
InnerException: Exception of type 'System.OutOfMemoryException' was thrown.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Caching.UsageBucket.Expand
StackTrace:
Message: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Web.Caching.UsageBucket.Expand() at System.Web.Caching.UsageBucket.AddCacheEntry(CacheEntry cacheEntry) at System.Web.Caching.CacheSingle.UpdateCache(CacheKey cacheKey, CacheEntry newEntry, Boolean replace, CacheItemRemovedReason removedReason, Object& valueOld) at System.Web.Caching.CacheMultiple.UpdateCache(CacheKey cacheKey, CacheEntry newEntry, Boolean replace, CacheItemRemovedReason removedReason, Object& valueOld) at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace) at System.Web.Caching.Cache.Insert(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsDictionary(Int32 PortalId) at DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsCollectionByTabID(Int32 TabID, Int32 PortalId) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoDictionary(IDataReader dr)
Source:
Server Name: DNPSERVER01

 

What is interesting is that even after the out of memory error, but right before the application restart event, I got another of the first kind of errors from the search bot hitting a page. Is that a clue that the culprit is on another site?

Thanks for any help you can provide.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
7/10/2007 4:12 PM
 

ecktwo wrote

I get this on the User Defined Table module when the table gets too big (too many records).  It's a common problem when holding XML data in memory.  Anything XML with large amount of data should be suspect.

Follow up to my last post. I found one site that seems to be the first (so far) to throw the out of memory error. It threw it on this page,

http://www.covenantcareadoptions.com/covenant/BirthMothers/AdoptingFamiliesAvailable/AllAdoptingFamilies/tabid/454/Default.aspx

which is pulling in all of its data from XMod. But when I look at my task manager and hit this page, I don't see any real memory usage changes. I have other sites that pull back even more XMod data on a page.

Can you further explain what you mean by your statement about XML?

Thanks. I really need to figure this out.

Just one more thought. Could it be that there are dormant problems in DNN that only come to life when the bots are out doing a lot of indexing? Maybe that is why I had two memory errors in less than 15 hours when i normally go for a week without one. Not that a week is good, but it is better than twice a day. Maybe some pages are not getting hit if they don't have much traffic, but then when they are hit by a bot it triggers the memory issue.

I know that when I had these issues before, it was due to the caching setup on the Blog module and when someone hit a particular blog, it would just consume memory until it ran out.

Now I have more memory, so even when there is an out of memory error, my task manager says i still have 1/2 GB  free. I assume that there is some limit for the w3wp process and even though the server has memory, the process reaches it limit and stops. Can someone explain this? I looked on the last memory crash and the largest w3wp I had running was nearly 800MB, which is much higher than normal, which for me is between 75MB (low) and 300MB (high).

Thanks again.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
7/10/2007 11:33 PM
 

chammock wrote

Just one more thought. Could it be that there are dormant problems in DNN that only come to life when the bots are out doing a lot of indexing? Maybe that is why I had two memory errors in less than 15 hours when i normally go for a week without one. Not that a week is good, but it is better than twice a day. Maybe some pages are not getting hit if they don't have much traffic, but then when they are hit by a bot it triggers the memory issue.

You may be onto something with the bots doing indexing. Around 50% of the time I am getting System.OutOfMemoryException the UserAgent is Slurp or Googlebot. I found this post (see http://www.dotnetnuke.com/Default.aspx?tabid=825&EntryID=1021) from Shaun a while ago, maybe there is still some issue with this or bots in general?

 
New Post
7/11/2007 7:48 AM
 

m_c4, thanks for the link on the blog. But the blog suggests that this is not a problem anymore. But it looks like this is the problem I am experiencing since I am getting issues with the linkclick.

Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: The file '/linkclick.aspxhome.aspxhome.aspxcontact+us.aspxabstinence+based+sex+education.aspxthe+medical+clinic.aspxMaternal+and+Infant+Care.aspx' does not exist

Maybe someone will investigate this. I will post it to the Benefactor / Host forum and see if it gets any attention.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...'System.OutOfMemoryException' was thrown


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out