RE: [squid-users] Multi ISP Load Balancing Problem

From: Lazuardi Nasution <mrxlazuardin@dont-contact.us>
Date: Fri, 29 Feb 2008 01:51:28 +0700

We are using Squid 2.6STABLE18 for Windows. The performance is so bad. Here
is some of weird things on log file, I don't have any idea of them.

2008/02/28 11:17:38| comm_select: select failure: (10038) WSAENOTSOCK,
Socket operation on nonsocket.
2008/02/28 11:17:38| Select loop Error. Retry 10
FATAL: Select Loop failed!
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 106.922 seconds = 35.922 user + 71.000 sys
Maximum Resident Size: 41444 KB
Page faults with physical i/o: 12269

These errors only happen when there is many users are accessing the Squid.
These errors didb't happen when I just using one instance and do load
balancing by separating tcp_outgoing_address on Squid Main based on odd or
even clients source address, I'm not satisfied with this load balancing
method.

Best regards,

-----Original Message-----
From: Amos Jeffries [mailto:squid3@treenet.co.nz]
Sent: Thursday, February 28, 2008 8:58 PM
To: Lazuardi Nasution
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Multi ISP Load Balancing Problem

Lazuardi Nasution wrote:
> Hi all,
>
> I'm running Windows based multi instance Squid with multi interface
> connected to different ISP for load balancing. The configuration is
> like below.
>
> Squid Main
> http_port <my network interface>:8080
> icp_port 3130
> tcp_outgoing_adderss <my network interface>
>
> Squid Parent A
> http_port <my network interface>:8081
> icp_port 3131
> tcp_outgoing_adderss <ISP A interface>
>
> Squid Parent B
> http_port <my network interface>:8082
> icp_port 3132
> tcp_outgoing_adderss <ISP B interface>
>
> Users -> Main Squid -(Round Robbin Parent)-> Squid Parent A/B
> -(Direct)-> ISP A/B -> Internet
>
> The performance is very bad and sometime Squid Parent B was hang
> (service was stopped) with "Loop" related log on Cache.Log. I didn't
> see CPU and RAM exhausting and the HD queue was low enough.
>
> Any suggestion with my problem ?

Any info as to what squid version and release you are using?
And what the error actually says?

Amos

--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security
advisories out on all earlier releases.
Received on Thu Feb 28 2008 - 11:52:20 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:06 MST