Slowness in Cancelling Journal Entries in Production

Hi Team,

We are experiencing performance issues while cancelling Journal Entries in our ERP system. The issue is noticeable only in Production, whereas Dev and QA environments handle cancellations much faster.

Observations:

  • In Dev/QA, cancellation completes within ~2 minutes.
  • In Production, it takes ~6 minutes, especially when multiple cancellations are triggered in bulk.
  • During this time, other events also get stuck, impacting system performance.
    Has anyone faced similar issues with bulk cancellations in Frappe/ERPNext? Any suggestions on how to optimize performance and avoid blocking other operations?

Appreciate any insights! :rocket:

frappe ERPNext performance #JournalEntry #DatabaseOptimization

Check if there are a lot of background jobs running which takes more time to do bulk transaction, also check error logs for any possible errors