Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
add comment

2 Answers

squid/src/defines.h has:

#define MAXHTTPPORTS                    128

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

share|improve this answer
add comment

In Squid 3.3.9 its

File: src/anyp/PortCfg

#define MAXTCPLISTENPORTS 128
share|improve this answer
add comment

Your Answer

 
discard

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.