It was thus said that the Great Tom Evans once stated: > On Tue, Feb 14, 2012 at 3:10 AM, Sean Conner <s...@conman.org> wrote: > > Nope. I just ran a program [1] that opened and read 25,018 files in 2.5 > > seconds [2]. I'd bet unnoticeable. > > > > So that is an extra 5 seconds on a graceful restart - apache will read > the config once, throw it away, and then read it again, so it has to > read those 20,000 files twice. 5 seconds not serving requests is not > ideal.
The original example had 2000 files. I found a directory tree on my machine with 20,000 files. It's what I had. > Probably best to avoid that cost if you can. You could use a > pre-processor to assemble the config files into one file, but that has > the downside of complicating the whole process. And really, how often is Apache restarted? On a graceful restart, it can still serve requests. -spc --------------------------------------------------------------------- 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-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org