Concrete5 is slow!
PermalinkI have PrestaShop installed in a subdirectory (and using the same MySQL database) that has no trouble loading a page in less than 5 seconds. From Concrete5 I get this after 30 seconds:
This website is temporarily unavailable. Please check back later. Unfortunately there were no suitable nodes available to serve this request.
So what could the problem be?
http://blog.tech4him.com/2009/12/installing-apc-on-mediatemple-dv-3...
The difference in speed is night and day, and well worth the hassle in my opinion.
Wordpress has static html caching which greatly improves performance, and Concrete5 has a file cache by default
a static html cache is slowly comming along but it will probbably be a while
Or possibly coming from your http server? I'm searching c5 for that string right now
Prior to getting this message I still had slow page load times averaging around 20 seconds per page. I put up with it for quite some time but it's getting old. Imagine editing a page...
I've been also trying to use this link.http://www.danmyers.name/wp/2009/08/installing-apc-on-media-temple-...
and this link.
http://php.net/manual/en/book.apc.php...
Every time I copy and paste my ssh commands I get a lot of results! but when i go to check my phpinfo or apc.php I get this response... "No cache info available. APC does not appear to be running."
This is a new server we purchased so that I could test this APC out on it. Anyone willing to help? I would think about changing the password for a bit of support.
http://blog.tech4him.com/2009/12/installing-apc-on-mediatemple-dv-3...
This is what it looks like now...
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/lib/php/modules"
apc.so
extension = “apc.so”
not just:
apc.so
Also, after you add that and save, you need to restart apache before it goes into effect. With media temple, typing "web" in ssh will restart it for you.
extension = "apc.so"
apc.enabled = 1
apc.shm_segments = 1
apc.optimization = 0
apc.shm_size = 128
apc.ttl = 7200
apc.user_ttl = 7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
As I mentioned, this is based on months of research and reading up on APC, and it works perfectly for my configuration. I found that the apc.mmap_file_mask switch was especially crucial, without it, I kept having memory issues. I also host quite a few sites on the server, thats the reason for the high shm_size, if you only have a few sites you could probably get away with 64 or 96 rather than 128.
Let me know if you have any questions, as I said earlier, I'm by no means an expert with this stuff, but I have spent a large amount of time messing around with APC on media temple, so if I can help let me know.
and always remember to restart apache to make the changes live.
<?php define('CACHE_LIBRARY', 'apc'); ?>
to my site.php file in my config directory.
I wondering if there is a way to double check to make sure i'm taking advantage of this APC cache
I had that happen to me when I was just testing that config setting.
Username: admin
Password: admin
You should probably change these in the script :)
best
http://www.concrete5.org/community/forums/chat/wow-5-4-apc-fast/...
It does help after having a friend install it for me locally but Its by no means easy for a entry level user to install (I couldn't figure it out). I've been wanting to install it on our latest server but haven't had time nor the guts to do it yet.