Forum Replies Created

Viewing 15 replies - 31 through 45 (of 60 total)
  • Thread Starter sdoss

    (@sdoss)

    well, putting it back hasn’t hurt ?? I’ll explore this further when I dig myself out of this hole I’m in. Thanks

    Thread Starter sdoss

    (@sdoss)

    Well. Backed up the database, emptied the 4 tables mentioned above from the MAIN site (as there are NO pages, No content there any more), went to sign on to wp-admin (just to check), and found that I was redirected to domain/new-site/wp-admin. Which is NOT where I wanted to be! So, there is obviously something in one of those tables that says, hey, I’m wearing the big red S, so come to me first! and when I moved my pages from the main to the sub-directory, it followed.

    Back to square one.

    Thread Starter sdoss

    (@sdoss)

    Possibly another note of interest: I turned on debug in the main Apache error log, and now, in addition to the mod_python notice above, I’m seeing the following [debug] message:

    [debug] prefork.c(1016): AcceptMutex: sysvsem (default: sysvsem)

    prefork module in main configuration:

    <IfModule mpm_prefork_module> /etc/apache2/apache2.conf (101)
    StartServers 5 /etc/apache2/apache2.conf (102)
    MinSpareServers 5 /etc/apache2/apache2.conf (103)
    MaxSpareServers 10 /etc/apache2/apache2.conf (104)
    MaxClients 150 /etc/apache2/apache2.conf (105)
    MaxRequestsPerChild 0 /etc/apache2/apache2.conf (106)
    </IfModule>

    Still seeing NO messages in the WordPress vs log.

    Just throwing things out there hoping someone will be able to help.

    Thread Starter sdoss

    (@sdoss)

    Main url is https://www.ca-wp.com

    There’s nothing but the twentyten there.

    Do you need subdirectories as well?

    Thread Starter sdoss

    (@sdoss)

    OK, have successfully moved my main site to sub-directory, and removed all pages/posts/comments etc from the main site. Put back the twentyten default theme, with no plug-ins.

    Still slow to respond. What’s curious, is…if we double click a link (even in admin, while navigating through different things), response time is pretty quick. It’s clicking just ‘once’ on a link, or initial load of the page (admin included – in fact, each of the sites) that takes a long time. And, if I’m in a browser and refresh the page, one click takes a long time, double (or multiple, depending on the frustration level) seems to make it respond faster.

    Any ideas?

    Thread Starter sdoss

    (@sdoss)

    Emptied trash, but all data in those tables remain. My question was, if I have NO posts at all in the main site – no comments, no pages etc., then SHOULD those tables be empty??

    Thread Starter sdoss

    (@sdoss)

    minor update: ‘the boss’ has made some changes (and I will elaborate as soon as I get it from him) to both dns on the server and mysql. Performance is still slow, but it’s more intermittent. Also, outside access is better, but again, intermittent. I’m still pursuing moving my main site to a sub-directory so I can get the main site back to the default theme with nothing in it, as I believe the problem (contention, whatever) exists there.

    At any rate, once I get the speed back, will re-post with the steps we took to fix it.

    Thanks for all your help and patience.

    Thread Starter sdoss

    (@sdoss)

    Ipstenu:
    1) ok. I’ll leave them there
    2) have already lost widgets 3 times trying to edit the database, so not doing that again
    3) hrm
    4) no. his thought is keep what we have, but install a new instance to do some debugging.

    So…off to #2. Will post back.

    Thread Starter sdoss

    (@sdoss)

    Ok, ‘the boss’ is feeling it’s an apache configuration, and possible how wordpress interacts with apache and I’ve mucked something up.

    I don’t think it has anything to do with permissions, as I’m not missing anything on my pages.

    It MAY have something to do with the fact that my main site isn’t just a portal into wordpress, but actually has ‘stuff’ in it. And perhaps that ‘stuff’ isn’t up to par, and causes problems. Which may explain why getting to wp-admin is just as slow as the sites.

    So..this morning I think I should go down the path of recreating what I currently have in my main site in a new sub-directory site, then deleting the pages out of my main site, and putting the main site back on the default theme. I really only need to keep two pages, home page and one subsequent page, so maybe will not be a hardship.

    But would like to avoid the above if at all possible.

    So…3 questions

    1) I mentioned that I’m not using any plugins, but in fact 3 plugins show from the Super Admin page – Akismet, Hello Dolly and WordPress Importer. The page shows 2 things: a message in pink at the top:
    The plugins page is not visible to normal users. It must be activated first. Activate
    and that all 3 are inactive. Is it enough to have them ‘inactive’, or should I ‘delete’ them?

    2) Is there an easier way to ‘move’ my main site to a sub-directory? If so, is it ‘safe’? Or would it be safer to re-create? Does deleting the page(s) via the dashboard remove all references to a page? Or will there be ‘stuff’ hanging out there after deleting? If so, what do I need to look for?

    3) I haven’t explored the WP_DEBUG option in WP-CONFIG; will this tell me anything?

    4) ‘the boss’ asked about the possibility of having two instances of WordPress running from the same document-root directory under two different domains. Can it be done?

    Ok, more than 3 questions. But I’m feeling the water rise, here, and I’ve no boat, paddle or breathing apparatus.

    Thanks for your help.

    Thread Starter sdoss

    (@sdoss)

    Thread Starter sdoss

    (@sdoss)

    Ipstenu, unfortunately, we are the host…but I’m pretty sure that my issue with the wordpress pages loading slowly (painfully so) is apache config vs what wordpress wants/needs. Pages loading outside of wordpress don’t have a problem.

    I did find, hunting through posts you’ve dealt with, a reference to


    https://thethemefoundry.com/blog/optimize-apache-wordpress/

    which appears to be easily read/interpreted and may be of use. As we typically use apache’s default config settings (they’ve always been good enough in the past), there may be some tweaking I can do without hurting the other sites.

    If you have any other suggestions, my thanks in advance…

    Thread Starter sdoss

    (@sdoss)

    hmmm…something else I’m seeing in the apache error log (which may or may not be ‘normal’, again, my ignorance blares out):

    [Sun Feb 13 08:55:20 2011] [notice] Graceful restart requested, doing restart
    [Sun Feb 13 08:55:22 2011] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
    [Sun Feb 13 08:55:22 2011] [notice] mod_python: using mutex_directory /tmp
    [Sun Feb 13 08:55:22 2011] [notice] Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch15 mod_perl/2.0.2 Perl/v5.8.8 configured — resuming normal operations

    also, don’t know if it’s related to wordpress or not.

    Thread Starter sdoss

    (@sdoss)

    Why the quotes?

    Don’t know? Other than webmin puts them there; I’ve seen directory directives (sheesh) both surrounded by quotes, and not. I’ve removed the quotes from mine, but no affect on loading times.

    Thread Starter sdoss

    (@sdoss)

    I’m kicking it

    I’d tell you what my boss tells a machine when it gives him problems, and altho it seems to always work, I’d probably never be allowed to post again ??

    Thread Starter sdoss

    (@sdoss)

    vhost for ‘*’ begins like this:

    ServerAdmin [email protected]                DocumentRoot /private-set-1/wwwroot/apache2/
    <Directory />
     Options FollowSymLinks
     AllowOverride All
    </Directory>
    <Directory /private-set-1/wwwroot/apache2/>
     Options FollowSymLinks Indexes MultiViews
     DirectoryIndex index.php
     AllowOverride All
     Order allow,deny
     allow from all
    </Directory>

    of course, there are other directory options in the file.

    vhost for ca-wp.com looks like this:

    ServerName ca-wp.com
    DocumentRoot /private-set-1/wwwroot/apache2
    <Directory "/private-set-1/wwwroot/apache2/">
     allow from all
     Options FollowSymLinks Indexes MultiViews
     UseCanonicalName off
     AllowOverride All
    </Directory>
    ErrorLog /var/log/apache2/ca-wp.com.error.log
    LogLevel debug
    ServerAlias www.ca-wp.com
    Options FollowSymLinks

    Our main domain is not using the default theme; I’ve thought that we should take what we’ve got there and move to a sub-directory site, and just leave the main site basically empty, so I may try that as well.

    Will spend my Saturday evening combing through the tutorials. If you spot something horribly wrong in my configs above, please let me know.

    Thanks again for your time.

Viewing 15 replies - 31 through 45 (of 60 total)