Forums / General / EZ performance
Marko Žmak
Thursday 30 September 2004 6:14:52 pm
I've setup EZ on a server and it works VERY slowly. Even with pages that are cached.
In the trace of the system calls for the apache process that runs the EZ I get this:
- there are 101800 stat() calls for 860 different files
That means that EZ tries to opens every file 118 times in average. I doubt that this is really necessary. Anyone knows what's the problem?
P.S. The same EZ site works pretty much O.K. on another server.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth
Björn [email protected]
Friday 01 October 2004 12:28:22 am
Is this server a freebsd?
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
andreas spahr
Saturday 02 October 2004 2:08:24 am
I suppose, that you didn't changed the owner of the var/ directory, and therefore the running webserver coudn't write any data into the var directory. run e.g.:chown -R wwwrun.www var/
if your webserver user and group looks like this:)
P A
Saturday 02 October 2004 6:14:18 am
have the same problem. Just installed EZ on my localhost (Mac 10.3) and it does run very slowly. The var/ directory does have read write permissions for Owner, Group and Others. Is there anything else I can do to improve speed?
Sunday 03 October 2004 3:14:36 pm
I've changed the permissions, it improved the performance but it's still a little bit slow. The apache process consumes more than 50% CPU time (somethimes even 90%), and it's not a hardvware problem, the server is powerfull enough.
How can I speed it up?
Thx.
Sunday 03 October 2004 3:26:38 pm
P.S. The server is on Linux (Debian I think).
Bruce Morrison
Sunday 03 October 2004 7:05:47 pm
Howdy
Turn on debugging in site.ini (override or siteaccess version)
[DebugSettings] DebugOutput=enabled
and look at the table right at the end (Time accumulators:). It will give you a break down of all the various internal actions (database queries, template process etc) performed by eZ publish. If it's not evident from this what is taking up the time, post it here for feedback.
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Saturday 09 October 2004 10:49:16 am
The main load seems to be from Template processing, with around 33% - however the indicated total script times don't always tie in with how long the page takes - sometimes only being about half the actual value.
A couple of other things that grab my attention:
Error:Invalid class identifier in subTree() classfilterarray, classID : feedback_form
Warning: PHPstrpos(): Empty delimiter. in /Library/WebServer/Documents/ezpublish-3.4.2/var/plain/cache/template/compiled/node_list-61c9eca413b9b39c6bc783824e2e1015.php on line 37
Does that make sense?