Magento admin server is very slow even with a fresh installation

The Magento firewall is very slow, with a new installation of the same version 1.7.0.2.

With my previous installation, it worked perfectly with fairly good speed on the same server with the same hosting company and without any additional settings.

But all of a sudden, I messed it up due to another custom theme that I installed. So I reinstalled it after uninstall. Then I found more problems even when accessing it.

Therefore, I created a new public_html folder and renamed the previous one to public_html.old .

Then I was able to reinstall Magento in the root folder. But this time it starts very slowly, in fact, every step is slow.

Can someone help me track the actual cause. What might be the opportunity. It worked well before, but why not this time.

+4
source share
2 answers

I know this is an old problem, but many people still use 1.7.0.2, so I think this is still relevant.

The described performance characteristic makes the system unusable, and it is definitely not only the standard settings that can fix it. This is a mistake with such an easy “job” if you can call it that fixing it was probably a low priority. But I did not find this job easily. Therefore, I am posting here.

My setup:

  • Macbook pro
  • NFS Strollers Set on VirtualBox
  • VM from Ubuntu 12.4
  • LAMP
  • Magento 1.7.0.2
  • Adequate RAM, etc.

Problem
I was getting 8 to 12 seconds of page loading in the admin interface. Typical performance with proper operation was about 1 second.

Diagnostics
I launched Magento Profiler: see http://www.neptuneweb.com/blog/?id=24

  • First enable the profiler through System → Configuration → Developer → Profile (yes). This allows you to profile, but does not fill out any of the testing steps.
  • Find the commented line in /index.php around line 71
  • Uncomment this line to enable the profiler. "Varien_Profiler :: enable ();"
  • Refresh the page you are optimizing. At the bottom of the page you will see a performance table.

In my case, the profiler table (not sorted, unfortunately) showed very late times for "adminhtml / default / default / default / template / notification / survey.phtml"

It seems you are showing a timestamp starting at 0 when a request arrives, at any timestamp for each event being tracked. Thus, you cannot see how long it takes to process and return. But you can tell when this will end, and by subtracting the next longest time of another process, you can (sort of) tell how much time has passed. Some asymmetric processing is likely to occur to complicate the situation. But since some probably have the dependencies they are waiting for, this seems to work fine.

Decision

  • After loading the admin interface, I again noticed that the impudent bar above asked me to fill out a survey to send Magento. Rejecting this notification, everything became fast ...

So, it was a very easy solution for me after a lot of troubleshooting. But if this is not the exact reason for you or the popup does not appear, troubleshooting information should help you find what is.

The profiler is also a great tool for optimizing page loading, even when it works more or less normally.

+3
source

Make sure you enable compilation: admin> System-Tools-Compilation. This can improve performance.

There is thread on the Magento community forum and a question on stackoverflow.

+2
source

Source: https://habr.com/ru/post/1438189/


All Articles