Jean-Paul BALOCHE [STG] wrote:
> Hi,
>
> I'm a new user of ldirectord. I've got a running configuration with 20
> http servers.
> I've got a question regarding the way ldirector check the availibilty of
> http servers.
> On each http server, I've got 10 virtual hosts each one on a specific
> port. ldirector is configured to check every virtual host of every
> servers. It do it sequentialy, so if several virtual hosts are done, I
> have to wait for the timeout to arrive. So it take a long time to check
> all servers. Is it possible to parallelise checks ?
>
> Thanks for your answer ;-)
>
> JPB
>
You can look in the list archives for the thread titled RFC: Forking
ldirecterd [PATCH] by Ryan Castellucci which starts with:
The attached patch modifies ldirectord to fork a process for each
virtual server to speed up response time with large numbers of virtual
servers. I am testing this vs multiple instances of ldirectord, two
virtual servers, three real servers each, and it uses about 25MB less
ram over that, and starts up a lot quicker.
Looks like what you want. That patch should be included in the next
ldirectord release.
Aaron
|