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 - [EMAIL PROTECTED]
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 Franklin

Reply via email to