CB and server overloading?

18 years 3 months ago #4921 by andyahoo
CB and server overloading? was created by andyahoo
I am the only one accessing my site and am only using to learn Joomla, CB and a few other components.

I have a shared account. The host said my account was restricted now because I was overloading the server. Being a newb at all this I didn't understand. He explained that sometimes scripts can cause this to happen.

Well this lead me to www.webhostingtalk.com to research this and look for another host. In a post I described my problem and what I had installed. I got this reply from one poster:

I noticed Community Builder creating problems on one of our users sites. There was an infinite loop somewhere that caused the server load to hit 150 in less than a minute. He only had it installed to test it out, as soon as he removed it no more problems.

I'll look through our tickets and see if I can find more info for you.

EDIT: Found it. Here is what the user said:


Quote:
I just noticed something extremely odd when browsing the Community Builder component profiles. When I try to update a profile from both the front and backend in Firefox 1.5 the something on the page goes into extremely rapid reload in a never ending loop. This does not happen in IE.


I use Firefox 1.5 and I'm constantly in the front and backend at the same time. I think if a script caused the overload it was probably one of the other unstable alpha modules I had intstalled but I want to learn more about this and see if others have this problem.

Thanks,

Andy

Joomla! 1.0.9
CB 1.0

Please Log in to join the conversation.

18 years 1 month ago #7866 by trail
Replied by trail on topic Re:CB and server overloading?
Besides that obvious bug, one should remember that CB can quickly load a cpu of a dedicated host.

Don't forget we are working with a CMS system that uses PHP files, not simple static pages.

When you are enthousiasticaly programming nifty stuff and publishing it on the site, like i did, you will soon get that email from your hosting provider that they want to ditch you because of excessive server load.

Thats how i got myself a dedicated server.

This dedicated server however is a 2.4ghz with 1gig memory
My database is 65 megs.

My load average is around 3.00 ! I want it below 1.00 :(

This is how a request looks:
18654 mysql 16 0 124M 32M 15736 R 6.5 3.2 0:02 0 mysqld
18789 apache 15 0 14440 11M 3928 R 3.5 1.1 0:00 0 httpd

As you can see, myself is using 124 meg, and that is with connection path off. If i'd turn that resource heavy feature on it will cost me 30% more load.

When you install and use plugins or features, be smart and think about what you are asking the machine to do, some features might not be worth it, others might not be such a big load.

Right now my site has hit the limit for the past 3 months, my server cannot server more than the current number of requests. I'm at 5500 unique visits per day and then pages will be served slow so some users quit trying.

My datacenter tells me I cannot spend enough money to make this problem go away. So tripple dual core xeons won't do much good -for long-.. as i will soon hit that roof too..

PHP is just CPU extensive, and Joomla and CB and their components and plugins can do powerful (read, cpu heavy) things.

This post is for more for the ppl that are new in mambo/joomlaland that like the idea of 'making a website' that wanna install and tryout everything they see. Don't do it blindly but think a little.., or you get that mail from your host :)

Iow, be wise :)

~T.

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

18 years 1 month ago #7868 by andyahoo
Replied by andyahoo on topic Re:CB and server overloading?
Thanks for the info.

You wanna give your host a plug? Just curious to see who your using.


Karma where karma is due.

Joomla! 1.0.9
CB 1.0

Please Log in to join the conversation.

18 years 1 month ago #7873 by trail
Replied by trail on topic Re:CB and server overloading?
Ehm i had to become my own hosting company..

so i took a name for my dns server domain..

i choose www.seriousDNS.net wich is used for my dns servers..

and i rented serverspace and a server with www.operdomainregistry.net .. i get 500g traffic per month.. (of wich i use 60g)

i have a (plesk) licence to run 100 domains on the server, i run a few quiet sites or domains with redirects.. but mainly www.djtrail.com

the server is customized to my wishes, like having imagemagick and stuff.

i am not interested in being a hosting company at all, just needed to become one to keep my heavy site in the air.. :(

and now i need to get 2 servers or a much heavier one.. currently i have an entry level server.. (see specs above)
maybe 2 servers, one running the db and the other running apache would be best.. im not an expert and have no experience with comparing that stuff :(

since i run a non profit site i have no clue to pay for huge servers.. and the datacenter where my server resides tells me that no amount of money can fix my issue with the heavy pages that i have.. when popularity rises the costs will rise.. without -major- funding, its impossible to do what i want.. and even then i will have the technical world pointing at their foreheads for having such an extreme loaded site.. instead i should lessen the php and mysql queries per page and devide stuff over more pages.. thats their view..

so.. someone care to donate me some oldish 19" xeon servers ? :) teehee :)

DJ Trail.
CB Co-Founder & Test-Lead.
Plugins: My Age , Starsign Matchmaking Horoscope , My Visitor , My Highscores , My ProfileID ,
My Components: Import & Invite Karma Casino (Use Test / Test)
My Modules: Many :)

Please Log in to join the conversation.

18 years 1 month ago #7881 by andyahoo
Replied by andyahoo on topic Re:CB and server overloading?
Thats all good info. I wouldn't mind getting a thread started regarding what components and plugins can do to a server load. This would help us be wise when adding things to our sites. I know that CB was not my problem because at the time I had a gazillion "extensions" installed for testing.

Thanks Trail for the detailed details from djtrail.com

Post edited by: andyahoo, at: 2006/03/08 01:31

Joomla! 1.0.9
CB 1.0

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn