Re: Running out of file descriptors with RewriteMap prg

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

 



Charles Goyard <charles.goyard <at> orange-ftgroup.com> writes:

> The problem I have is that Apache starts an instance of the program for
> each virtualhost. I have 6 different loadbalancers, so each VH adds 6
> processes. This is fine and works well. The problem comes from the fact
> Apache opens two more additionnal file descriptors for the external
> programs.
> 
> Here's an example with two vhosts and 3 external programs :
> 
> main server -- lb_sh1 = 3 file descriptors (stdin, stdout, stderr)
> main server -- lb_sh2 = 5 file descriptors
> main server -- lb_sh3 = 7 file descriptors
> vhost1      -- lb_sh1 = 10 file descriptors
> vhost1      -- lb_sh2 = 13 file descriptors
> vhost1      -- lb_sh3 = 15 file descriptors
> vhost2      -- lb_sh1 = 18 file descriptors
> vhost2      -- lb_sh2 = 21 file descriptors
> vhost2      -- lb_sh3 = 24 file descriptors
>
[...]
>
> Has someone encoutered such a situation ? Is it a misconfiguration, a
> bug in Apache, glibc, or in Linux ?

Yes, I do get the exact same behaviour.

I'm not so familiar with mod_rewrite code but it seems that useless file handles
are not closed when RewriteMap prg's are forked.

Should we file a bug report ?


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