Magento 2.3 Extremely Slow - Multiple PHP ProcessesMagento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento Backend horribly slow Nginx + PHP-FPM + MariaDB + RedisMagento2 - Product import extremely slowMagento 2 Controller response very slowMagento 2.1 and PHP 7.0.8 work extremely slowWhy Magento 2 is extremely slow?Magento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento 2 product listing page extremely slowMagento 2 : Development is extremely slow?Magento 1 & 2 fill up MailDir with irrelevant email data after each cron

250 Floor Tower

What was the exact wording from Ivanhoe of this advice on how to free yourself from slavery?

Which one is correct as adjective “protruding” or “protruded”?

Are the IPv6 address space and IPv4 address space completely disjoint?

Why should universal income be universal?

Aragorn's "guise" in the Orthanc Stone

Should I outline or discovery write my stories?

Why did the Mercure fail?

Longest common substring in linear time

Is the U.S. Code copyrighted by the Government?

Is it possible to have a strip of cold climate in the middle of a planet?

Travelling outside the UK without a passport

C++ debug/print custom type with GDB : the case of nlohmann json library

The IT department bottlenecks progress. How should I handle this?

What if a revenant (monster) gains fire resistance?

Creepy dinosaur pc game identification

Why does the Sun have different day lengths, but not the gas giants?

Is it better practice to read straight from sheet music rather than memorize it?

Redundant comparison & "if" before assignment

Multiplicative persistence

What does routing an IP address mean?

Is there a working SACD iso player for Ubuntu?

Start making guitar arrangements

Existing of non-intersecting rays



Magento 2.3 Extremely Slow - Multiple PHP Processes


Magento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento Backend horribly slow Nginx + PHP-FPM + MariaDB + RedisMagento2 - Product import extremely slowMagento 2 Controller response very slowMagento 2.1 and PHP 7.0.8 work extremely slowWhy Magento 2 is extremely slow?Magento 2.2 often extremely slow, 100% processor usage after setup:upgradeMagento 2 product listing page extremely slowMagento 2 : Development is extremely slow?Magento 1 & 2 fill up MailDir with irrelevant email data after each cron













2















As to replicate pretty much as the poster in this thread -
Magento 2.2 often extremely slow, 100% processor usage after setup:upgrade



I have now had to restore a Magento from overnight backup 3 times now. I am working to move to Magento 2.3 from Magento 1.9 but I get as far as installing few extensions and then suddenly Magento will start to slow and spawn loads of PHP processes and send the server load sky high. I went as far as removing every single extension I added that day and still the same. Restore database backup too, same issue. I cannot find a way without having to restore from a backup or a fresh install every time. I don't ever see how I will be able to run this in production environment if it keeps doing this...



I don't understand why it randomly does this.... I'm not an expert. I have ran every possible command and searched heavily for a fix for this issue to no avail.










share|improve this question
























  • were you on a developer mode ?

    – magefms
    Jan 31 at 12:16











  • please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

    – HIren Kadivar
    Jan 31 at 12:19











  • It made no difference which mode I was in.

    – Daniel Bates
    Jan 31 at 12:26











  • but in which mode are you now?

    – magefms
    Jan 31 at 12:27






  • 1





    I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

    – Daniel Bates
    Jan 31 at 12:29















2















As to replicate pretty much as the poster in this thread -
Magento 2.2 often extremely slow, 100% processor usage after setup:upgrade



I have now had to restore a Magento from overnight backup 3 times now. I am working to move to Magento 2.3 from Magento 1.9 but I get as far as installing few extensions and then suddenly Magento will start to slow and spawn loads of PHP processes and send the server load sky high. I went as far as removing every single extension I added that day and still the same. Restore database backup too, same issue. I cannot find a way without having to restore from a backup or a fresh install every time. I don't ever see how I will be able to run this in production environment if it keeps doing this...



I don't understand why it randomly does this.... I'm not an expert. I have ran every possible command and searched heavily for a fix for this issue to no avail.










share|improve this question
























  • were you on a developer mode ?

    – magefms
    Jan 31 at 12:16











  • please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

    – HIren Kadivar
    Jan 31 at 12:19











  • It made no difference which mode I was in.

    – Daniel Bates
    Jan 31 at 12:26











  • but in which mode are you now?

    – magefms
    Jan 31 at 12:27






  • 1





    I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

    – Daniel Bates
    Jan 31 at 12:29













