Re: [users@httpd] Filtering/Interception Error log strings

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

 



On Mon, May 16, 2005 at 12:45:48PM +0530, Jaspreet Singh wrote:
> hey,
> 
> On Fri, 2005-05-13 at 16:25 +0100, Joe Orton wrote:
> > On Fri, May 13, 2005 at 05:06:30PM +0530, Jaspreet Singh wrote:
> > > hi,
> > > 
> > > I want to use apache to support 2000+ virt-hosts and log errors
> > > seperately for each virt-host. 
> > > 
> > > But apache opens and maintains fd's for each error_log and access_log.
> > > And hence the select syscall ( which has a fd_set of max 1024 fds)
> > > fails .. and hence apache fails to start up.
> > 
> > 2.0 will use poll() in preference to select() on platforms where poll()
> > is available, which fixes this issue.  Third-party modules/libraries may
> > still be an issue, of course.
> > 
> > joe
> 
> 
> No joe , you are wrong. read 
> /src/httpd-2.0.46/server/mpm/experimental/perchild/perchild.c +563
> 
> Which clearly says .. you have to rebuild (default) apache so that it
> supports larger FD_SETSIZE for select.

To be clear: the checks you reference were not necessary and were
removed in more recent 2.0 releases.  I've tested use of >1024 log files
with 2.0 and it works fine out of the box (after you increase the
ulimit), so long as you avoid use of certain modules (PHP, anything
using OpenSSL).

joe

---------------------------------------------------------------------
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



[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