Forums

[resolved] WordPress administration interface loading slow (10-12 secs) (13 posts)

  1. ZeroPing
    Member
    Posted 4 years ago #

    Hi. I have multiple WordPress blogs on my own server which is running Apache 2.0.59, PHP 5.1.5, and MySQL 5.0.45. Currently, I am experiencing load times for my /wp-admin page at about 10-12 seconds. Loading the blog itself takes about 5-6 seconds, which is also weird because it usually pops up immediately since it's very light and pretty much text only. I know I'm not having bandwidth issues, and I've asked in the PHP, MySQL, Apache, and WordPress IRC channels about this issue. Everyone points their finger at it being a WordPress issue, which is obvious after I look at my configuration files and whatnot. However, I can't figure out what the problem is. If anyone could help me out here, I would greatly appreciate it. Waiting on pages to load this way is pretty nerve racking.

  2. Metlin
    Member
    Posted 4 years ago #

    It could be one of many things.

    1. Your PHP install is stalled for memory by the various instances of WP. This could be fixed by editing the PHP configuration settings to allocate more memory.

    2. Your DB queries could be slow, and that could be causing the problem. Although, given that your WP admin page is loading slowly, I'm uncertain if this could be the cause.

    3. Something else that I have completely missed. :)

  3. ZeroPing
    Member
    Posted 4 years ago #

    I thought it might be because I was outdated and had version 2.1, so I went ahead and upgraded to 2.3, but no changes. Still slow as can be. Verion 2.3 doesn't even tell me the page load times at the bottom of the page anymore.

  4. Metlin
    Member
    Posted 4 years ago #

    Seems to work fine for me. From what I could tell, the query to do that in my theme is this:

    <?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds.

    It could be that your WP install is flaky.

  5. ZeroPing
    Member
    Posted 4 years ago #

    I don't see how it could be flaky. I just have the base install. No plugins, nothing extra, just the blog.

  6. Metlin
    Member
    Posted 4 years ago #

    Did you try increasing the memory available to PHP? The fact that you are having multiple installs could potentially contribute to that.

  7. ZeroPing
    Member
    Posted 4 years ago #

    When I was doing some Google searching earlier some posts I found in other forums mentioned a PHP memory rewrite or something of the sort. Would you be able to help me locate where to do that? I'm not extremely familiar with the locations of things in the php.ini.

  8. superjux
    Member
    Posted 4 years ago #

    I'm also experiencing this. The lag is noticeable when a) logging into the dashboard; b) when publishing a post; and c) when a reader leaves a comment. I have asked my hosting company and they keep telling me the issue is with my WordPress installation, but I upgraded to the latest version for one of my blogs and the lag is still there.

  9. ZeroPing
    Member
    Posted 4 years ago #

    After I get finished with lunch here I'm going to attempt to do a test installation with a new database and a new WordPress installation of 2.3 and see if it lags. If so, then I know it's something with my PHP or database system. If not, then I know it's something just with my blog individually.

  10. ZeroPing
    Member
    Posted 4 years ago #

    Alright, so I just installed a fresh installation of WordPress under a new directory on my server and it runs at normal speed. So now I know that it's something with my blog since this test blog I newly created from scratch is fine.

    No clue what to do from here. The cuplrit must be something in PHP.

  11. superjux
    Member
    Posted 4 years ago #

    Okay, disregard my post. I disabled then enabled each plugin individually and realized the slowdown began when I re-enabled the Bad Behavior plugin. This kind of sucks because I need that one, but I will see what I can find about this issue.

  12. ZeroPing
    Member
    Posted 4 years ago #

    "When all else fails, reinstall."

    Exported my WordPress file to a .XML and deleted everything from my old installation, then went ahead and did a fresh install of 2.3, imported my .XML output file back into WordPress, and now it works like a charm.

  13. Metlin
    Member
    Posted 4 years ago #

    Well, glad to hear that things are working for both of you. :)

Topic Closed

This topic has been closed to new replies.

About this Topic