Help! How to improve performance (eZ = slow)

Help! How to improve performance (eZ = slow)

Friday 17 December 2004 4:56:33 am - 1 reply

Author Message

Hans Melis

Friday 17 December 2004 6:14:00 am

Hi Andreas,

From what I've read in the past, slow performance on *BSD systems is caused by stat() calls whenever a file is accessed. Since one eZ publish page has quite a lot of include, a lot of stat() calls take place.

The number of stat calls depends on the "depth" of your eZ publish installation in the directory tree. There is a stat call for every level in the directory tree (or for every directory if you wish). Example: /opt/software/web/ezpublish/sites/www.stoff.tv/

That makes at least 7 stat calls (6 directories + the file itself) for a file, and even more for files in subdirectories.

The best thing you can do is put your eZ publish installation directly under the root (Example: /www.stoff.tv ). This will reduce the number of stat calls for any file.

hth

Hans
http://blog.hansmelis.be

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.