WordPress.org

Ready to get started?Download WordPress

Forums

Multiple WP or MU? (CPU, RAM, ..) (7 posts)

  1. 2046
    Member
    Posted 3 years ago #

    Hello,

    can anybody enlighten these questions for me?
    I'm heaving couple WP websites on Virtual server. Each of then has different content, taxonomies, plugins, and hacks.
    Each one consumes it's own CPU and the RAM above all.

    My question is if I join them all under one MU, will it helps with the CPU and RAM loads or will it "behaves the same"?
    (I'm speaking here about 50-100 websites)

    Second question is. How the MU handles plugins that doesn't follow the rule with database prefix. Some plugins add their tables with their own prefix not using the WP prefix.

    thanks a lot

  2. - for RAM & CPU, it behaves the same. You might get a slight improvement.

    - for plugins that add their own prefix, you have to test them. Some work fine, some don;t. It depends on how the plugin was written.

  3. The plugins give you three possible outcomes.

    1) They won't work at all.
    2) They'll work if you network activate them.
    3) They'll work if you activate them per-site.

    MOST plugins with their own prefix work best with #3, if they work at all.

  4. What kind of specs do you have on that web account? Because with 50-100 websites, even under one network, 512megs of ram should be okay at a minimum.

  5. 2046
    Member
    Posted 3 years ago #

    hmm thanks to all.
    That's what I though, but it's always better ask then invest days of work ;)

    My question has risen up from the simple thought "what if I connect all the worpresses under 'one'. Won't it improve the load?"
    As you said, It won't change much.

    My cpu and ram is 800(for now) The CPU is fine but the ram reaches about 800MB and more :/

    Count with me:
    One WP eats about 50MB, so when I have 16 parallel connections at one time it reaches the roof.
    This is not happening 100% time a day, but almost regularly once a week. In other cases it waves aprox. among 350 - 650MB.
    (I use caching plugins, plus the server has Xcache.)

  6. Then you have a plugin issue, a server config issue, or you;re getting a traffic spike.

    See
    http://jalada.co.uk/2011/02/04/how-to-bring-down-a-poorly-deployed-wordpress-and-how-to-stop-it-from-happening.html

  7. 2046
    Member
    Posted 3 years ago #

    oki
    I played a bit with httpd.conf and here is what I have for now

    # performance
    Timeout 300
    MinSpareServers 1
    MaxSpareServers 2
    StartServers 2
    ServerLimit 139
    MaxClients 10
    MaxRequestsPerChild 1000
    
    KeepAliveTimeout 2
    GracefulShutDownTimeout 10
    TimeOut 90

    >>free -m

    total       used       free     shared    buffers     cached
    Mem:           800        519        280          0          0        215

    although it doesn't change much,
    I know of one plugin, that eats a lot(e-commerce) but the rest is more then less OK.

    will see.
    thanks for help

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags