> On 30/10/02 22:06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > The disk files aren't closed until the connection terminates. I > assume we're > > using the connection pool for some file structure. It's probably not a big > > deal for prefork, but for a threaded MPM it could result in a lot of open > > files in one process. > > It does, but under images.vnunet.com we solved the problem simply setting > ulimit to 8192 (solaris comes with 256 as default, and we were hitting it on > high peaks)... It doesn't seem it affected performances that much.. > > Pier >
See the call to ap_save_brigade on line 3924 in core.c. ap_save_brigade results in a call to apr_file_setaside() on the file being served which basically moves the apr_file_t from the request pool to the connection pool. Someone setting MaxKeepAliveRequests to 0 is asking for a DoS attack (running out of memory and fds) Bill
