Website is running really slow help SOLVED

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
nyandres
Forum Members
Forum Members
Posts: 49
Joined: Mon Nov 01, 2010 7:04 pm

Website is running really slow help SOLVED

Post by nyandres »

My website is running at a very slow speed.  somtimes it takes about a second to load a webpage, but other times it can take 5 seconds, and one time it took 30 seconds.  

I checked on firebug while loading the products page, and it shows that most of the time is not spend requesting, receiving, but instead on waiting.


By the way, also, how can I get all the paths to follow the url using the subdomain, instead of the file tree. The homepage uses the subdomain, while the other pages use a file tree.

This is my first CMSMS site, all help is appreciated.
Thanks
Last edited by nyandres on Thu Nov 18, 2010 3:11 am, edited 1 time in total.
MY portfolio is at http://andresgallo.com/
Anyone looking to get a website, or with an awesome job offer feel free to contact me :D
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Website is running really slow help

Post by Wishbone »

Turn on debug mode in config.php and test out your site. It will list every action and the time it took to execute it. I used to have mySQL slowness, where some queries were taking a second or more each.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Website is running really slow help

Post by Wishbone »

Ahh.. GoDaddy. That's your issue ;)

I just transferred my site to Arvixe (CMSMS's hosting partner) from GoDaddy and no longer have speed issues on my site.

GoDaddy's SQL access was very slow for a couple of years, but has improved a bit in the last several months. There is no use filing a support ticket. They will tell you that you need to optimize your code no matter what proof you show them that they are slow. One thing you might try is creating a new database and move your data over. You might land on a faster server. Once that server is loaded up, create another database and migrate again. :(
Last edited by Jeff on Mon Nov 15, 2010 8:24 pm, edited 1 time in total.
nyandres
Forum Members
Forum Members
Posts: 49
Joined: Mon Nov 01, 2010 7:04 pm

Re: Website is running really slow help

Post by nyandres »

Should I ask them to switch?

I don't even know if they are using go daddy. They would not allow me to create the database myself, or ftp connections myself.  I had to ask someone everytime.

Sometimes pages take over thirty seconds to load.

What should I do? The website uses a lot of images, but not for it to take even 4 seconds to load, and its taking over 30 seconds manytimes.

Any hosting company and package you guys recommend?
MY portfolio is at http://andresgallo.com/
Anyone looking to get a website, or with an awesome job offer feel free to contact me :D
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Website is running really slow help

Post by Wishbone »

I was able to tell that the site was using GoDaddy by entering in your domain at http://whohoststhis.com .

I'm happy with Arvixe. My pages are usually generated in around 0.2 seconds (as seen with debug on), plus the price was right and support is fast.

You can try creating an account with any hosting company you prefer, upload the files for the site and test. This will give you ammo to go to the owner and suggest that they switch.
Last edited by Wishbone on Mon Nov 15, 2010 7:19 pm, edited 1 time in total.
User avatar
SMF
Forum Members
Forum Members
Posts: 13
Joined: Mon Oct 11, 2010 12:17 pm
Location: behind the keyboard

Re: Website is running really slow help

Post by SMF »

General suggestions for "slow sites". Presuming you've already checked for errors using debug mode and made certain that the site setup is optimal for CMSmadesimple (no errors or warnings during install)

First check the host, ISP and routing using traceroute (under *nix - I "think" tracert is the Windoof version)
eg.

Code: Select all

someone@work:~$ traceroute cmsmadesimple.org
traceroute to cmsmadesimple.org (207.192.69.189), 30 hops max, 40 byte packets
 1  ipcop.sunnyside.home (192.168.0.1)  0.529 ms  0.567 ms  0.617 ms
 2  * * *
 3  * * *
 4  pr.iv.at.e (private)  158.252 ms 10.176.80.2 (10.176.80.2)  160.262 ms  161.130 ms
 5  10.176.81.22 (10.176.81.22)  178.079 ms  180.141 ms  308.128 ms
 6  10.176.81.130 (10.176.81.130)  310.120 ms  310.520 ms  310.494 ms
<snipped>
In the above example any slowness of cmsmadesimple site should be blamed on my wireless connection provider.

Second - check your computer and browser by using another (5 dozen Firefox plugins and various av scanners and Windoof update will skew your perceptions).

When you've ruled out your everything between your screen and the host:-
1. If you have shell access, check for error messages in the logs
2. Check your access logs for site traffic which might be affecting your results

If you still haven't found the problem try 1x1 testing:-
1. Do some pages load slower than others?
2. Are the slow pages always slower? Try at least four loads with your browser cache, and debugging turned off, at two different times of day (peak and off-peak)

Analyze your test results.
If slow pages are consistently slow, what makes those pages different to other pages?

Hint: it'll most likely be images or database queries if your site caching policy is consistent.

1. Are your images loaded with height and width set?
2. Are those the correct sizes?
3. Are the slow pages pre-loading images in the background?
4. Are you using double quotes to hold strings without spaces?

If you still haven't found the problem:-
1. Disable queries 1x1 on the slow pages and observe the result.
2. Download a slow page and check the total size.
3. Validate the HTML, CSS, and javascript.

When you think you've found the problem - prove it to yourself with more tests.

Tips to reducing the problem before it occurs:-
If possible check your host before signing up (see first step) use one of their hosted sites.
the worse the host the more noise they make. Never take hosting suggestions from people who think brown makes a nice colour scheme ;-p
Develop locally using the Spartan technique - if you can make a site responsive on a resource starved machine, it should work well on production hosting.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Website is running really slow help

Post by calguy1000 »

Though your information is good, and correct.  we already know the problem... or the majority of it (though I've seen some people do some really dumb things with templates, pages, and module calls and then complain that their site was slow because of it, I don't think it's the "biggest" problem this time).

It's godaddy.  They oversell, and use remote hosts for their databases that are again oversold/overtaxed/have-a-slow-connection/whatever-you-want-to-call it.

The issue has come up time and time again.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Website is running really slow help

Post by Wishbone »

Luckily I only have one remaining client on GoDaddy (http://portlandkarting.com). It's actually running pretty fast most of the time. I have a theory that I've complained so many times that they put me on a "complainer's server" that isn't overbooked. :)
nyandres
Forum Members
Forum Members
Posts: 49
Joined: Mon Nov 01, 2010 7:04 pm

Re: Website is running really slow help

Post by nyandres »

Well, I moved the website to the host where I have my portfolio to test.  It runs WAY faster. Although Im am also using the new 1.9 on my host, so that may have something to do with it. I think it was indeed the host. The speed went from taking sometimes 30secs, to taking under 1sec to 1.5 or so on the heavier pages.

I convinced the company owner to switch hosts. Which host do you guys recommend to run CMSMS?  It ran great on 1and1, but since people also complain about 1and1, I feel maybe im just lucky, and maybe it wont work well when he uses 1and1 as well.

Are there any hosts that specialize in CMSMS, where CMSMS will run better

Thanks
MY portfolio is at http://andresgallo.com/
Anyone looking to get a website, or with an awesome job offer feel free to contact me :D
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Website is running really slow help

Post by Wishbone »

nyandres wrote:Are there any hosts that specialize in CMSMS, where CMSMS will run better.
Arvixe is CMSMS's hosting partner..

http://www.arvixe.com/cms_made_simple_hosting


Here's my test install with this hosting company: http://crane.arvixe.com/~wishbone/1.9

Very fast.
Locked

Return to “CMSMS Core”