2












2








2








As to replicate pretty much as the poster in this thread -
Magento 2.2 often extremely slow, 100% processor usage after setup:upgrade



I have now had to restore a Magento from overnight backup 3 times now. I am working to move to Magento 2.3 from Magento 1.9 but I get as far as installing few extensions and then suddenly Magento will start to slow and spawn loads of PHP processes and send the server load sky high. I went as far as removing every single extension I added that day and still the same. Restore database backup too, same issue. I cannot find a way without having to restore from a backup or a fresh install every time. I don't ever see how I will be able to run this in production environment if it keeps doing this...



I don't understand why it randomly does this.... I'm not an expert. I have ran every possible command and searched heavily for a fix for this issue to no avail.










share|improve this question
















As to replicate pretty much as the poster in this thread -
Magento 2.2 often extremely slow, 100% processor usage after setup:upgrade



I have now had to restore a Magento from overnight backup 3 times now. I am working to move to Magento 2.3 from Magento 1.9 but I get as far as installing few extensions and then suddenly Magento will start to slow and spawn loads of PHP processes and send the server load sky high. I went as far as removing every single extension I added that day and still the same. Restore database backup too, same issue. I cannot find a way without having to restore from a backup or a fresh install every time. I don't ever see how I will be able to run this in production environment if it keeps doing this...



I don't understand why it randomly does this.... I'm not an expert. I have ran every possible command and searched heavily for a fix for this issue to no avail.







magento2 migration slowbackend






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 12:57









Shoaib Munir

2,2231828




2,2231828










asked Jan 31 at 12:11









Daniel BatesDaniel Bates

111




111












  • were you on a developer mode ?

    – magefms
    Jan 31 at 12:16











  • please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

    – HIren Kadivar
    Jan 31 at 12:19











  • It made no difference which mode I was in.

    – Daniel Bates
    Jan 31 at 12:26











  • but in which mode are you now?

    – magefms
    Jan 31 at 12:27






  • 1





    I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

    – Daniel Bates
    Jan 31 at 12:29

















  • were you on a developer mode ?

    – magefms
    Jan 31 at 12:16











  • please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

    – HIren Kadivar
    Jan 31 at 12:19











  • It made no difference which mode I was in.

    – Daniel Bates
    Jan 31 at 12:26











  • but in which mode are you now?

    – magefms
    Jan 31 at 12:27






  • 1





    I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

    – Daniel Bates
    Jan 31 at 12:29
















were you on a developer mode ?

– magefms
Jan 31 at 12:16





were you on a developer mode ?

– magefms
Jan 31 at 12:16













please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

– HIren Kadivar
Jan 31 at 12:19





please check app/etc/env.php 'MAGE_MODE' => 'default' or 'MAGE_MODE' => 'developer',

– HIren Kadivar
Jan 31 at 12:19













It made no difference which mode I was in.

– Daniel Bates
Jan 31 at 12:26





It made no difference which mode I was in.

– Daniel Bates
Jan 31 at 12:26













but in which mode are you now?

– magefms
Jan 31 at 12:27





but in which mode are you now?

– magefms
Jan 31 at 12:27




1




1





I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

– Daniel Bates
Jan 31 at 12:29





I'm currently restoring a backup from last night to get back on track. I didn't expect such quick responses, so thank you. I am going to repeat extensions I was installing and if the issue arises again (as it seems to consistently) I will let you know.

– Daniel Bates
Jan 31 at 12:29










3 Answers
3






active

oldest

votes


















0














There are multiple resources available to improve Magento 2 performance and all of them are pretty well documented.



Mode: Magento 2 has introduced modes, being the default one the slowest. Give the developer mode a try and always run your live store in production mode. More info here.






