This is a migrated thread and some comments may be shown as answers.

App Pool Memory issues

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 26 Jul 2013, 08:16 PM
Hi everyone;
We have a problem with one of our deployed Web apps' on our production server.  This app uses a number of third party tools including many telerik ones.  We recently upgraded that app from 2.0 to 4.0.  When the 4.0 version was deployed we started having some major problems.

We are seeing problems with the App Pool exceeding its memory settings, thus causing it to reset.  It was on an App pool set to use .Net Framework 4.0, with several other applications.  However, after it was deployed, every app in that app pool started losing its session values long before the timeout was reached.  The log file showed that the app pool was resetting and each time it was resetting it was due to this app exceeding the memory of the app pool.

So we put it into its own app pool and upped the amount of memory for that app pool.  We found that there were still issues such as taking 11 minutes to go load a new page after pressing a button on the first page. 

As stated, this application uses a number of Telerik products.  I recall seeing a couple of years ago articles about Sitefinity not being able to be hosted on a shared app pool because of memory issues, and an article about a Telerik reporting tool that had similar issues.  I am also concerned that the developer may not have utilized 4.0 compatible Telerik tools.
The Dlls being utilized are:
Telerik.QuickStart.dll ver.  1.0.3085.18368
Telerik.Web.UI.dll ver. 2012.1.215.40
Telerik.Web.UI.Skins.dll ver 2012.1.215.40
RadAjaxNet2.dll ver 1.6.2.0

I would like to know are these the proper versions of these dlls to be used in .Net Framework 4.0.30319 and later?
Have there been any reports of excessive memory usage by any of the controls encompassed in these assemblies?
If there are later assemblies that we should be using what are they?

Just want to say in passing, that I would not think that the Telerik.web.ui.dll would be a problem given its version number, but I don't know for sure.

Thanks in advance for your advice and help.


Update:  For some reason the reply text area would not permit me to type in it.  It would allow me to place the cursor there but as soon as I started typing the cursor disappeared and nothing happened.  So I tried to attach a text file with my reply but you are only allowed to upload image files.  So I am typing my reply as an update to the original thread entry.

The dll, RadAjax.Net2.dll, is registered on each page but is not actually used anywhere in the app as far as I could tell.  I will refer your comments about your memory leak and your recommendations to the Management Team so they can pass it on to the developers. 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 31 Jul 2013, 07:40 AM
Hello Edward,

I would like to clear some aspects of the .dll files you are using:

  • The Telerik.QuickStart.dll and RadAjaxNet2.dll were distributed with the Classic version of RadControls for ASP.NET which is no longer supported. The successor of the classic suite is the RadControls for ASP.NET AJAX suite which current version is 2013.2.717 (Q2 2013 SP1).
  • Since you are referencing both Classic and AJAX versions of the product I suspect that you have some legacy components and code in your app. However, because classic controls are not supported any more and based on the fact that they have never been built against .NET framework version later than 2.0, I would strongly recommend that you refactor you app so that it uses only AJAX components. This should result in removing the references to Telerik.QuickStart.dll and RadAjaxNet2.dll.
  • The current version of RadControls for ASP.NET AJAX ships with builds for .NET 35, .NET 40 and .NET 45.

In addition, a few months ago our developers managed to isolate and fix a memory leak issue in some of our components (RadEdtitor and RadFileExplorer) that caused similar problems - app pool resetting due to excessive memory usage. Because of that I would suggest that you try the latest version of the product.

I hope this helps.

Regards,
Martin
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Edward
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or