WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Subdomain Multisite Working Slow (28 posts)

  1. nikola123
    Member
    Posted 3 years ago #

    Hi,

    I'm running fresh new install of WordPress Multisite with subdomains.
    Eveything is working very very slow even blogs with 0 posts.
    There are no traffic on this site.
    I run it on shared hosting where I have one more visited wordpress site (single site, not multisite) and it's working much much faster.
    So, I'm sure it's not problem with hosting but something with multisite.

    Any help please ?

  2. Check with your host, but your server may not be able to run MultiSite. It happens.

  3. nikola123
    Member
    Posted 3 years ago #

    What my server need in order to run multisite ?
    Let's say that I use managed dedi server and that I can tell my hosting support to set whatever I need.

  4. If you're getting a dedicated server, you won;t have to tell them anything special because it already has allocated more resources to you than shared.

  5. nikola123
    Member
    Posted 3 years ago #

    So, any idea why Multisite works so slow on the same server where simple WP works very fast.

    Multisite is empty and without plugins and traffic
    Simple WP has many plugins, posts and traffic and works much much faster then Multisite.

  6. because single wp generally uses about 32 megs of memory and multi 64.

    on shared hosts they don't normally give you that much to work with. single sites started needing 64(ish) in 3.0 & up, so if your single site is also older, that's why/

  7. jewlzmcq
    Member
    Posted 3 years ago #

    I'm having the same issue. My primary site is working fine but the subdomains are really slow with virtually no posts, almost no content or users, and no plugins activated on these subdomains. They were working at a normal pace a couple weeks ago. Each subdomain page takes 4-5 minutes at a minimum to load.
    Using WP 3.1.3 with a dedicated server with more than enough memory.
    Any ideas?

  8. Plugins. Got any network activated? How did you do the subdomains, wildcarded & set up right? Did the host change the configuration?

  9. jewlzmcq
    Member
    Posted 3 years ago #

    Only plugin network activated are Buddypress, Akismet, BP Disable Activation, Multisite plugin Manager, SI CAPTCHA Anti-Spam. Subdomains are setup right. I've disabled all network plugins and it was still just as slow. And its only on the Admin side of the subdomains, but every admin page loads that slow, including the dashboard. It started in the last 2 weeks, basically since we upgraded to WP 3.1.3. I would hate to go back to the last WP version, if we don't have to. Thoughts?

  10. Buddypress'd do it. It uses a bit more memory.

  11. If you're on a dedicated box, you may have to tweak apache memory settings. Also, your OS might have something to do with it. CentOS?

  12. jewlzmcq
    Member
    Posted 3 years ago #

    System
    Linux 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86_64

    PHP version is 5.3.5-1ubuntu7.2

    MySQL version is 5.1.54-1ubuntu4

  13. r with more than enough memory.

    how much?

  14. jewlzmcq
    Member
    Posted 3 years ago #

    The dedicated server has 2 GB of RAM and allocated 512 MB to PHP.

  15. jewlzmcq
    Member
    Posted 3 years ago #

    @ Andrea_r
    The dedicated server has 2 GB of RAM and allocated 512 MB to PHP. We have 1 main domain and 3 subdomains. The subdomains have 1 or 2 pages at the most and 1 or 2 posts to date. That's it. The main domain works fine. The subdomains take 5minutes or longer to load any pages on the admin side, including logging in or bringing up the dashboards.

  16. Did you set up the wildcard subdomains correctly?
    How much memory is allocated to mysql?
    Have you looked at any error logs?
    have you sat in a terminal and did a top to watch what the server does when someone logs in?

  17. jewlzmcq
    Member
    Posted 3 years ago #

    @ Andrea_r
    Did you set up the wildcard subdomains correctly? yes
    How much memory is allocated to mysql? 64M
    Have you looked at any error logs? Yes
    apache2 errro: nothing of interest
    mysql error: nothing of interest
    ?

    Have you sat in a terminal and did a top to watch what the server does when someone logs in?
    not sure what I'm looking for, but here is the output:

    top - 17:38:47 up 5 days,  8:16,  4 users,  load average: 0.04, 0.05, 0.05
    Tasks: 158 total,   1 running, 156 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.3%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:   2056508k total,  1561504k used,   495004k free,   115084k buffers
    Swap:  1552380k total,     2356k used,  1550024k free,   348212k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    23394 www-data  20   0  255m  65m 4912 S    1  3.3   0:04.10 apache2
     1631 administ  20   0  308m  14m 9.8m S    0  0.7   3:57.05 wnck-applet
        1 root      20   0 24148 2084 1300 S    0  0.1   0:01.69 init
        2 root      20   0     0    0    0 S    0  0.0   0:00.06 kthreadd
        3 root      20   0     0    0    0 S    0  0.0   0:01.05 ksoftirqd/0
        5 root      20   0     0    0    0 S    0  0.0   0:07.41 kworker/u:0
        6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0
        7 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1
        9 root      20   0     0    0    0 S    0  0.0   0:02.77 ksoftirqd/1
       11 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset
       12 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper
       13 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns
       14 root      20   0     0    0    0 S    0  0.0   0:00.68 sync_supers
       15 root      20   0     0    0    0 S    0  0.0   0:05.87 kworker/u:1
       16 root      20   0     0    0    0 S    0  0.0   0:00.02 bdi-default
       17 root       0 -20     0    0    0 S    0  0.0   0:00.00 kintegrityd
       18 root       0 -20     0    0    0 S    0  0.0   0:00.00 kblockd

    Any of this help identify the problem? Thanks.

  18. Bump deleted (really, don't).

    If you're seeing that small loads but high memory, I'd be inclined to think your PHP setup was done poorly. Are you using eAccellerator or APC or any other SERVER side PHP caching?

  19. jewlzmcq
    Member
    Posted 3 years ago #

    @ Ipstenu

    Are you using eAccellerator or APC or any other SERVER side PHP caching?

    No.

    I'd be inclined to think your PHP setup was done poorly.

    That is very possible.
    Any suggestions?

  20. Yeah, turn on some server side caching for PHP :D Seriously.

    As for the rest ... I'm NOT a PHP/server install expert, but it really depends on how you've set it up. This means it's time for you to look up how best to optimize your php install for your server. Every server is a snowflake (special unto itself) so there ARE some generic tutorials, but they're OS specific a lot of the time.

  21. jewlzmcq
    Member
    Posted 3 years ago #

    Thanks. I'm not the IT person on this project and they've not been overly supportive of the project or wordpress in general. That's why I'm trying to find a solution for them. Appreciate all the help.

  22. jewlzmcq
    Member
    Posted 3 years ago #

    So we installed eAccellerator and unfortunately it doesn't seem to be helping. http://fayettevilleforward.org/info.php
    If anyone has any other ideas, they would be appreciated.

  23. jewlzmcq
    Member
    Posted 3 years ago #

    nevermind. we finally got it straightened out.

  24. Is it helping? :D

  25. posting what you found may help others in the future. ;)

  26. ommunist
    Member
    Posted 2 years ago #

    Same thing. Main domain works ok, multisite subdomains correctly mapped to top-level tlds and listed as vhosts are da-a-a-amn slow.

  27. bainzy
    Member
    Posted 2 years ago #

    Would love to find an answer to this, I have the same problem on a Heart Internet reseller hosting package with any MU installation I create. The slowness varies in length, but it's always excruciatingly slow.

  28. Thomas S. Butler
    Member
    Posted 2 years ago #

    @jewlzmcq I'm having you exact same issue... how did you get it straightened out? What was the problem? Pleez help :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.