• I have 2 dedicated servers. I have WordPress MU on both. When I try to create a site

    1. WP MU 1 on server 1 does it in 3-5 seconds
    2. WP MU 2 on server 2 does it in 45-50 seconds

    What can cause this delay? How can I debug PHP and MySQL?

    PS: Both WP MU are test installations. No plugins activated. Both OS are CentOS, Httpd is Apache and DB is MySQL.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you tried taking all the plugins out of the plugin folder and same with the themes?

    Even though the plugins aren’t activated WP still scans through the files. I would start there and run another test.

    Other then that I would run a phpinfo and compare the two server configurations to find what the difference is or try a 3rd server just to make sure it’s not the codebase. If the codebase is exactly the same then it has to be a server config issue… take a closer look at php accelerators as well.

    Thread Starter borayeris

    (@borayeris)

    Hi Bart,

    The only difference is slow one has PHP 5.4. The other one is 5.3.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Servers have identical setups? No memcached or apc on either?

    Also which is the slow one? Php 5.3 or 5.4?

    Thread Starter borayeris

    (@borayeris)

    Dear Mika,

    No, server are not identical. The one which has PHP 5.4 is slow at creating a subsite. And this server has a better cpu and more ram.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Given my anecdotal tests on php 5.4 are much faster…. I would think something was set up weirdly on the server. Is new site creation the only super slow aspect? Have you checked error logs on the server?

    Thread Starter borayeris

    (@borayeris)

    Dear Mika,

    Yes. Posting, creating new user, etc. are working fastly. Which logs should I read?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The server error log (there’s usually just the one for the account, error.log or such). It stores PHP errors, 503s from mod security and htaccess, etc.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress MU – Creating a site takes ages’ is closed to new replies.