Slow loading

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
peterv0512

Slow loading

Post by peterv0512 »

Is anyone else getting this lately? Every now and then it can take from a few minutes (which already is a very long time to wait) to up too 15 - 20 minutes.

PHP-pages on the same webserver but outside the CMS don't have this problem. The hoster has ran some benchmarks on both (old site outside CMSMS and new site inside CMSMS), restarted the database with some more memory and an extra parameter to log slow queries, I'll ask those logs ASAP.

They've speed up the site in general, but the odd moment that CMSMS refuses to load still happen quite often (daily, often a couple of times a day).

The page keeps saying "connecting" (see screenshot below). This is actualy the first time I got something in firebug *:
http://imageshack.us/photo/my-images/407/slowp.jpg/

* I noticed I cut off the time, it sais 1m7s. Which was after about 5 minutes. After about 10 to 15 minutes the site finaly loaded. No difference in front- or back-end.

Any help would be much appreciated.
peterv0512

Re: Slow loading

Post by peterv0512 »

Another screenshot from when the page finally loaded (back-end):
http://img855.imageshack.us/img855/7224/slow2.jpg
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Slow loading

Post by Jos »

You can turn debug on in config.php. It will show execution-times and memory use for every step.
peterv0512

Re: Slow loading

Post by peterv0512 »

Thanks, I'll enable it for a while and post results when a page chokes up again.
nervino
Power Poster
Power Poster
Posts: 448
Joined: Sun Dec 28, 2008 12:15 pm

Re: Slow loading

Post by nervino »

I have the same problem and when it happens the site's pages aren't loaded due to timeout, so I can't see the debug info.

I am developing this site working online on it: may the problem occur due to a frequent update of pages and templates?

I can't figure out the cause; other sites on same server have no problem and my hoster said that the webserver is ok.

Does anybody have any ideas about how to solve or at least understand the reason of the issue?

thank you

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

Cms Version: 1.10.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
CGBlog: 1.8.2
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.6
CMSPrinting: 1.0
MicroTiny: 1.1.1
FormBuilder: 0.7.1
CGSimpleSmarty: 1.4.10
CGExtensions: 1.27.7
Captcha: 0.4.5


Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 32000000
default_upload_permission: 664
url_rewriting:
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: it_IT.UTF-8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.2.6-1+lenny2
md5_function: On (Vero)
gd_version: 2
tempnam_function: On (Vero)
magic_quotes_runtime: Off (Falso)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 300
output_buffering: On
safe_mode: Off (Falso)
file_uploads: On (Vero)
post_max_size: 24M
upload_max_filesize: 24M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (Vero)
xml_function: On (Vero)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.24a


----------------------------------------------
Locked

Return to “CMSMS Core”