Re: comm_set_tos: setsockopt(IP_TOS) errors in Mac OSX 10.6.4

From: Andrew Beverley <andy_at_andybev.com>
Date: Fri, 13 Aug 2010 23:10:33 +0100

Andrew,

> I have compile squid for the Mac OSX 10.6.4 and is working with no issue
> with reguards too squid.conf setting , I run Privoxy --> Squid -->
> tor=internet but when I look at the cache.log it is filling up with errors.
> This seem too have happened on on the openbsd some time ago and never found
> a solution. Is there a solution to this error ?
>
> Here is some of the sample errors
>
>
> 2010/08/14 03:31:50| comm_set_tos: setsockopt(IP_TOS) on FD 23: (22) Invalid
> argument
> 2010/08/14 03:31:50| comm_set_tos: setsockopt(IP_TOS) on FD 22: (22) Invalid
> argument

Are you actually using the QOS functionality? If not, recompile without
it (don't add --enable-zph-qos).

If you are, then I saw this error when I was doing some recent
development work. I think in my case it was caused by passing setsockopt
invalid values. Do you have a valid value set for qos_flows in
squid.conf?

I'm currently rewriting a lot of the QOS functionality. If you are brave
and otherwise having no luck, maybe you would like to try my latest
patch. There's a recent copy in the squid-dev archives, although you
will have to patch against a very recent version of the main code:

http://www.squid-cache.org/mail-archive/squid-dev/201008/att-0101/netfilter-qos-20100811.patch

Regards,

Andy
Received on Fri Aug 13 2010 - 22:10:51 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 14 2010 - 12:00:04 MDT