Re: [squid-users] Timeout reaching www.ampq.com

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 3 Nov 2006 08:03:08 +0800

On Thu, Nov 02, 2006, Marc Delisle wrote:
> Hello,
>
> running squid for 1300 clients and usually everything goes well ... but
> we can't reach http://www.ampq.com : we receive a timeout.

It works for me. I'd suggest checking for broken PMTU (eg, ICMP filtering
somewhere, or an ADSL link with a smaller-than-1500 MTU, or transparent
interception on a Cisco via route-maps rather than WCCPv2, etc.)

You can try dropping the mtu on your outgoing request ethernet interface
from 1500 to, say, 1450 (ifconfig ethX mtu 1450) and see if that fixes
the problem.

Adrian

> My latest tests involve Squid 2.6 stable 4. I activated full debug and
> this is what I get:
>
> 2006/11/02 11:03:18| httpSendRequest: FD 17:
> GET / HTTP/1.0^M
> Accept: */*^M
> Via: 1.0 proxy.cegepsherbrooke.qc.ca:3128 (squid/2.6.STABLE4)^M
> X-Forwarded-For: 127.0.0.1^M
> Host: www.ampq.com^M
> Cache-Control: max-age=259200^M
> Connection: keep-alive^M
> ^M
>
> 2006/11/02 11:03:18| comm_write: FD 17: sz 197: hndl 0x8084b10: data
> 0x8431860.
> 2006/11/02 11:03:18| cbdataLock: 0x8431860
> 2006/11/02 11:03:18| commSetSelect: FD 17 type 2
> 2006/11/02 11:03:18| commSetEvents(fd=17)
> 2006/11/02 11:03:18| cbdataUnlock: 0x84317c8
> 2006/11/02 11:03:18| commSetEvents(fd=17)
> 2006/11/02 11:03:18| comm_select: timeout 57
> 2006/11/02 11:03:18| comm_call_handlers(): got fd=17 read_event=0
> write_event=4 F->read_handler=0x80874c0 F->write_handler=0x806bd70
> 2006/11/02 11:03:18| commHandleWrite: FD 17: off 0, sz 197.
> 2006/11/02 11:03:18| commHandleWrite: write() returns 197
> 2006/11/02 11:03:18| cbdataValid: 0x8431860
> 2006/11/02 11:03:18| httpSendComplete: FD 17: size 197: errflag 0.
> 2006/11/02 11:03:18| commSetTimeout: FD 17 timeout 900
> 2006/11/02 11:03:18| cbdataUnlock: 0x8431860
> 2006/11/02 11:03:18| commSetEvents(fd=17)
> 2006/11/02 11:03:18| comm_select: timeout 57
> 2006/11/02 11:03:18| comm_select: time out: 1162483398.
> 2006/11/02 11:03:18| comm_select: timeout 0
> 2006/11/02 11:03:18| comm_select: time out: 1162483398.
> 2006/11/02 11:03:18| comm_select: timeout 0
> 2006/11/02 11:03:18| comm_select: time out: 1162483398.
> ==========
>
> Thanks,
>
> Marc Delisle
Received on Thu Nov 02 2006 - 16:59:14 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:02 MST