Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout during generating product urls after newly created store view #10315

Closed
JeroenVanLeusden opened this issue Jul 25, 2017 · 4 comments
Closed
Labels
bug report Component: CatalogUrlRewrite Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Partner: Reach Digital Pull Request is created by partner Reach Digital Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@JeroenVanLeusden
Copy link
Member

JeroenVanLeusden commented Jul 25, 2017

Preconditions

  1. Magento v2.1.7
  2. PHP v7.0.14
  3. MySQL v5.6.33

Steps to reproduce

  1. Create 65K products (our use case).
  2. Create new Store View.

Expected result

  1. Store View will be created and all products are assigned to that newly created Store View.

Actual result

  1. Store View will be created but not all products are assigned to that newly created Store View.

Exception being thrown: PHP Fatal error: Maximum execution time of 120 seconds exceeded in /data/web/magento2/vendor/magento/module-catalog-url-rewrite/Model/Category/Plugin/Store/View.php on line 136. Most servers are configured with a timeout of 60 or 120 seconds. When adding 65k products Magento will need more time to generate all URLs. This should not be done through a web process.

@JeroenVanLeusden
Copy link
Member Author

Temporarily using a custom created cron job that will re-generate all urls.

@orlangur
Copy link
Contributor

This is due to poor URL Rewrites performance, tracked as MAGETWO-69145 internally according to #10242 (comment).

Not sure if it works better already on Magento 2.2.0 branch.

@magento-engcom-team
Copy link
Contributor

@JeroenVanLeusden, thank you for your report.
We've created internal ticket(s) MAGETWO-69145, MAGETWO-80341 to track progress on the issue.

@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed labels Sep 28, 2017
@paales paales added the Partner: Reach Digital Pull Request is created by partner Reach Digital label May 8, 2018
@magento-engcom-team
Copy link
Contributor

@JeroenVanLeusden, thank you for your report.

Unfortunately, we are archiving this ticket now as it did not get much attention from both Magento Community and Core developers for an extended period. This is done in an effort to create a quality, community-driven backlog which will allow us to allocate the required attention more easily.

Please feel free to comment, reopen or create new ticket according to the Issue reporting guidelines
if you are still facing this issue on the latest 2.4-develop branch. Thank you for collaboration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: CatalogUrlRewrite Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Partner: Reach Digital Pull Request is created by partner Reach Digital Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

6 participants