CMS running slow

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
Nick

CMS running slow

Post by Nick »

CMSMS is taking about 10 seconds to load any page, admin or website.
Here are the details:

The web server is reporting:

Server: Apache/1.3.31 (Unix) mod_ssl/2.8.19 OpenSSL/0.9.7d PHP/4.3.11 mod_perl/
1.27

MySQL 4.0.23a-log is the version in use.


Any ideas what I can do?
TNTH

Re: CMS running slow

Post by TNTH »

Did your host changed anything on the server? Like maintenance, or moving the server to another location? You could try to install 0.9 again and check or the cms still is slow. If it is, it is most likely a problem with the server...
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: CMS running slow

Post by sjg »

The first things to check:

- what's the load on the server?
(you can find this with the "w" command, or the "top" command)

- what's the memory situation?
(also find this with "top" or "vmstat")

- is the database on the same physical box? If not, try the same commands on the database server (if you have access).

I've found that on a shared host, my complicated module-heavy CMS site is slow the first time I hit a page, but, once it's in cache, it's much faster.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Nick

Re: CMS running slow

Post by Nick »

Its the first time Ive used the server for cms, is fine for normal pages. The database is on a different server but we have a phpBB2 set up using the same database and that runs fine. The server is a university managed server serving many sports clubs/faculties and societies and they all seem fine.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: CMS running slow

Post by sjg »

Its the first time Ive used the server for cms, is fine for normal pages. The database is on a different server but we have a phpBB2 set up using the same database and that runs fine. The server is a university managed server serving many sports clubs/faculties and societies and they all seem fine.
Well, it's kind of hard to diagnose the problem without some more information. There are a lot of reasons why a static site would serve up fast and a dynamic site not.

When you say the phpBB2 is on the same database, is the PHP code running on the smae server as your CMS?

It would really be helpful for me to see some of those numbers, like server load and memory.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Locked

Return to “CMSMS Core”