PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Site News & Announcements (http://forum.ppcgeeks.com/forumdisplay.php?f=20)
-   -   Random 2-3+ second page loads (http://forum.ppcgeeks.com/showthread.php?t=107951)

mindfrost82 01-25-2010 03:25 PM

Random 2-3+ second page loads
 
If you haven't noticed, over the last few days, we've had random 2-3+ second page loads. Most of the time, the page loads will be normal, but every couple of minutes you might have a longer load time.

I've narrowed this down to the PHP processes. They keep dying and restarting every couple of minutes, and the process restart takes 2-3 seconds.

It has always done this to prevent memory leaks, so its a normal PHP function, but it seems to be occurring more often over the last few days than it used to.

I hope to have it fixed soon.

rainfreak 01-25-2010 05:09 PM

Re: Random 2-3+ second page loads
 
Thanks for the heads up Frosty! I noticed it was happening more frequently this weekend but knew you would be on top of it.

mindfrost82 01-25-2010 05:58 PM

Re: Random 2-3+ second page loads
 
It actually seems to be better as of this afternoon.

rainfreak 01-25-2010 06:57 PM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by mindfrost82 (Post 1515932)
It actually seems to be better as of this afternoon.

I agree, it has been loading very consistently for me today.

GirlGoneGeek 01-26-2010 12:19 AM

Re: Random 2-3+ second page loads
 
For me tonight and all day it's been 2-5 seconds......from 2 different locations. I know you're working on it though! :)

Carla 01-26-2010 02:10 AM

Re: Random 2-3+ second page loads
 
I noticed it, but always thought it was because I was loading like 3 or 4 threads at a time LOL....Good work Frosty!!

wmdunn 01-26-2010 09:04 AM

Re: Random 2-3+ second page loads
 
Still seems to be happening ... glad you're on top of it. Thanks.

mindfrost82 01-27-2010 12:45 AM

Re: Random 2-3+ second page loads
 
I may have fixed this or atleast made it better. I've been watching it for the past 10 minutes and php-cgi hasn't died yet.

I'll watch it more tomorrow.

Carla 01-27-2010 12:56 AM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by mindfrost82 (Post 1519491)
I may have fixed this or atleast made it better. I've been watching it for the past 10 minutes and php-cgi hasn't died yet.

I'll watch it more tomorrow.

Thanks birthday boy (you get the title all week)

horndoctor 01-27-2010 02:46 AM

Wirelessly posted (htc Vogue: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) Sprint MP6950SP)

Thanks for the Info! We know your on top of it! ;)

mindfrost82 01-27-2010 09:43 AM

Re: Random 2-3+ second page loads
 
Looks like the issue is still there, I'll keep looking into it.

wmdunn 01-28-2010 10:29 AM

Re: Random 2-3+ second page loads
 
When I'm surfing the site on my Diamond using Opera Mini ... the delay sometimes is more like 10-15 seconds. In the old days, OM would almost instantly render the page.

mindfrost82 01-28-2010 10:42 AM

Re: Random 2-3+ second page loads
 
Whenever PHP is closing itself, it can take 2-3 seconds for it to restart, then once it does it processes the request and sends it back to the browser, so that's probably right.

2-3 seconds before it will even process the request, then however long it takes OM to load it.

Hopefully I will have this fixed soon, I'm still researching it.

Psychobaby 01-28-2010 03:47 PM

Re: Random 2-3+ second page loads
 
I'm glad I saw this thread! I tried switching from Opera mini beta 10 to IE to Skyfire and was begining to wonder if it was my phone or if I was just mad whacked and imagining it lol. Thanks Frosty :)

rainfreak 01-28-2010 04:37 PM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by Psychobaby69 (Post 1523525)
I'm glad I saw this thread! I tried switching from Opera mini beta 10 to IE to Skyfire and was begining to wonder if it was my phone or if I was just mad whacked and imagining it lol. Thanks Frosty :)

Read what? You were imagining the whole thing. Even this thread.

mindfrost82 01-28-2010 10:26 PM

Re: Random 2-3+ second page loads
 
Let me know if it seems better, worse, or the same now.

So far it seems to be better for me.

Carla 01-29-2010 12:07 AM

Re: Random 2-3+ second page loads
 
Seems better for me right now, but I will report back after being on for a little bit.

mindfrost82 01-29-2010 12:24 AM

Re: Random 2-3+ second page loads
 
I just made some more changes, so we'll see what this does.

Psychobaby 01-29-2010 12:35 AM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by rainfreak (Post 1523679)
Read what? You were imagining the whole thing. Even this thread.

Seriously? *shakes head ruefully* dangit dude not again! Last time I started imagining stuff they upped my meds and said somethin bout shock therapy the next time it happens...and the worst thing is the complete lack of color and style for those straight jackets! Is it too much too ask for a purple n black one with my name embroidered in silver?
Oops sorry Frosty uhh the lag that I imagined seems better? ;~P

