Page 1 of 1

CMS running slow

Posted: Fri Aug 05, 2005 5:37 pm
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?

Re: CMS running slow

Posted: Fri Aug 05, 2005 6:59 pm
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...

Re: CMS running slow

Posted: Fri Aug 05, 2005 10:58 pm
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.

Re: CMS running slow

Posted: Wed Aug 10, 2005 12:43 pm
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.

Re: CMS running slow

Posted: Wed Aug 10, 2005 5:14 pm
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.