Search squid archive

Re: squid with multiple ips is listenting to some ips with port and not all of ips ??!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/12/2014 9:43 a.m., Ahmed Allzaeem wrote:
> Hi Guys I thunk I found the reason . but didn't fix it now !!!
> 
> 
> 
> I ran squid in debug mode and I had :
> 
> 014/12/20 05:38:23| WARNING: You have too many 'http_port' lines.
> 
> 2014/12/20 05:38:23|          The limit is 128
> 
> 2014/12/20 05:38:23| WARNING: You have too many 'http_port' lines.
> 
> 2014/12/20 05:38:23|          The limit is 128
> 
> 2014/12/20 05:38:23| WARNING: You have too many 'http_port' lines.
> 
> 2014/12/20 05:38:23|          The limit is 128
> 
> 2014/12/20 05:38:23| WARNING: You have too many 'http_port' lines.
> 
> 
> 
> 
> 
> As we see there is limitation to 128 ips ,
> 
> How can I increase this value ???
> 


You can increase it if you really have to by building the latest
version of Squid (3.4.7 or later anyway) using:
  ./configure CXXFLAGS="-DMAXTCPLISTENPORTS=256"

 or whichever number you want to increase it to.

For each packet read Squid has to check the listening port list to see
if it is a read() or accept() operation. Doing even 128 checks per
packet is pushing the boundaries for reasonable performance loss.


Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUlXw0AAoJELJo5wb/XPRjru8IAJZ6KfAKIyzMHeC3SFdTdAg+
TjnXR7rSJSU5f53arEPa2vA16F0PxkWXFwjpmG01TuMaDLqg8PROdnWvITYka6+k
D/bqhylRSeE95T9uO8Sdy0gQTHf4Y1To6w77qlNSrpK2j5e32N25dEmQVm2zMa9n
8d044+BWuwMJq9sessLjnYtZEffN1DQCWpjevZx1sa5rvIVBgv1S3RRY2jIrgcMW
XvdMCYlbawGQ997B/BDGttlN8aNf/t1NqAe5ckn9FTKlVYgL/tbRjkC00vtUxzb0
75Yz8b/SONVK5E6BDcfffVvrY0KUvKZrbauhTQ68uFzGpv1Cv/ynTaqyp2NlDQ0=
=HJ+Q
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux