Support » Plugin: WordPress MU Domain Mapping » High Server Load

  • Resolved coleh3

    (@coleh3)


    I have been having an issue with my server load jumping from normal to 40s-50s when this plugin is enabled? I never had any issues before but now I am seeing this happen. I narrowed it down by activing all plugins but this one and server load was normal. After activating this plugin my server locks up and load jumps super high.

    Is there something that could cause this?

    https://wordpress.org/plugins/wordpress-mu-domain-mapping/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    The first thing I would check for is a rewrite rule that is causing a rewrite loop. Rewrite loops tend to send Apache off the deep end.

    Would that make sense with why once I enabled the plugin I would almost immediately see the Google Analytics real time visitors number rise by a bunch?

    Could you please point me in the right direction to look for the rewrite loop?

    I really appreciate your help and quick response. Been searching for an answer and this seems to be on the right track.

    Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    I would almost immediately see the Google Analytics real time visitors number rise by a bunch?

    No, a rewrite loop happens before any of the page is loaded where the GA scripts are).

    Could you please point me in the right direction to look for the rewrite loop?

    Can you post your .htaccess and some info on your set up?

    I currently have a multi-site install setup in my public_html directory. It uses sub-domains. I am using C-Panel on a Linux server with wildcard sub-domains setup.

    Here is my .htaccess file

    #deny from all
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript

    Thanks again for all your help.

    Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    You need to update your .htaccess to the one shown in Network Admin -> Network Setup.

    Yes! Great catch.

    I have re-activated the plugin and haven’t had any load issues since.

    Thanks again for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘High Server Load’ is closed to new replies.