Re: Re: Apache lstat performance problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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|0755, st_size=4096, ...}) = 0
open("/usr/local/mywebspace/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01/NSP_COL", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/NSP_COL/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01/NSP_COL/da", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/NSP_COL/da/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am/damorealt", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am/damorealt/.htaccess", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am/damorealt/webspace", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/local/mywebspace/mywebspace01/NSP_COL/da/am/damorealt/webspace/.htaccess", O_RDONLY) = 23

I suppose this is the parte where Apache httpd check the existence of .htaccess 


On Fri, Jul 9, 2010 at 10:43 AM, Joost Heer, de <j.d.heer@xxxxxxxxxxx> wrote:
>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


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Vincenzo D'Amore
email: v.damore@xxxxxxxxx
msn: freedev@xxxxxxxxxxx
skype: free.dev
mobile: +39 349 8513251

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux