I've deployed my Kentico site into Azure and it's running, but very poorly.
1. The Application Pool resets frequently with a reason of CONFIG CHANGE.
2. The database is under pretty heavy load even when the site has no traffic.
**Regarding #1**: If I remote into the web role's vm, I don't anything out of the ordinary. I have made a few changes to the application pool and the web app via a startup script (to enable applicationInitialization). I don't have much else to go on here.
**Regarding #2**: I have enabled database auditing and see that a single query is being executed hundreds of times per second.
EXECUTE sp_executesql, NVarChar(100) ='SELECT TOP 1 COUNT(*) FROM CMS_WebFarmServerTask WHERE ServerId = @ServerId AND ErrorMessage IS NULL', NVarChar(13) ='@ServerId int', Int @ServerId='1'
The site is not running in a web farm. I have one Azure CMSApp instance and under Settings -> Versioning and Synchronization -> Web farm, the Enable Web Farm setting is not checked. Under Web Farm application, I see the single web node. However, when I edit that node and click the "check server availability" button, it shows an error:
The remote server returned an error: (503) Server Unavailable.
at System.Net.HttpWebRequest.GetResponse()
at CMSFormControls_System_UrlChecker.CheckServer(String parameters) in c:\\Projects\\ProceraHealth\\CMS\\CMSFormControls\\System\\UrlChecker.ascx.cs:line 325
↧