Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Heavy server load

 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
Heavy server load
Author Message
ksen



Joined: 04 Jun 2006
Posts: 142

Post Heavy server load Reply with quote
Hi, i'm writing after a very long time, mainly due to the fact that my site has been running smoothly for all this time Wink



But now i'm starting to have a bit of problems. It simply takes ages to open the www.mysite.com/admin page. However the proper web site is working normally and even the full news pages open normally, But this could be due to the fact that there is a good cache system in plc and the pages are read off the memory.



I contacted my server thru the help desk about the problem and this is what they had to say.



"We found that your database was causing high cpu usage. Please consult with your programmers to double check the query on the webpages and find tune the database."



A couple of important info about the site is that currently i have 4903 articles in the database (8.4MB). AND also i have a minimum of 5000 (five thousand) visitors to the site per DAY. (With about 20 new articles added daily.)



And this whole slow problem started about 2 weeks ago!! So do u think the script is starting to creak under the weight of the usage??



Any advice guys? Or any tips on how to optimize?



Btw does anybody currently have a web site tunning cutenews with a larger database with a larger visitor rate?? Any problems with those??
Mon Mar 05, 2007 5:59 pm View user's profile Send private message
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
http://harrypotterspage.com/news.php



News: 3933 (3.56 MByte)

Comments: 27689 (10.76 MByte)



The webmaster told me about having several hundred thousand page views per month.



What exactly takes the time? Loading the login page or logging in or going to "Main" or going to "Edit news" or ...?
Mon Mar 05, 2007 7:06 pm View user's profile Send private message
ksen



Joined: 04 Jun 2006
Posts: 142

Post Reply with quote
ok great!! point taken!



Well i think u asked the precise question-



Quote:
What exactly takes the time? Loading the login page or logging in or going to "Main" or going to "Edit news" or ...?




Loading the login page is the immediate problem!! Sometimes the editor has to be refreshing the page for over an hour!! (honestly over an hour!!)



Puttin the user/pass and getting in is not so much of a problem. Then once in, the problem is somewhat there with error pages cummin up only evry few articles, when they are attempted to be added to the DB. The funny part is that when a article is attempted to be inserted and when we get a error page, the next time we check, the artcle has actually been inserted - just that the success page fails to show up.



Quote:
http://harrypotterspage.com/news.php



News: 3933 (3.56 MByte)

Comments: 27689 (10.76 MByte)



The webmaster told me about having several hundred thousand page views per month.




Is this site hosted on shared hosting or VPS / dedicated???
Tue Mar 06, 2007 4:33 am View user's profile Send private message
astrostart



Joined: 11 Feb 2007
Posts: 124
Location: The Netherlands

Post Reply with quote
My website has more than 10.000 pageviews a day (so more than 300.000 pageviews a month). We have 5.000 newsmessages and almost 28.000 comments.



Sometimes I see a slowdown, but the script often loads very quickly.

_________________
My site: http://www.astrostart.nl | Thanks to everyone here who has helped me!
Tue Mar 06, 2007 4:06 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
I also don't have trouble on either of my high traffic and high news sites. The only thing is the admin panel blanks out occasionally so I add using the guest can add news hack with a few modifications.. which in some ways is faster and easier considering it doesn't load through the admin panel. So when you load that page it's like BAM I'm ready for content. More? Not a problem! Ready again!

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Tue Mar 06, 2007 5:31 pm View user's profile Send private message Visit poster's website AIM Address
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
ksen wrote:
Loading the login page is the immediate problem!! Sometimes the editor has to be refreshing the page for over an hour!! (honestly over an hour!!)


That's really weird because there's no database query in index.php. It only includes head.php which has 2 database queries: It queries the category table and the user table. So the number of news shouldn't matter when loading index.php.



What plugins are you using?
Tue Mar 06, 2007 6:33 pm View user's profile Send private message
ksen



Joined: 04 Jun 2006
Posts: 142

Post Reply with quote
The main plugind that i'm using are only cnfunction, newsletter, and visual editor, Prev-next-links and meta tags!! I dont even use xfields!!



Hmm.. the more i'm convinced that the server seems to be giving sometrouble. Thanx for all the lafp guys
Wed Mar 07, 2007 6:43 pm View user's profile Send private message
ksen



Joined: 04 Jun 2006
Posts: 142

Post Reply with quote
hey by the way,



Quote:
My website has more than 10.000 pageviews a day (so more than 300.000 pageviews a month). We have 5.000 newsmessages and almost 28.000 comments.





are these sites on shared hsoting??
Thu Mar 08, 2007 1:59 am View user's profile Send private message
astrostart



Joined: 11 Feb 2007
Posts: 124
Location: The Netherlands

Post Reply with quote
Its just one site Wink



But yeah, it is on a shared hosting. The site is not on my own server.

_________________
My site: http://www.astrostart.nl | Thanks to everyone here who has helped me!
Fri Mar 09, 2007 2:03 pm View user's profile Send private message Visit poster's website
ksen



Joined: 04 Jun 2006
Posts: 142

Post SITE DOWN!!! Reply with quote
Can you beleive it!! My server pulled down my web site yesterday!! And we frantically uploaded backup copies on to different server and after much hanggling got the first server to do a re-direct as a temporary measure!!



They simply didnt reveal what the problem was until after the site was pulled down. The reason for the 100% server usage was given as



" An large number of proccesses accesing the data/url.ini file"



My mod_rewrite is off so i had frienly URLs off and had the normal url.ini code in there.



Well anyways now we are shifting to a dedicated server. But i'm still very curious as to what the problem with the url.ini file was that it required so much of resources!!! Except for the fact that we had 13500 unique visitors on the site the day before it was shut, with nearly 400,000 hits...



Any ways i will post more details on this in due course... If anyone has experienced similar problems i would appreciate sharing the outcome of it.



Thanx..
Thu Mar 29, 2007 1:23 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
What! That's awful! I can't believe it! That makes me nervous about all my projects. I would be sick if they just got taken down one day. So what's your solution? Are you going to be able to put up the site again?

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Thu Mar 29, 2007 5:38 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Bugs and errors All times are GMT + 1 Hour
Page 1 of 1

 
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 can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.