Orchard CMS 1.6.1. slow page loading (Azure)

I am developing a large project on Orchard CMS. I decided to create a simple promotional site (without my modules) based on Orchard when developing a project. I successfully deployed Orchard to Azure, installed the necessary modules, and created all the pages. The site has been working fine for several weeks. And then the problems began.

Sometime I saw that the processor quota was exceeded. The log file was clean. There were no requests for the site, except for search robots. All my attempts to find the cause have failed. After that I will disable several modules: Cache - 1.3 and Combinator.

A few days later I had a new problem. I don’t know why, but Orchard tried to recompile some module and could not save them to FS Storage (the storage was busy or something like that). This problem was easily resolved.

And now there is another problem. Each request to the site takes about 30 seconds to display. In the azure panel, I see that in Orchard there is some background process that consumes about 50% of the processor quotas. The log file is cleared. There are no additional modules besides Vandelay Industries and Advanced Sitemap. And I do not know how to determine what is wrong. I tried to set the log level to ALL. After 5 minutes, there was a 10mb log file with NHibirnate entries.

How can I solve this problem? Orchard usually always changes something (for example, rebuild modules)?

+4
source share
1 answer

Well, I just experienced this problem last Friday. My solution was to deploy my Orchard site on Amazon EC2 and call it Day.

I used azure websites, not web roles. Websites are currently in a "preview". Therefore, I think I can’t expect this to work. Note. I also tried to β€œsupport” my site with a reserved small copy. This did not increase AT ALL performance.

So, I opened a ticket in Microsoft Support, saying that it works very quickly locally, they replied that this is a configuration problem with Orchard! So, at this point I created an EC2 instance and provided Microsoft with URL support for my EC2 instance and asked why identical configuration on EC2 works soooooo fast!

I plan to try and deploy the azure web role instead of the web site, but for now, I'm just disappointed with Microsoft's answer and, of course, have to do other tasks. I hope I find time for a web role in a few days.

RANT: an instance of EC2 Free ran out of disk space before I even installed the .NET Framework !!! So it seems like you can't run an ASP.NET website for free on Amazon .. at least not getting really creative. The minimum disk space required for Server 2012 is 32 GB: http://technet.microsoft.com/en-us/library/jj134246.aspx , and the EC2 instance had only 30 GB.

0
source

Source: https://habr.com/ru/post/1481747/


All Articles