CodeGarden 10: The sixth annual Umbraco Developer Conference
June 23-25th 2010 - free ASP.NET MVC pre-conference. Register today!

strange iis application pool issue

7/1/2009 9:09:10 AMAvatarfedLocation: Sweden, gävleposts: 189Karma: 59

Our server is win 2003 and IIS6 the site is set to run ASP.net 2.0, umbraco version 4.0.2.1

We have a got an umbracosolution we are currently working on in an applicationpool..it is the only site in this specific pool and is limited to use 900mb..

This only happens occasionaly, yesterday afternoon we weren't able to access the server via RDP because the process peaks CPU and completely freezes our server for about 15-20 mins.. and it happens completely random.. the day before yesterday we had the same issue, but it happened just before lunch.. and when we were back from lunch it was working again, so we didn't put any effort into solving it :)

When looking in the eventlogs it seems the applicationpool reaches maximum allowed memory and then recycles itself every other minute and this must be why the server freezes..

I looked through the umbracoLog and apart from the usual "application started" and occasional "Item has already been added" (btw, anybody have a solution for it?) over the last two days I found over 6000 entries regarding Sitemap-provider looking like this:

Error adding to SiteMapProvider: System.Web.HttpException: 'http://xxx.xxx.se/sv/path/path' is not a valid virtual path.     at System.Web.Util.UrlPath.CheckValidVirtualPath(String path)     at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative)     at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode)     at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)

Could the Sitemapprovider be the problem in this case or could it be something else I haven't thoguht about?

I guess I can just remove the Sitemapprovider from the web.config right? But still I'd like to know if others have had the same problems..

 

 

 

7/1/2009 9:46:03 AMAvatarfedLocation: Sweden, gävleposts: 189Karma: 59
Comment with ID: 8327

Seems I couldn't disable the sitemapprovider after all. I thought it wasn't used in umbraco backend, but it was receiving exception on save etc :)

7/3/2009 11:44:18 AMAvatarRoel SnetselaarLocation: Schiedam, The Netherlandsposts: 120Karma: 238
Comment with ID: 8512

Is this a default Umbraco installation or do you also have any packages installed or did you do some customizations yourself? You probably have a memory leak somewhere. Did you try running the site without the memory limitation? So IIS can handle the memory itself? If you do have a memory leak you will need to look into this and solve it eventually.

7/3/2009 11:48:29 AMAvatarRoel SnetselaarLocation: Schiedam, The Netherlandsposts: 120Karma: 238
Comment with ID: 8513

btw try looking into any sqldatareaders which are used, they are quite likely to contain memoryleaks when not properly closed.

7/3/2009 12:13:58 PMAvatarfedLocation: Sweden, gävleposts: 189Karma: 59
Comment with ID: 8514

It's a clean install with a couple of XSLTExtensions, RESTExtensions and multiple file upload, the extensions is only using the umbraco API.. I am not using any custom tables or reading from MSSQL in any way..will try debugging the memorydump after lunch, getting hungry... thanks

7/3/2009 4:27:24 PMAvatarfedLocation: Sweden, gävleposts: 189Karma: 59
Comment with ID: 8541

It was an issue with ImageGen, updated to 2.2.1 and it worked fine.. somehow the cache didn't work as it should.. Haven't had time to investigate it further.. time for vacation :)

8/13/2009 11:04:59 AMAvatarTony HLocation: Drottninggatan 90B, Stockholm, Swedenposts: 31Karma: 26
Comment with ID: 12312

Hi, I have a similar problem - where do I find ImageGen 2.2.1 or later? http://www.percipientstudios.com just seem to have 2.0.1 which I already use.

8/13/2009 11:07:56 AMAvatarPeter DijksterhuisLocation: Swifterbant, 8255EA, NLposts: 1262Karma: 1389
Comment with ID: 12313

You can find the latest version of ImageGen here: http://our.umbraco.org/projects/imagegen

8/13/2009 11:25:51 AMAvatarTony HLocation: Drottninggatan 90B, Stockholm, Swedenposts: 31Karma: 26
Comment with ID: 12314

Found the updated ImageGen here: our.umbraco.org/.../2982-[UPDATE]-Fix-to-caching-bug-in-201

Please login or Sign up To post replies