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   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  
Total 109 viewers.

Analyzer:

Uptime: 353869  Threads: 29  Questions: 4969292  Slow queries: 9589  Opens: 1946  Flush tables: 1  Open tables: 681  Queries per second avg: 14.043


21:33:37  up 4 days,  2:03,  1 user,  load average: 1.43, 3.41, 6.14
140 processes: 138 sleeping, 2 running, 0 zombie, 0 stopped
CPU0 states:  12.0% user   7.0% system    0.0% nice   0.0% iowait  80.0% idle
CPU1 states:  14.0% user   7.0% system    0.0% nice   0.0% iowait  77.1% idle
CPU2 states:  10.0% user   9.0% system    0.0% nice   0.0% iowait  80.0% idle
CPU3 states:  11.0% user   6.0% system    0.0% nice   0.0% iowait  82.0% idle
Mem:  8275136k av, 7561608k used,  713528k free,       0k shrd, 1410896k buff
      4320348k active,            2444284k inactive


Right now its 1.43 but today it shot upto 76 icon_neutral.gif

Thanks

Edit: I have more sites(non nuke) running on the server, but they rn't the culprit. If I take my nuke site offline then the server load is abt. .25 - .60



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   
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,475
   
Your memory is pretty high but that shouldnt slow you down that much. load average: 1.43, 3.41, 6.14 thats high should be under 0.99. What have you added to your site lately?




_________________
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
#3   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  
Theres nothing I remmember of. I think the latest I did was hacked my News links to show the title in the url and added Related links to all the News Articles.(on right side).

Here is an [ Register or login to view links on this board.]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   
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,475
   
Looks like something is wrong the main page is only showing:

Page Generation: 4.787 Seconds.Total Queries: 2

I know theres more then that. are you using the serverload also? Try emptying that table.




_________________
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
#5   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  
I am not using serverload, but
global $querycount;
    echo "Total Queries: $querycount";


Should I install it?

Edit: I installed it.



_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   
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,475
   
Where are you getting that $querycount from?




_________________
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
#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  
Thats from [ Register or login to view links on this board.]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#8   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  
I still have the problem icon_neutral.gif

Today I did some tests on the site.

I removed all the blocks (my blocks were cached using jpcache) and had just 5 news stories on the homepage. The page generation times were drastically cut but still were not that efficient. I had page gen times from .4 to 1.2 seconds just for 5 news stories, while here at codezwiz, they r .2 for pages with lots of blocks n etc.

My server load also decreased .58 - 2.2, but I think it should be even lesser (atleast when I don't have any blocks)

Php Nuke's Serverload wasn't much either "52 pages served in past 5 minutes."

Now I don't know if any module or a particular file is causing this problem or is it that my server is not capable of handling this much traffic? My server specs are in a previous post in this topic.

I don't think its my server, because as soon as I suspend the site, my server load is somewhere between .08 - .4, but when the site is functional its generally greater than 1.

I'd appreciate any kind of help.




_________________
[ Register or login to view links on this board.]
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