2010/7/29 Claes Wikstrom <email@example.com>
On 07/27/2010 08:09 PM, Steve Vinoski wrote:I'd say that 600000 files in the docroot is a lot !! And yes, Steve is right, it's
>> Any ideas how to speed up the startup? I think yaws try to index all files, for me that's not necassary.
> I think I know what this is -- there's a filelib:fold looking for auth
> files, and it looks recursively for these files in the docroot. I'll
> have to dig around a bit to see if there's a way to avoid this or do
> it more efficiently.
the list_dir() in the docroot searching for auth files.
My recommendation is to reorganize your files, most file systems handle 600000 file
dirs pretty badly. Yes it works, but it's slow,
OTOH, it could be an idea to disable the auth file lookup entirely, no support
for that though.
its an old topic, but i want to bring it up back, as it affects me from time to time.
Is there a way to disable auth file lookup per Server, or for adding this as config option?