httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Pennock <>
Subject Re: [users@httpd] Max number of files in a dir that Apache traverses?
Date Fri, 02 Jan 2004 10:21:28 GMT
Dan Trainor wrote:

>Anyone know if Apache is known to not work properly if it encounters
>a dir with an exceptional amount of files in the dir?  I'm working with
>~18,500 files in a single dir.  Apache presents a page almost like a
>Directoryindex page, but with no files.  There's an .htaccess only
>holding an ErrorDocument 404 directive, but other than that, nothing
>Nothing appears in ErrorLog, but oddly enough, access log does not get
>written to.

It does work (I have directories with over 30,000 files and it works 
without a problem), but it takes a *very* long time to handle, even on 
fast machines. Chances are the connection times out before it is done 
building the page. For testing only, try setting the time-out value to 
something very high (like 1200 or so) in your httpd.conf and try again.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message