share|improve this answer






























    0














    There are different ways for speeding up your Magento site. However, the very first thing that you should do is running the developer mode.



    You can also try using Varnish Cache. Follow these steps:




    1. Install and configure Varnish Cache.

    2. Head to Stores > Configuration > Advanced > System > Full Page
      Cache
      .

    3. Select Varnish Cache in Caching Application.

    In addition, you can try activating CSS/JS minification and enabling flat categories and products. You can find the steps right here.






    share|improve this answer






























      0














      Slow magento 2 is not because of installing new modules. Magento 2 is much heavier than magento 1.9. So you need to optimize it and do some process to speed up.




      • Disable useless extensions



        php bin/magento module:disable VendorName_PluginName



      to re-enable it



      php bin/magento module:enable VendorName_PluginName


      • Choose the fastest hosting that you can afford

      • Turn on cache


      • Turn on Production mode



        php bin/magento deploy:mode:show



      • Never Use JS Bundling in:


      You can double check JS bundling is off by going to backend menu
      Stores > Configuration > Advanced > Developer:




      • Enable CSS/JS Minification

      • Use Built-in Cache or Varnish

      Reference: https://servebolt.com/speed-up-magento-2-in-7-easy-steps/






      share|improve this answer























      • We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

        – Daniel Bates
        Jan 31 at 12:50











      • Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

        – Shoaib Munir
        Jan 31 at 12:52










      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f259990%2fmagento-2-3-extremely-slow-multiple-php-processes%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      There are multiple resources available to improve Magento 2 performance and all of them are pretty well documented.



      Mode: Magento 2 has introduced modes, being the default one the slowest. Give the developer mode a try and always run your live store in production mode. More info here.






      share|improve this answer



























        0














        There are multiple resources available to improve Magento 2 performance and all of them are pretty well documented.



        Mode: Magento 2 has introduced modes, being the default one the slowest. Give the developer mode a try and always run your live store in production mode. More info here.






        share|improve this answer

























          0












          0








          0







          There are multiple resources available to improve Magento 2 performance and all of them are pretty well documented.



          Mode: Magento 2 has introduced modes, being the default one the slowest. Give the developer mode a try and always run your live store in production mode. More info here.






          share|improve this answer













          There are multiple resources available to improve Magento 2 performance and all of them are pretty well documented.



          Mode: Magento 2 has introduced modes, being the default one the slowest. Give the developer mode a try and always run your live store in production mode. More info here.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 31 at 12:23









          HIren KadivarHIren Kadivar

          736214




          736214























              0














              There are different ways for speeding up your Magento site. However, the very first thing that you should do is running the developer mode.



              You can also try using Varnish Cache. Follow these steps:




              1. Install and configure Varnish Cache.

              2. Head to Stores > Configuration > Advanced > System > Full Page
                Cache
                .

              3. Select Varnish Cache in Caching Application.

              In addition, you can try activating CSS/JS minification and enabling flat categories and products. You can find the steps right here.






              share|improve this answer



























                0














                There are different ways for speeding up your Magento site. However, the very first thing that you should do is running the developer mode.



                You can also try using Varnish Cache. Follow these steps:




                1. Install and configure Varnish Cache.

                2. Head to Stores > Configuration > Advanced > System > Full Page
                  Cache
                  .

                3. Select Varnish Cache in Caching Application.

                In addition, you can try activating CSS/JS minification and enabling flat categories and products. You can find the steps right here.






                share|improve this answer

























                  0












                  0








                  0







                  There are different ways for speeding up your Magento site. However, the very first thing that you should do is running the developer mode.



                  You can also try using Varnish Cache. Follow these steps:




                  1. Install and configure Varnish Cache.

                  2. Head to Stores > Configuration > Advanced > System > Full Page
                    Cache
                    .

                  3. Select Varnish Cache in Caching Application.

                  In addition, you can try activating CSS/JS minification and enabling flat categories and products. You can find the steps right here.






                  share|improve this answer













                  There are different ways for speeding up your Magento site. However, the very first thing that you should do is running the developer mode.



                  You can also try using Varnish Cache. Follow these steps:




                  1. Install and configure Varnish Cache.

                  2. Head to Stores > Configuration > Advanced > System > Full Page
                    Cache
                    .

                  3. Select Varnish Cache in Caching Application.

                  In addition, you can try activating CSS/JS minification and enabling flat categories and products. You can find the steps right here.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 31 at 12:34









                  Md. Ehsanul Haque KananMd. Ehsanul Haque Kanan

                  1984




                  1984





















                      0














                      Slow magento 2 is not because of installing new modules. Magento 2 is much heavier than magento 1.9. So you need to optimize it and do some process to speed up.




                      • Disable useless extensions



                        php bin/magento module:disable VendorName_PluginName



                      to re-enable it



                      php bin/magento module:enable VendorName_PluginName


                      • Choose the fastest hosting that you can afford

                      • Turn on cache


                      • Turn on Production mode



                        php bin/magento deploy:mode:show



                      • Never Use JS Bundling in:


                      You can double check JS bundling is off by going to backend menu
                      Stores > Configuration > Advanced > Developer:




                      • Enable CSS/JS Minification

                      • Use Built-in Cache or Varnish

                      Reference: https://servebolt.com/speed-up-magento-2-in-7-easy-steps/






                      share|improve this answer























                      • We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                        – Daniel Bates
                        Jan 31 at 12:50











                      • Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                        – Shoaib Munir
                        Jan 31 at 12:52















                      0














                      Slow magento 2 is not because of installing new modules. Magento 2 is much heavier than magento 1.9. So you need to optimize it and do some process to speed up.




                      • Disable useless extensions



                        php bin/magento module:disable VendorName_PluginName



                      to re-enable it



                      php bin/magento module:enable VendorName_PluginName


                      • Choose the fastest hosting that you can afford

                      • Turn on cache


                      • Turn on Production mode



                        php bin/magento deploy:mode:show



                      • Never Use JS Bundling in:


                      You can double check JS bundling is off by going to backend menu
                      Stores > Configuration > Advanced > Developer:




                      • Enable CSS/JS Minification

                      • Use Built-in Cache or Varnish

                      Reference: https://servebolt.com/speed-up-magento-2-in-7-easy-steps/






                      share|improve this answer























                      • We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                        – Daniel Bates
                        Jan 31 at 12:50











                      • Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                        – Shoaib Munir
                        Jan 31 at 12:52













                      0












                      0








                      0







                      Slow magento 2 is not because of installing new modules. Magento 2 is much heavier than magento 1.9. So you need to optimize it and do some process to speed up.




                      • Disable useless extensions



                        php bin/magento module:disable VendorName_PluginName



                      to re-enable it



                      php bin/magento module:enable VendorName_PluginName


                      • Choose the fastest hosting that you can afford

                      • Turn on cache


                      • Turn on Production mode



                        php bin/magento deploy:mode:show



                      • Never Use JS Bundling in:


                      You can double check JS bundling is off by going to backend menu
                      Stores > Configuration > Advanced > Developer:




                      • Enable CSS/JS Minification

                      • Use Built-in Cache or Varnish

                      Reference: https://servebolt.com/speed-up-magento-2-in-7-easy-steps/






                      share|improve this answer













                      Slow magento 2 is not because of installing new modules. Magento 2 is much heavier than magento 1.9. So you need to optimize it and do some process to speed up.




                      • Disable useless extensions



                        php bin/magento module:disable VendorName_PluginName



                      to re-enable it



                      php bin/magento module:enable VendorName_PluginName


                      • Choose the fastest hosting that you can afford

                      • Turn on cache


                      • Turn on Production mode



                        php bin/magento deploy:mode:show



                      • Never Use JS Bundling in:


                      You can double check JS bundling is off by going to backend menu
                      Stores > Configuration > Advanced > Developer:




                      • Enable CSS/JS Minification

                      • Use Built-in Cache or Varnish

                      Reference: https://servebolt.com/speed-up-magento-2-in-7-easy-steps/







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jan 31 at 12:46









                      Shoaib MunirShoaib Munir

                      2,2231828




                      2,2231828












                      • We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                        – Daniel Bates
                        Jan 31 at 12:50











                      • Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                        – Shoaib Munir
                        Jan 31 at 12:52

















                      • We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                        – Daniel Bates
                        Jan 31 at 12:50











                      • Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                        – Shoaib Munir
                        Jan 31 at 12:52
















                      We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                      – Daniel Bates
                      Jan 31 at 12:50





                      We are talking up to 5 - 10 minutes to load a single page. I have just restored a backup and Magento runs perfectly fine, a single php process as expected. This does not explain the multiple processes it keeps running.

                      – Daniel Bates
                      Jan 31 at 12:50













                      Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                      – Shoaib Munir
                      Jan 31 at 12:52





                      Try newrelic, I had used it in my website, it describe you the piece of code where your queries taking time. And its free for 15 days, its a builtin feature of magento 2, you just need to register on newrelic and integrate on your website

                      – Shoaib Munir
                      Jan 31 at 12:52

















                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f259990%2fmagento-2-3-extremely-slow-multiple-php-processes%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Sum ergo cogito? 1 nng

                      419 nièngy_Soadمي 19bal1.5o_g

                      Queiggey Chernihivv 9NnOo i Zw X QqKk LpB