I have more than 150k products on craft commerce, and i need to do some changes in the URL format, but when i click save, the server returns a 502 error.

I think that is because craft is trying yo re-generate every url in the 150k products. do you have any idea how to resolve this issue?

  • 1
    When does the 502 (bad gateway) error arisen (immediately/after x seconds) ? Do you get a chance to look at the job queue in the control panel before the error happens? I have done url schema changes with a basic craft installation with about 60k entries. Changeing the urls was correctly done using the job queue. So the "problem" was rather how long it took the server to complete all jobs and not the webserver being "overloaded". Jalens Queue Manager plugin might give you more insights - provided the task gets deployed to the queue at all: plugins.craftcms.com/queue-manager – MisterMike Mar 16 at 11:17
  • The error happens after 30-60 seconds, and i dont have pending jobs in queue – juanjosezg Mar 17 at 6:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.