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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to