Re: [us...@httpd] Re: Apache lstat performance problem

2010-07-09 Thread Vincenzo D'Amore
Thanks to who answered me, the problem was definitely related to PHP, I still don't understand why PHP tries so much times to read a file but this behavior appears when PHP_ADMIN_VALUE open_basedir is defined inside Removing such PHP_ADMIN_VALUE open_basedir setting, now I have only one: lstat("

Re: [us...@httpd] Re: Apache lstat performance problem

2010-07-09 Thread Vincenzo D'Amore
Hi Joost, I suppose this is not the case, because I already see in strace output the part related to "AllowOverride set": lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/usr/local/mywebspace", {st_mode=S_IFDIR

[us...@httpd] Re: Apache lstat performance problem

2010-07-09 Thread Joost Heer, de
>For every file should be served by apache httpd, apache httpd tries to lstat >all directory in path more times: This is normally seen when you have .htaccess usage turned on (all subdirectories have to be checked for the presence of .htaccess). Do you have AllowOverride set to off? Joost ---