High CPU and memory usage in Kentico CMS.

Our problem started few weeks ago, there was no change on server side, so it just came from "nowhere".

We have Windows Web Server 2008 R2 with IIS 7 (7.5.7600.16385), this server is hosting 19 websites, 2 of them are Kentico CMS, both used to use very much CPU and memory use is growing all the time. Temporary solution was to configure memory limit in IIS, so when it goes over 4GB, w3wp process is restarted.
I need to know what is cause for that.
First thing I found out: both w3wp processes have many threads clr.dll!DestroyAssemblyConfigCookie+0x130ec, sometimes cycles delta for all those threads takes up to 2,000,000,000. It's about 2Ghz CPU.
Clr.dll is .NET library, but I couldn't find any documentation about modules inside. It's version .NET 4.0.30319.

Another thing is how can I check which library/thread is using most memory, where leakage can occure? Both websites are in production and visited all the time, so I'm not allowed to experiment or do any changes in code.
LVL 2
Tomasz CzyzSystem AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan McFaddenSystems EngineerCommented:
So, first things first... the CLR.DLL is the .NET engine (for lack of a better description), so it is not a surprise that a .NET based CMS has multiple threads running thru the CLR.  Not an issue.

Before you start ripping apart a 3rd party application, I would ask a few questions first:

1. what version of the CMS are you running?  Current version is 8.2 (January 6, 2015).
2. have you analyzed the CMS sites http logs to see what is going on?
3. can you correlate memory pressure with site activity?
4. can you correlate CPU pressure with site activity?
5. where is the database(s) that supports the CMS's?  local instances or remote?
5a. if the SQL Server instance is local, what is its memory and CPU utilization footprint?

Also, since Kentico CMS is a commercial software package, have you opened a support ticket with the vendor?

Has your company built custom functionality into the CMS?

Dan

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Tomasz CzyzSystem AdministratorAuthor Commented:
Thank for help.
We had version 5 installed and we have custom functionality with special authentication and session/cookie handling which is causing problems.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.