Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Logging into my site's Wordpress admin backend take several minutes. The site indicates that it is loading and then just hangs for many minutes before finally loading. It smells like something is timing out, I suspect a plugin, but I can't for the life of me figure out what.

In order to troubleshoot this, what steps would you take if confronted with such a problem? Turn plugins on and off and see which is the culprit? The problem with this approach is that after the initial slow loading, everything loads normal. Check php max execution times in php.ini? Somehow monitor outgoing connections to see what's trying to reach something and timing out (how would you do this)?

Any suggestions welcome.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

I would do most of my troubleshooting in the Debug Bar plugin along with the Debug Bar extender plugin.

This plugin gives you detailed access to everything that is going on behind the scenes. It can also detail memory usage and execution time for each function and database query along with where it was called from.

I would start by doing some checking with the tool then come back here if you get stuck on anything.

share|improve this answer
    
This plugin is not working for me. I am stuck with version 3.2.1 of WP but the plugin is theoretically supposed to work with that version. I have eliminated all of the usual suspects (WP version, PHP version, etc.) but the Debug button just does not appear in the Admin Bar. What's more I've tried it on 2 separate installs of WP 3.2.1 on two different hosts, using completely different themes. Fails in both places so I suspect it is just broken with 3.2.1. –  Lothar Jan 5 '12 at 21:19
add comment

Firebug's network monitoring tool lets you see where delays in loading are. Could be a large uncachable file downloading every time you log in or something. It'll also give you an idea whether it's a PHP related delay.

If it's the second, see if you can cut down on the number of plugins. If there is a plugin out there which combines the functionality of two or more of ones you have, it would be better to install. Performance degrades according to number installed moreso than the weightiness of each plugin. Also, disable unnecessary ones.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.