Page Generation Times over 5 times longer

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Page Generation Times over 5 times longer
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
I come on bended knee on this one! icon_rolleyes.gif

My site has slowed down for no apparent reason, up until a matter of days ago my side had a page generation of about 0.8s now it is nearly always 5.56s.

I haven't changed anything since this slow down occured and have removed every aspect of my site one by one to see where the problem is, but nothing has made a difference.

I have tried everything on speeding up nuke and have emailed my hosts over this, they say my site is big and their side is working so its my problem, when I ask for a slow query report, I got


We can not help you any further!


My site has always been big and this has just started icon_rolleyes.gif

icon_twisted.gif



[ Script generation time: 5.6639s (PHP: 88% - SQL: 12%) ] - [ SQL queries: 218 ] - [ Pages served in past 5 minutes : 1 ] - [ GZIP disabled ] - [ Debug off ]


That is from the home page.




[ Script generation time: 5.3621s (PHP: 99% - SQL: 1%) ] - [ SQL queries: 38 ] - [ Pages served in past 5 minutes : 12 ] - [ GZIP disabled ] - [ Debug on ]


That one from the forums, from 218 to 38 queries and the times nearly identical so I know something is causing this and I'm lost as to what! icon_redface.gif


I did come across this post but to be honest I don't follow the whole globals part of it and I gave it a go last night and saw nothing, so I don't even know what I'm looking for icon_redface.gif icon_biggrin.gif


Any help on this is greatly received

icon_biggrin.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#2   re: Page Generation Times over 5 times longer
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
Have you tried Telli's speedup tip?
[ Register or login to view links on this board. ]



Back to top Reply with quote
#3   re: Page Generation Times over 5 times longer
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
There's also I nice database mod called CZDB I couldnt find it anymore but here it is. It's got several nice tools for optimizing your DB and it speeds things up quite a bit for me.



Attached Files
CZDB.zip (10.48 KB, Downloaded: 5249 Time(s))



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
Yep tried them both icon_sad.gif

Still sitting at about 5.5seconds.

I'm totally lost on this one icon_cry.gif


Thatnks for the replies btw! icon_biggrin.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#5   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
I've been trying out a program called Paessler Site Inspector its a 30 day trial but it gives tons of info about your site. It's showing 175 coding errors on your index page. Could be something to look into.

Here's a nice site too to check for problems
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Page Generation Times over 5 times longer
Gaurav
CZ Super Newbie
Gaurav has been a member for over 20 year's 20 Year Member
Occupation: Student
Gender: Male
Status: Offline
Joined: Feb 09, 2004
0.01 posts per day
Posts: 55
Points: 2,165
 Yahoo Messenger  
Hey!!

I have similar problem with my site. Yesterday it was worse. Page Generation time was about 200s for some pages and the serverload was about 30. I removed some of the modified code, which I thought could slow down the site. It helped to attain page gen time of about 25 - 30 seconds.

Now I applied Teli's tips and it did help. Now I get a page gen time of 2 - 10 seconds and the server load has also reduced.

But I am looking for more speed. I noticed that codezwiz had 300+ visitors+members and had page gen time of .36 seconds, while my site generally has about 70 - 100 viewers.

I am using PHP-Nuke 7.0 with lots of modifications. Do I need to upgrade to 7.6 (or any other) to get better performance? Can it be due to my hosting plan? What kind of server is codezwiz using? I am hosting my site on a VPS with following specs

Intel Dual Xeon 3.06Ghz
8GB Registered ECC DDR RAM
73GB 15,000rpm U320 SCSI drives in Hardware RAID 5

And as a VPS user I get
Guaranteed RAM: 256MB
Burst RAM: 1GB

Apache/1.3.31
MySQL 4.0.17-standard
PHP 4.3.8 (Zend: 1.3.0)

Thanks for any help!!




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: Page Generation Times over 5 times longer
Gaurav
CZ Super Newbie
Gaurav has been a member for over 20 year's 20 Year Member
Occupation: Student
Gender: Male
Status: Offline
Joined: Feb 09, 2004
0.01 posts per day
Posts: 55
Points: 2,165
 Yahoo Messenger  
anybody? right now its too slow icon_neutral.gif

Thanks




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Its alot of optimization. But your site shouldnt be that slow with 70+ members you either have a bad query somewhere or your server is running bad or your getting a denial of service attack. Are you the server owner? Has your host reported problems?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: Page Generation Times over 5 times longer
Gaurav
CZ Super Newbie
Gaurav has been a member for over 20 year's 20 Year Member
Occupation: Student
Gender: Male
Status: Offline
Joined: Feb 09, 2004
0.01 posts per day
Posts: 55
Points: 2,165
 Yahoo Messenger  
Thanks for the reply Teli. It is a VPS (Semi dedicated) and I have the root access.

Is their a way I can check if it is a Denial of Service attack or if its a bad query.

My current Mysql stats from the analyzer (from NC) are

Uptime: 352406  Threads: 19  Questions: 4943681  Slow queries: 9517  Opens: 1946  Flush tables: 1  Open tables: 681  Queries per second avg: 14.028


I can email/pm you my analyzer file's link or please let me know if there is a better system to check whats going wrong.

Thanks for the help. I really appreciate it.



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#10   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Login and su- to root and type " top " then hit enter see what the highest system resources are.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum