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...Language and In...Language and In...High CPU after Content TranslationHigh CPU after Content Translation
Previous
 
Next
New Post
11/27/2012 12:36 PM
 
Allow me to tell you what I discovered the root of the problem.

I created a mirror web portal (dnn 6.2.4  .net 4 with sql 2012 web edition db) to a server of one of our clients in Jordan. 

Initially it was put on a temporary url. To our surprised for a few days the speed was super fast, although the bandwidth and the hardware was lower than my server with the host (4 core xeon, 4 GB Ram, Win 2012 Std with sql 2012 web)

We used red-gate and sql profilers and saw nothing serious to warrant a red flag.

Then we decided to go a step further and change the dns setting of our active domain to the local testing server.


For the first 6 hours or so, it maintained the same performance, then we started to experience the same issues of high cpu.


It behaved like this: up to 25% hovers around it then jumped 50% hovered around 50% jumped to 75% hovered around 75% then jumped to 100% stuck and the site become non responsive and generated server error messages, We manually killed the w3wp.exe when it reached 100% to keep the site alive


Initially we suspected a malicious spider or crawler. We know spiders consume very little band-width hence difficult to detect.

The site is as such

google indexed pages: currently over 25,000.

daily average visitors unique based on smarter tools stats (IIS raw logs) over 1,000 unique visitor with pages view average 3 per visitor (obviously not including real spiders) Google analytics figures  much less.

The portal is not considered high traffic, but very targeted and focused


From the dump log we discovered some troublesome urls, they all had /en-gb/ or language=en-gb

a year or so i had en-gb language pack installed on the site, then removed it.

We checked the db and discovered reference to /en-gb/ without any fallback, it appeared to have been uninstalled but not fully. And google still has some urls with /en-gb/ or language=en-gb indexed.

Since the problems started i installed the Arabic language pack to launch an Arabic version of my portal

Hence all the urls now are language enabled (either /en-us/ or /ar-jo/) In dotnetnuke every language package has a fallback language, 

We tried an exercise the minute we reproduced a url with  /en-gb/, the site went into a spine and unrecoverable loop, and saw the surge of cpu to 100%.


We enabled request filters on the IIS to deny /en-gb/, it was magic for 6 hours or so, we tested it with /en-gb/ and it was handled


The  problem reappeared again but this time with less severity but the same behavior  (25 - 50 - 75 - 100) at 100% the cpu stayed for 10 to 15 mins non responsive. while in this case the site is back to normal after that, with no server error messages.

On IIS 8, one can throttle down the cpu at a defined %, but the root of the problem is no solved.


I suspect low bandwidth malicious crawlers, obviously these can be filtered out by branded hardware firewalls but their cost is out of reach for me. Although I am a member of Microsoft BizSpark program and have access to most MS products (MSDN) but could not find a MS product to protect web servers, yet





 
 
New Post
11/28/2012 7:42 AM
 
please check IIS weblogs (e.g. by using smarterstats or awstats), how many website calls are made on your site and how it co-incident with your performance peaks.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2012 10:02 AM
 

There was an  infinite loop, cause by the the indexed pages carrying the deleted language of "en-gb" without any fallback language, before I enabled "Request Filtering"

Although I deleted the database reference of the uninstalled language pack, Google already had over 900 indexed pages carrying the language reference of the en-gb without any fallback language

We used throttling to a limit of 50% of the cpu as a precaution but the "Request Filtering" in IIS 8 did the trick.

Problem resolved :)


 
New Post
11/28/2012 9:26 PM
 
thanks for providing information about your findings.
I am glad, you were able to solve your issue.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...High CPU after Content TranslationHigh CPU after Content Translation


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