![]() |
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. |
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.
|
Re: Random 2-3+ second page loads
It actually seems to be better as of this afternoon.
|
Re: Random 2-3+ second page loads
Quote:
|
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! :)
|
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!!
|
Re: Random 2-3+ second page loads
Still seems to be happening ... glad you're on top of it. Thanks.
|
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. |
Re: Random 2-3+ second page loads
Quote:
|
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! ;) |
Re: Random 2-3+ second page loads
Looks like the issue is still there, I'll keep looking into it.
|
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.
|
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. |
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 :)
|
Re: Random 2-3+ second page loads
Quote:
|
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. |
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.
|
Re: Random 2-3+ second page loads
I just made some more changes, so we'll see what this does.
|
Re: Random 2-3+ second page loads
Quote:
Oops sorry Frosty uhh the lag that I imagined seems better? ;~P |
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. |
Re: Random 2-3+ second page loads
Trying a different method, lets see if its better or worse.
|
Re: Random 2-3+ second page loads
Nope, still there ugh :(
|
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. |
Re: Random 2-3+ second page loads
Still getting it after a bit of browsing. Sorry Frosty :(
|
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). |
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.
|
Re: Random 2-3+ second page loads
Quote:
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? |
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. |
Re: Random 2-3+ second page loads
lol server upgrade time :-p
well wish i could help |
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.
|
Re: Random 2-3+ second page loads
How does this seem since this afternoon? So far it seems much better for me.
|
Re: Random 2-3+ second page loads
as of now, much much better! Thanks :)
|
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. |
Re: Random 2-3+ second page loads
Quote:
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. |
Re: Random 2-3+ second page loads
You know that is what I was thinking it was :p
|
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