Page 1 of 1

site time out issues (S2? / Quick Cache?)

PostPosted: October 28th, 2011, 1:38 pm
by SiteSubscribe
Hi.

I'm not sure if my problem is related to S2, Quick Cache, or none of the above, but these seem like the likely starting point for what I know.

Starting earlier this week I began getting intermittent time outs on all my multisite sites.

The outage intervals usually last about 1-20 minutes. They began showing up about 2-3 times per 24hrs.

As of early yesterday the intervals began getting very constant throughout the day, about 50% of the time, to the point where the sites were not functional, typically including affecting logging into the dashboard.

Today I noticed these errors (but they could possibly be related to when I rebooted the VPS):

[Fri Oct 28 06:59:43 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.strong);break;case
[Fri Oct 28 06:59:39 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.mismatch);break;default:c.addClass(
[Fri Oct 28 06:58:35 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.good);break;case
[Fri Oct 28 06:58:30 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.bad);break;case

I've been testing for outages using webpagetest.org. The sites were timing out with "First View" times as "Error: Timed Out". Or sometimes with just really long load times like 20 to 59 seconds. I'm also using aremysitesup.com to get email notices of time outs.

http://www.webpagetest.org/result/111028_E4_20Z2Z/

Sometimes on the webpagetest.org the "Repeat View" times come in around 10 seconds even if the "First View" totally timed out.

After deactivating S2 from network-wide activation the webpagetest.org sites "First View" times are closer to 5-11 seconds depending on the site (ex: http://vision-learning.org or the primary site http://sitesubscribe.com). Although I'm still testing and trying to confirm the problem is related to S2.

For a while I had Quick Cache activated, but a few weeks ago began getting blank pages and other anomalies, so I deactivated it.

I'm not sure if I removed all of the correct files so this could be part of my timeout problem. Is there a link to documentation where I can be sure I've uninstalled the plugin correctly and removed Quick Cache references completely in my wp-config and other files?

s2Member v111017

Thanks for any help you can offer.
~Jeff

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 1st, 2011, 11:43 am
by Jason Caldwell
@SiteSubscribe
Forum rank updated to Experienced User

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 1st, 2011, 11:45 am
by Jason Caldwell
Deactivating the Quick Cache plugin from your Dashboard should be all that's required. But here is a list of things you can go back over manually to be absolutely sure it's fully removed if you like.

1. Delete the Quick Cache plugin directory and all files:
/wp-content/plugins/quick-cache

2. Delete this file inside your /wp-content/ directory:
/wp-content/advanced-cache.php

3. Delete this directory of cache files:
/wp-content/cache

4. Remove this line from your /wp-config.php file:
define("WP_CACHE", true);

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 1st, 2011, 11:49 am
by Jason Caldwell
Server slow downs could have something to do with this, definitely. This looks like browsers are making requests for files that do NOT even exist. In this particular case, it looks there is code on your site somewhere that is corrupted. Because a request for this file looks very ODD.
Code: Select all
[Fri Oct 28 06:59:43 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.strong);break;case
[Fri Oct 28 06:59:39 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.mismatch);break;default:c.addClass(
[Fri Oct 28 06:58:35 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.good);break;case
[Fri Oct 28 06:58:30 2011] [error] [client 41.34.204.150] File does not exist: /home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.bad);break;case
This almost looks like an XSS attack,
but could have something to do with a JavaScript error and/or conflict.
Code: Select all
/home/sitesubs/public_html/wp-content/plugins/s2member/).html(pwsL10n.bad);break;case

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 1st, 2011, 12:24 pm
by SiteSubscribe
Thanks, that helps.

I've seen tons of malicious attempts to open non-existing files within the error logs. And I've had some clients saying they've seen virus warnings at times recently when opening their website.

So I've been hunting around for what could be causing it, and trying to reinstall fresh plugin/theme code, and blocking some IPs in htaccess (but that seems a never ending solution of cat and mouse).

Likely not directly an S2 or Quick Cache related problem. I may have eradicated the problem since this post, but not sure yet.

I might try one of the antivirus or 'bad behavior' plugins again if I can get them to play nice.

Thanks,
Jeff

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 9th, 2011, 11:36 am
by SiteSubscribe
Hi. I just wanted to do a quick follow up to let you know the problem wasn't at all related to S2 or Quick Cache, but there were some malicious scripts that had been injected into some theme template files.

Thanks,
Jeff

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 9th, 2011, 5:10 pm
by Jason Caldwell
Thank you VERY much for the follow-up on this.
~ We really appreciate that.

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 9th, 2011, 5:22 pm
by SiteSubscribe
You're very welcome. You guys go so out of your way to help, I sure wouldn't want you wasting your time chasing false alarms.

Thanks for all your great support.

Re: site time out issues (S2? / Quick Cache?)

PostPosted: November 11th, 2011, 2:33 am
by Cristián Lávaque
Thanks for the kudos! And I'm very glad you found the problem and managed to solve it. :)