Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Squid3 for its caching capabilities on a bunch of IPv6 addresses. The only thing is, only 128 of them initialize properly, and any more won't connect.

Can you think of any settings that I can check?

From logs:

WARNING: You have too many 'http_port' lines
The limit is 128
share|improve this question
Just curious, why do you need to bind to more than 128 interfaces? I'm curious to know what kind of application such configurations apply to. – sybreon Jun 25 '11 at 7:04
up vote 2 down vote accepted

squid/src/defines.h has:

#define MAXHTTPPORTS                    128

change that value. In ubuntu: get the source package, rebuild and install.

share|improve this answer

In Squid 3.3.9 its

File: src/anyp/PortCfg

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.