WordPress.org

Forums

WordPress MU Domain Mapping
[resolved] High Server Load (7 posts)

  1. coleh3
    Member
    Posted 11 months ago #

    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/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    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.

  3. coleh3
    Member
    Posted 11 months ago #

    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.

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    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?

  5. coleh3
    Member
    Posted 11 months ago #

    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.

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

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

  7. coleh3
    Member
    Posted 11 months ago #

    Yes! Great catch.

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

    Thanks again for your help.

Reply

You must log in to post.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.