Dear dev team,
we installed magento2 in my localhost , it installed successfully but we are facing so many issues .
please let me what issue on my localhost . we waiting your Answer .
@ramendra88 re speed, have you checked out the following threads: #1726, #2999, #2824 and #2669
After installing magento successfully, it has not installed static files so it takes time for a lot of 404 not found error.
I had to run this command
php bin/magento setup:static-content:deploy
so we will have the admin & frontend theme installed correctly.
@inkxe-ramendra any update?
i have tried everything found on the web and sill painful loading... its not possible to do front end work with 30+ second reloading page
@GanchoDanailov did you setup varnish?
Closing as non responsive
deploying static content is not a solution to this, obviously local environment is meant for developing in so you have develop mode set and caching off. It is painfully slow to develop in compared to magento 1.
its terribly slow on local host, did everything on php.in config, tried to apply manythings but at the ends it terribly slow.
Indeed M2 is very slow on localhost, I have manage to lessen the sluggishness by increasing php memory limit, for test site it's recommended to set it into 2G from .htaccess file
wow setting memory_limit = 2g makes a world of difference
php_value memory_limit 2G
makes my Magento2 admin to load much faster,
It was just loading and loading before and gives connection time out.
I thought I would drop my experiences here for google since this came up in a search for me in trying to figure out my slowdown. Admin pages taking 30s - 1m to load in M2.1.4.
I had switched to developer mode to debug an extension. Afterward I switched back to production mode and it threw an error at the setup:static-content:deploy (this always has at least one error since clean install and it's always with a translation routine even though I have nothing needing it).
Doing a php bin/magento deploy:mode:status said it was in production mode. However after much searching I had a hunch to try running the mode set again without compiling... e.g. php bin/magento deploy:mode:set -s production
Boom everything fast again. So it appears it thought it was in production mode as evidenced by the status, however it really wasn't since it errored on the static content deploy and didn't fully complete the mode set command... yet managed to set the status. Pretty buggy if you ask me. But this fixed the issue with being super slow for me.
Hi @twistedatrocity,
Admin pages taking 30s - 1m to load in M2.1.4
Are you using PHP 7? It is like x3 times faster than PHP 5.6 and I see no reason use the latter for development nowadays.
Afterward I switched back to production mode and it threw an error
In such case it would be not superfluous to check current mode with show
command. There is also default
mode which may be pretty slow for initial requests.
Hi I agree with @twistedatrocity ..
Now it is working as a charm
Magento 2 is not slow by default. To improve it speed and performance these steps are required:
Source: Why Magento 2 is slow?
I had this problem after importing database from other server. Problem was that some triggers in database had set definer on other user then i set in Magento connection to database. I had this other user created but i decide to change this to default user. After that admin panel start to work as normal.
That was weird because developer toolbar didn't show problem with db rather with layout
Implementing production mode will let you take advantage of CSS and JavaScript merging and minifying which makes a truly drastic improvement to your stores performance. Coupled with PHP7 w/ PHP-FPM Magento 2 absolutely flies.
Follow this guide for easy and proper deployment of production mode: http://www.codealist.net/magento-2-moving-to-production-mode/
Just access magento server via ssh and run following command
php bin/magento deploy:mode:set -s production made
and your site will run much faster
Hello. Came across this issue which I had too. If you the issue is still not solved, check out this article https://onilab.com/blog/magento-admin-back-end-slow/
It's up-to-date and helped me a lot.
Years later and magento 2 continues extremally slowly on localhost. Docker, varnish, Mac...
Nothing make magento 2 fast.
Plsase see the previous comments which provide solutions.
Also Xdebug and too few resources make it slow. See https://blackfire.io for a debugging solution.
Most helpful comment
deploying static content is not a solution to this, obviously local environment is meant for developing in so you have develop mode set and caching off. It is painfully slow to develop in compared to magento 1.