Skip to content

Critical Performance Issues Post-Upgrade from Umbraco 11.5.0 to 13.4.1 #16803

@piotrbach

Description

@piotrbach

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.4.1

Bug summary

After upgrading Umbraco from version 11.5.0 to 13.4.1, we are experiencing critical issues with basic operations such as publishing and unpublishing content.
Additionally, we are often encountering database lock errors.
We have noticed significant changes in the database schema and indexes.

Please let us know if this upgrade/change has been performance-tested on a large volume of data similar to ours.
We would greatly appreciate any guidance or solutions to resolve this critical issue.

cc: @wtct

Specifics

We are managing a large dataset with ~325 000 documents.

We have attempted various solutions to resolve the issue, including:

  • Disabling nucache local db

  • Forcing rebuild of Database/Memory Cache

  • Disabling all custom handlers (ContentPublishingNotificationHandler, ContentUnpublishingNotificationHandler, ContentSavingNotificationHandler, etc.)

  • Rebuilding database indexes

  • Disabling DeliveryApi and Webhooks via configuration in appsettings.json

  • Disabling Content Cleanup Hosted Service to reduce background processes

Additionally, we observed that the upgrade process takes so long that the https://localhost:44392/install view does not redirect after completion.
We can only see from the logs that the process has finished.
When accessing https://localhost:44392/ directly and removing /install, the site still shows 'Website is Under Maintenance'.
Only after restarting Umbraco does the site function normally.

Steps to reproduce

  1. Start with an Umbraco 11.5.0 instance containing 325K documents.

  2. Perform an upgrade to Umbraco 13.4.1.

  3. Attempt to publish or unpublish a document.

  4. Observe the performance and any errors related to database locks.

Expected result / actual result

  • Expected: Publishing and unpublishing operations should be fast and error-free.

  • Actual: Operations are ultra-slow slow, and database lock errors occur. Working with CMS is impossible.

umbraco-lock-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions