librelist archives

« back to archive

my server extremely slow and/or timing out

my server extremely slow and/or timing out

From:
Michelle Fink
Date:
2013-01-18 @ 21:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'd post this on the support forum within Friendica, but at the moment
I can't even get to it.

I noticed a site slow-down last week, and was getting a lot of these
in the debug log:
- ------------------
2013-01-11 17:59:02:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
/photo/avatar/1.jpg ADDRESS: 69.71.178.180 QUERY: q=internal_error.html

2013-01-11 17:59:21:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
/stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html

2013-01-11 17:59:29:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
/photo/avatar/1.jpg?rev=2012-05-09+02%3A29%3A38 ADDRESS: 69.71.178.180
QUERY: q=internal_error.html

2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
/stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
- ------------------

My database seemed healthy, & I couldn't find any evidence that
DreamHost was experiencing problems relating to the data centers where
my stuff is. I don't have a problem with other websites, so it
wouldn't seem to be my computer or ISP. I checked the activity logs &
couldn't find any evidence of being slammed by bots.

For lack of a better idea, I just now updated to the latest ~F
version. No change. Might even be worse, right now I can't seem to get
to it at all. My browser just hangs at "Waiting for
friendica.rhese.net..."

Ideas?

- --Michelle
  michelle@friendica.rhese.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlD5uFAACgkQ92OMHYykFjGkugD+I/xeVEdOhZaFrUc2Ymi2H7Bc
CxK3H0GeWtYHr2GIRRMA/370Mvs9BZXl0d3vhx72SBKjQk4sbJXD5C5Z3IYOvFd2
=/qP1
-----END PGP SIGNATURE-----

Re: my server extremely slow and/or timing out

From:
Michelle Fink
Date:
2013-01-18 @ 23:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 01/18/2013 03:09 PM, Mike Macgirvin wrote:
> On 1/19/2013 8:02 AM, Michelle Fink wrote:
>> 2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not
>> found: /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
> 
> If this isn't your address - somebody may be trying to hack your 
> Dreamhost stats page.

69.71.178.180 is me. I tried to set up DreamHost stats for my server,
to check out the slowdown, but it doesn't seem to be working. Not
finding index.php is the more common error.

> In any event, Dreamhost kills processes whenever it sees the load
> go up significantly.
> 
> Add this line to your .htconfig.php -
> 
> $dreamhost_error_hack = true;

I've made the edit. No immediate change, but I'll keep trying.

On 01/18/2013 03:09 PM, h0ost wrote:
> I can get to your site, but it takes about 20 minutes.  Maybe
> there is  something with Dreamhost servers.  Is it on a shared or
> dedicated host?
> 
> Sorry, I mean 20 seconds.

It is a shared server plan. I should probably open a support ticket, eh?

I have managed to log on now, but trying to navigate anywhere is
slower than molasses.

- --Michelle


On 01/18/2013 02:02 PM, Michelle Fink wrote:
> I'd post this on the support forum within Friendica, but at the
> moment I can't even get to it.
> 
> I noticed a site slow-down last week, and was getting a lot of
> these in the debug log: ------------------ 2013-01-11
> 17:59:02:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found: 
> /photo/avatar/1.jpg ADDRESS: 69.71.178.180 QUERY:
> q=internal_error.html
> 
> 2013-01-11 17:59:21:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not
> found: /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
> 
> 2013-01-11 17:59:29:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not
> found: /photo/avatar/1.jpg?rev=2012-05-09+02%3A29%3A38 ADDRESS:
> 69.71.178.180 QUERY: q=internal_error.html
> 
> 2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not
> found: /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html 
> ------------------
> 
> My database seemed healthy, & I couldn't find any evidence that 
> DreamHost was experiencing problems relating to the data centers
> where my stuff is. I don't have a problem with other websites, so
> it wouldn't seem to be my computer or ISP. I checked the activity
> logs & couldn't find any evidence of being slammed by bots.
> 
> For lack of a better idea, I just now updated to the latest ~F 
> version. No change. Might even be worse, right now I can't seem to
> get to it at all. My browser just hangs at "Waiting for 
> friendica.rhese.net..."
> 
> Ideas?
> 
> --Michelle michelle@friendica.rhese.net
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlD52yQACgkQ92OMHYykFjHQagD+KWtIspZQkKn0H9cNV8FFq65t
oSJrEWhlsCkuyM8iIkIA/ilkj8g5qpXVuu8l7DMRUB1OObW5+vffQV3Ao2Wu2LFJ
=fWLc
-----END PGP SIGNATURE-----

Re: [friendica] Re: my server extremely slow and/or timing out

From:
Mike Macgirvin
Date:
2013-01-19 @ 01:41
I just made a fix to something which might be affecting you and could be 
causing a lot of performance issues.

Re: [friendica] Re: my server extremely slow and/or timing out

From:
Michelle Fink
Date:
2013-01-19 @ 01:53
OK, I'll update again.

I think the modification to .htconfig did kick in eventually. I am able
to navigate around now in a reasonable fashion, but I don't think the
site is actually updating as it should, so maybe your new fix will solve
that.

I did submit a support request ticket to DreamHost, but they are
shrugging their virtual shoulders at me, and so not admitting anything
on their end. :-)

Thanks Mike!

--Michelle

On 01/18/2013 06:41 PM, Mike Macgirvin wrote:
> I just made a fix to something which might be affecting you and could be 
> causing a lot of performance issues.
> 
> 

Re: [friendica] Re: my server extremely slow and/or timing out

From:
Michelle Fink
Date:
2013-01-19 @ 04:17
Successfully updated & so far so good with performance. Yay!


