The original blog post on parallel publishing by Alex Shyba for SC 7.2 is a great resource and I think still applies to Sitecore 8.2.
I've dabbled with parallel publishing before on SC7.2 as well as just now on 8.2 and both times I've found that during a "large" publish operation (i.e. more than, say, 100 items) the busy CD server can, sometimes, completely lock up, rendering my website offline until I kill the app pool.
- Has anyone else experienced this?
- Why this might happen?
I suspect it's something to do with the shared
core database where 2 instances (CM and CD) are fighting for locks on
EventQueue rows but I've never really been able to get to the bottom of it.
No errors in any of the logs on CM or CD, no Windows Event Log entries, nothing I can see in SQL server (maybe I don't know what to look for, though).
The CM does not lock up - only the CD. The lock-up continues even after the publish has completed.
It's hard to test because it seems to only happen intermittently in a busy production environment which is hard to replicate.
The blog post above mentions enabling the Async EventProvider:
- Enable the following /App_Config/Include file by renaming its extension to .config:
- Is this only required on the CM or on the CD as well?
- If not, could failing to enable the Async Event Provider on the CM somehow lock up the CD?