Carla 01-29-2010 12:41 AM

Re: Random 2-3+ second page loads
 
It seems to be going fast now Forsty.

I spoke to soon, the lag doesn't seem as bad but it is on and off for sure still.

mindfrost82 01-29-2010 10:00 AM

Re: Random 2-3+ second page loads
 
Trying a different method, lets see if its better or worse.

mindfrost82 01-29-2010 10:08 AM

Re: Random 2-3+ second page loads
 
Nope, still there ugh :(

mindfrost82 01-29-2010 02:47 PM

Re: Random 2-3+ second page loads
 
This *might* be fixed now....finally.

Let me know how it works for you after browsing the site for 5 minutes or so.

Carla 01-29-2010 05:21 PM

Re: Random 2-3+ second page loads
 
Still getting it after a bit of browsing. Sorry Frosty :(

mindfrost82 01-29-2010 07:09 PM

Re: Random 2-3+ second page loads
 
Its still recycling itself...its supposed to in order to prevent memory leaks. I don't think its happening as often as it was before and the page loads seem much faster as long as its not recycling.

My only choice might be to recompile PHP again, which would mean a bit of downtime (probably 30-90+ minutes).

mindfrost82 02-01-2010 09:59 AM

Re: Random 2-3+ second page loads
 
So far it seems better to me. It is still recycling itself, but not as often and it doesn't seem to take as long. Now I'm getting random 1-2 second pauses, which is MUCH better than before.

Tilde88 02-01-2010 03:43 PM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by mindfrost82 (Post 1526627)
Its still recycling itself...its supposed to in order to prevent memory leaks. I don't think its happening as often as it was before and the page loads seem much faster as long as its not recycling.

My only choice might be to recompile PHP again, which would mean a bit of downtime (probably 30-90+ minutes).


honestly... sounds like an oldschool phpNUKE, or maybe a brute force attack for some credentials...
no reason for memory leak prevention to occur so randomly, unless there is a constant feedback to overflow, even if its dummy data

any admins piss anyone off lately?

mindfrost82 02-01-2010 03:58 PM

Re: Random 2-3+ second page loads
 
In the PHP FastCGI documentation, it says this is a normal process and depending on how PHP is compiled, its supposed to recognize a max request variable and recycle once it hits that mark.

For example, if you have 1 PHP process and set the max requests to 1,000, then it should recycle the process when it does 1,000 requests.

Tilde88 02-01-2010 04:10 PM

Re: Random 2-3+ second page loads
 
lol server upgrade time :-p

well wish i could help

mindfrost82 02-22-2010 06:33 PM

Re: Random 2-3+ second page loads
 
We've still be experiencing this off and on. It seems better today after I made some more changes. Please report your experiences.

mindfrost82 03-02-2010 11:16 PM

Re: Random 2-3+ second page loads
 
How does this seem since this afternoon? So far it seems much better for me.

GirlGoneGeek 03-02-2010 11:37 PM

Re: Random 2-3+ second page loads
 
as of now, much much better! Thanks :)

mindfrost82 03-03-2010 12:29 PM

Re: Random 2-3+ second page loads
 
After about a month and a half I *think* I have finally figured this out!!!!!!!

After trying to troubleshoot our webserver, PHP, and everything else under the moon, it came down to a slow MySQL query.

It all boiled down to the Member List page. We had it so that avatars showed up on that page (which I think is the default for vBulletin). Due to how many members we have, this caused a slow query to the database every time someone accessed that list.

So, I disabled avatars on that page and also made it so that only users with >1 post would show up (to cut down on the number of users in the query).

We've been going for about 5 minutes without a slow query now, so hopefully that was it.

rainfreak 03-03-2010 01:18 PM

Re: Random 2-3+ second page loads
 
Quote:

Originally Posted by mindfrost82 (Post 1603750)
After about a month and a half I *think* I have finally figured this out!!!!!!!

After trying to troubleshoot our webserver, PHP, and everything else under the moon, it came down to a slow MySQL query.

It all boiled down to the Member List page. We had it so that avatars showed up on that page (which I think is the default for vBulletin). Due to how many members we have, this caused a slow query to the database every time someone accessed that list.

So, I disabled avatars on that page and also made it so that only users with >1 post would show up (to cut down on the number of users in the query).

We've been going for about 5 minutes without a slow query now, so hopefully that was it.


Nice job! It always ends up being the least likely solution, or the one that we never thought of, that brings us out of the dark.

Carla 03-03-2010 08:45 PM

Re: Random 2-3+ second page loads
 
You know that is what I was thinking it was :p

MordyT 03-03-2010 09:05 PM

Wirelessly posted (HTC Touch Pro2: Opera/9.5 (Microsoft Windows; PPC; Opera Mobi/17992; U; en))

lets not all take credit for frostys hard ork all at once. :)


All times are GMT -4. The time now is 04:16 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0