On 01/18/2013 06:53 PM, Michelle Fink wrote:
> OK, I'll update again.
> 
> I think the modification to .htconfig did kick in eventually. I am able
> to navigate around now in a reasonable fashion, but I don't think the
> site is actually updating as it should, so maybe your new fix will solve
> that.
> 
> I did submit a support request ticket to DreamHost, but they are
> shrugging their virtual shoulders at me, and so not admitting anything
> on their end. :-)
> 
> Thanks Mike!
> 
> --Michelle
> 
> On 01/18/2013 06:41 PM, Mike Macgirvin wrote:
>> I just made a fix to something which might be affecting you and could be 
>> causing a lot of performance issues.
>>
>>

Re: [friendica] my server extremely slow and/or timing out

From:
h0ost
Date:
2013-01-18 @ 22:09
I can get to your site, but it takes about 20 minutes.  Maybe there is 
something with Dreamhost servers.  Is it on a shared or dedicated host?

Arto

On 01/18/2013 04:02 PM, Michelle Fink wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> I'd post this on the support forum within Friendica, but at the moment
> I can't even get to it.
>
> I noticed a site slow-down last week, and was getting a lot of these
> in the debug log:
> - ------------------
> 2013-01-11 17:59:02:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
> /photo/avatar/1.jpg ADDRESS: 69.71.178.180 QUERY: q=internal_error.html
>
> 2013-01-11 17:59:21:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
> /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
>
> 2013-01-11 17:59:29:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
> /photo/avatar/1.jpg?rev=2012-05-09+02%3A29%3A38 ADDRESS: 69.71.178.180
> QUERY: q=internal_error.html
>
> 2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
> /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
> - ------------------
>
> My database seemed healthy,&  I couldn't find any evidence that
> DreamHost was experiencing problems relating to the data centers where
> my stuff is. I don't have a problem with other websites, so it
> wouldn't seem to be my computer or ISP. I checked the activity logs&
> couldn't find any evidence of being slammed by bots.
>
> For lack of a better idea, I just now updated to the latest ~F
> version. No change. Might even be worse, right now I can't seem to get
> to it at all. My browser just hangs at "Waiting for
> friendica.rhese.net..."
>
> Ideas?
>
> - --Michelle
>    michelle@friendica.rhese.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iF4EAREIAAYFAlD5uFAACgkQ92OMHYykFjGkugD+I/xeVEdOhZaFrUc2Ymi2H7Bc
> CxK3H0GeWtYHr2GIRRMA/370Mvs9BZXl0d3vhx72SBKjQk4sbJXD5C5Z3IYOvFd2
> =/qP1
> -----END PGP SIGNATURE-----

Re: [friendica] my server extremely slow and/or timing out

From:
h0ost
Date:
2013-01-18 @ 22:11
Sorry, I mean 20 seconds.

On 01/18/2013 05:09 PM, h0ost wrote:
> I can get to your site, but it takes about 20 minutes.  Maybe there is
> something with Dreamhost servers.  Is it on a shared or dedicated host?
>
> Arto
>
> On 01/18/2013 04:02 PM, Michelle Fink wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> I'd post this on the support forum within Friendica, but at the moment
>> I can't even get to it.
>>
>> I noticed a site slow-down last week, and was getting a lot of these
>> in the debug log:
>> - ------------------
>> 2013-01-11 17:59:02:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
>> /photo/avatar/1.jpg ADDRESS: 69.71.178.180 QUERY: q=internal_error.html
>>
>> 2013-01-11 17:59:21:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
>> /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
>>
>> 2013-01-11 17:59:29:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
>> /photo/avatar/1.jpg?rev=2012-05-09+02%3A29%3A38 ADDRESS: 69.71.178.180
>> QUERY: q=internal_error.html
>>
>> 2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
>> /stats/ ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
>> - ------------------
>>
>> My database seemed healthy,&   I couldn't find any evidence that
>> DreamHost was experiencing problems relating to the data centers where
>> my stuff is. I don't have a problem with other websites, so it
>> wouldn't seem to be my computer or ISP. I checked the activity logs&
>> couldn't find any evidence of being slammed by bots.
>>
>> For lack of a better idea, I just now updated to the latest ~F
>> version. No change. Might even be worse, right now I can't seem to get
>> to it at all. My browser just hangs at "Waiting for
>> friendica.rhese.net..."
>>
>> Ideas?
>>
>> - --Michelle
>>     michelle@friendica.rhese.net
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>>
>> iF4EAREIAAYFAlD5uFAACgkQ92OMHYykFjGkugD+I/xeVEdOhZaFrUc2Ymi2H7Bc
>> CxK3H0GeWtYHr2GIRRMA/370Mvs9BZXl0d3vhx72SBKjQk4sbJXD5C5Z3IYOvFd2
>> =/qP1
>> -----END PGP SIGNATURE-----
>

Re: [friendica] my server extremely slow and/or timing out

From:
Mike Macgirvin
Date:
2013-01-18 @ 22:09
On 1/19/2013 8:02 AM, Michelle Fink wrote:
> 2013-01-11 17:59:39:yj7Yz6LXJ3HawD,bf6ADs2 index.php: page not found:
> /stats/  ADDRESS: 69.71.178.180 QUERY: q=failed_auth.html
If this isn't your address - somebody may be trying to hack your 
Dreamhost stats page.

In any event, Dreamhost kills processes whenever it sees the load go up 
significantly.

Add this line to your .htconfig.php -

$dreamhost_error_hack = true;


This is a special hack I created so that when Dreamhost is erroring out, 
we trap the error and redirect to the page that was initially requested 
instead of showing an error page. I used to get these a lot.