Page 2 of 3

Re: very slow site

Posted: Sun Feb 12, 2006 2:12 am
by thumbsucker
Hmmm.

My problem seems to have come back.  Taking periodically 13-15 seconds to load the home page.

Re: very slow site

Posted: Mon Feb 13, 2006 3:30 pm
by sloop
thumbsucker, try taking the non-linux index file from this zipfile, swapping it for your index.php, and tell us how much cpu time taken in addition to the clock time.

http://onjs.com/test/cms_index_timetest.zip

Re: very slow site

Posted: Wed Feb 22, 2006 3:04 am
by thumbsucker
Hi,

My site seems to essentially be dead for large parts of the day in terms of performance.  I'm running on a virtual server with 256MB of bustable memory.

Ran the test now and got the following:

Generated in 26.883395 wallclock seconds, 0.33 CPU seconds, latency ratio=81.4648333333 by CMS Made Simple 0.11.2 (cached) using 15 SQL queries -->

I'm depressed.

Re: very slow site

Posted: Wed Feb 22, 2006 3:12 am
by lemkepf
You might want to test out the new .12 beta2. and the .12 final. They both will have tons of speed improvements.

Re: very slow site

Posted: Wed Feb 22, 2006 3:15 am
by thumbsucker
Do you think it won't be a problem trying out the beta for 1 week then switching to the gold release?

I just don't want anything to break and cause a lot of work, but am willing to do it for the speed improvements...

Re: very slow site

Posted: Wed Feb 22, 2006 3:17 am
by lemkepf
I'm not promising ... but give it a shot and try it. Let the dev's know if it worked for you.

Re: very slow site

Posted: Wed Feb 22, 2006 3:24 am
by thumbsucker
The instructions say "overwrite" every file on the server with the beta files.

But wouldn't that eliminate the modifications I've made to get my current site up such as templates, style sheets, etc?

Re: very slow site

Posted: Wed Feb 22, 2006 3:33 am
by lemkepf
It will overwrite any files... but all the stylesheets and templates are stored in the database. (i'd do a backup of the files anyway)

Re: very slow site

Posted: Wed Feb 22, 2006 10:58 am
by LeisureLarry
Or just do the testing in another folder and with a second database if this is possible.

Re: very slow site

Posted: Thu Feb 23, 2006 7:55 am
by thumbsucker
I tried the beta and it broke my site.  Had to roll back to my older version.

Still getting slow as molasses performance 20-30% of the time. 

My host thinks it has to do with persistent DB connections, although I clearly set that to false in the config fie.

Any thoughts?  I can't imagine I'm the only one who's run into this problem?

Re: very slow site

Posted: Thu Feb 23, 2006 10:42 am
by LeisureLarry
Why did beta break your site?

I changed my hoster and use the beta and I´ve really great performance now.

Greats Larry

Re: very slow site

Posted: Thu Feb 23, 2006 4:58 pm
by lemkepf
Yea, what specifically about version 12 broke? Also... just for giggles... install it in a clean DB and new directory and see if you get the same issues.
Paul

Re: very slow site

Posted: Sat Feb 25, 2006 12:34 pm
by thumbsucker
I got script errors.

What's the best way to upgrade a version while keeping all present content, templates, etc?

I got a message from my host saying I'm exceeding CPU and RAM usage, so I'm curious how resource intensive CMS Made Simple might be....

Re: very slow site

Posted: Sat Feb 25, 2006 2:10 pm
by LeisureLarry
Upload all files of the new version and run uppdate.php instead of install.php. That should be all. But for 0.12 you have to change your templates because the old smarty tags for the menu aren´t supported any longer.

Re: very slow site

Posted: Fri Mar 31, 2006 11:50 pm
by Pierre M.
I agree with "sloop" (above in this thread) : serving pages is a static job, with no latency problem, no db access and even no CPU for PHP. Building/generating a page may take up to 15s but it should hurt the publisher only, not the surfer. Please see : http://forum.cmsmadesimple.org/index.ph ... 678.0.html

Whenever a page is changed, the static file is erased so the rebuild page is... changed ;)

Hope it helps

PM