Thursday 14 July 2005 12:11:49 pm - 3 replies
Even with viewcaching and template compilation enabled my test server's performance (v.3.60) is very slow. The base index page (after compilation/caching) is taking c. 0.5 secs to load.
I've done some testing, peppering the code with timing points and discovered that anout 30% of this time is take by the following line:
require_once( 'kernel/classes/ezcontentclass.php' );
This file only contains class definitions and doesn't execute anything as far as I can tell. Does this suggest that I am hitting some memory constraint in apache such that a swap file is being used at this point or could the file be on a dodgy bit of disk? Probably not this since loading it from a second disk makes no difference.
Any suggestions would be most welcome.
Thursday 14 July 2005 8:23:44 pm
I've now rebuilt php with --enable-memory-limit so that I can track memory usage. The results are rather alarming!
A really basic page (already view cached & compiled) uses 9460KB of memory and the time bottleneck I'm seeing coincides with an increased usage from 2247KB to 5570KB. More complex pages/templates use even more!
Does eZPublish really need to use this much memory?
You must be logged in to post messages in this topic!