Page 1 of 1

[solved]Really slow loading

Posted: Tue Sep 11, 2012 12:49 pm
by mellaker
I've made a clean installation of 1.11.1 becaus our old site was really slow. To my disapointment this one acts the same so I guess that it's another problem.

I don't have enough knowledge to find out what the problem is. I've read about debug mode but how/where do I turn it on?

Both front end and admin is the same.

I've spent so many hours on this that i'm ready to give up :-[

Can you see what's wrong? http://www.botkyrkabk.se
----------------------------------------------

Cms Version: 1.11.1

Installed Modules:
■CMSMailer: 5.2.1
■CMSPrinting: 1.0.3
■FileManager: 1.4.0
■MenuManager: 1.8.3
■MicroTiny: 1.2.3
■ModuleManager: 1.5.5
■News: 2.12.8
■Search: 1.7.7
■ThemeManager: 1.1.7
■Guestbook: 1.3.3.3_betha6
■FormBuilder: 0.7.3
■Captcha: 0.4.5


Config Information:
■php_memory_limit:
■process_whole_template:
■output_compression:
■max_upload_size: 96000000
■url_rewriting: none
■page_extension:
■query_var: page
■image_manipulation_prog: GD
■auto_alias_content: true
■locale:
■default_encoding: utf-8
■admin_encoding: utf-8
■set_names: true


Php Information:
■phpversion: 5.3.16
■md5_function: On (True)
■gd_version: 2
■tempnam_function: On (True)
■magic_quotes_runtime: Off (False)
■E_STRICT: 0
■E_DEPRECATED: 0
■memory_limit: 80M
■max_execution_time: 50
■output_buffering: On
■safe_mode: Off (False)
■file_uploads: On (True)
■post_max_size: 96M
■upload_max_filesize: 96M
■session_save_path: No check because open basedir active
■session_use_cookies: On (True)
■xml_function: On (True)
■xmlreader_class: On (True)


Server Information:
■Server Api: cgi-fcgi
■Server Db Type: MySQL (mysqli)
■Server Db Version: 5.1.63
■Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


----------------------------------------------

Re: Really slow loading

Posted: Tue Sep 11, 2012 6:16 pm
by Wishbone
Turn on debug mode in config.php and see what is taking most of the time. It's often SQL slowness..

I think it's $config['debug'] = true;

Re: Really slow loading

Posted: Tue Sep 11, 2012 8:55 pm
by mrenigma
My advice would be to do as Wishbone advises and also take a look at using CMSMS 1.11.1's cache functionality to speed up your site.

I would also advise you to look into gzip and cache headers. It would be really useful to speed up your site.

My final 2 cents would be to also minify your CSS and javascript to reduce the HTTP requests.

Take a look here for further tips and guidance:
http://developer.yahoo.com/performance/rules.html

Re: Really slow loading

Posted: Tue Sep 11, 2012 11:26 pm
by Dr.CSS
What is your hosting configuration, who is it , is it on an overworked shared server..?

Re: Really slow loading

Posted: Tue Sep 11, 2012 11:59 pm
by applejack
Get a decent host an having eAccelerator on the server installed makes a big difference.

Re: Really slow loading

Posted: Wed Sep 12, 2012 12:47 am
by calguy1000
/me smells an overloaded host, with a remote (non localhost) database.

Re: Really slow loading

Posted: Wed Sep 12, 2012 6:40 am
by mellaker
With debug mode on I get this: Generated in 7,540588 seconds by CMS Made Simple using 36 SQL queries and 5981068 bytes of memory (peak memory usage was 6702956)

And alot of other numbers... (http://www.botkyrkabk.se)

The site is hosted by one.com and when I talk to them they say that the servers are not overloaded...but would they say that they are if that was the case?

I have alot of other sites on one.com also example http://www.intensedogs.se that are much faster. It was that that made me think that it was something in my scripts or in my templates that made it slow down, but that shouldn't affect the admin right?

Re: Really slow loading

Posted: Wed Sep 12, 2012 7:09 am
by mellaker
I've just talked to the support again and they suggested to change server so I'll wait for that to happen and see if there is any difference after that...

Thanks for your help so far! I'll get back with the result.