Could do with a couple of extra eyes on this thread:
http://orchard.codeplex.com/discussions/280024
Rather than posting the whole history in here the summary is:
1) If we put about 20 concurrent users against the site with a load
testing tool orchard keels over
2) What appears to happen is on Line 30 of SiteServices.cs Site is ==
null which results in the following code being executed
site = _contentManager.Create<SiteSettingsPart>("Site", item => {
item.Record.SiteSalt = Guid.NewGuid().ToString("N");
item.Record.SiteName = "My Orchard Project Application";
item.Record.PageTitleSeparator = " - ";
}).ContentItem;
3) This causes the InvalidOperationException because HomePage == null
for the additional sites
Sebastien has already provided me with many performance pointers which
have helped vastly, I would be interested to know if anyone else has
experienced the above issues or could shed any light on why this might
happen under load.
Best Regards
Richard Slater