Well,
what we do here is:
One real domain:
domain.example.com (Squid server port 80)
- This server runs a redirect program witch translates all requests to:
cluster.my_lan
- Also it runs a Bind server running on 127.0.0.1 wich points "cluster.my_lan"
to 50 backend Apache web servers.
This works perfectly if we configure Bind to translate "cluster.my_lan" for a
number of servers that is less than or equal 29. Anything greater than that
squid replies with:
"No DNS records"
What I can speculate is that the variable that holds the answer the DNS gave
Squid when it requested the addres for "cluster.my_lan" is not big enough.
Or that when I compilled Squid, it didn't use the right libs. (Eg. libdns from
bind8 instead of bind9).
Here is a sample of some squid.conf varibles:
dns_nameservers 127.0.0.1
redirect_program /var/squid/squid.redirector.pl
httpd_accel_host virtual
httpd_accel_port 80
If there is any other info I can provide just tell me. Again, it works just
right with less than 30 servers.
Thanx a Lot!!
On Mon, Sep 27, 2004 at 11:50:04PM +0200, Henrik Nordstrom wrote:
> On Mon, 27 Sep 2004, Luiz Chopin C. Oliveira wrote:
>
> >i have a squid that works as a httpd accelerator, until today it was
> >accelerating for a cluster of 10 http servers, but our site has gown a lot
> >and
> >now I need acceleration for a 50 machines cluster.
> >
> >I configured it just as usual, but it didn't work, than I reduced de
> >number of
> >hosts in the bind server to 25 and it worked. I started increasing this
> >number
> >and found it stop's working with 30 hosts.
>
> Squid-2.5 supports up to 128 http_port directives, each with an unlimited
> number of accelerated domains.
>
> How is your accelerator setup done?
>
> Regards
> Henrik
-- Luiz Chopin Cruz de Oliveira Analista de Suporte - luizcab@akwan.com.br Akwan Information Technologies, http://www.akwan.com.br GNU/Linux - Excelencia em Servidores As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. A medida que aproveitamos os benefícios das invenções de outros, devemos estar felizes com a oportunidade de servir a outros com uma invenção nossa; e isso nós devemos fazer gratúita e generosamente. Benjamin FranklinReceived on Mon Sep 27 2004 - 18:11:43 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:03 MDT