Re: [squid-users] Squid disconnects internet...

From: <trainier@dont-contact.us>
Date: Tue, 20 Sep 2005 15:34:56 -0400

Heh

This actually sounds a lot like a retransmit issue....
From a shell (as root) try the following command:

while true
do
         netstat -s | grep retrans
         sleep 3
         clear
done

This will report the network retransmits occurring on the network
interface(s).
If you see this number grow rapidly (several per second or per 3 seconds,
in this case)
then it's a good indication that your NIC is retransmitting packets with
the switch or
router it's plugged into. I know this to be a common issue with Cisco
devices. It generally
occurs because of a duplex mismatch. ie: router/switch has the port for
your server configured as
Auto-negotiate, but your server is attempting for force 100/full (or
vice-versa).

Might be something to consider/look at.

Tim Rainier
Information Services, Kalsec, INC
trainier@kalsec.com

"Jorge A. Rodriguez" <jrodriguez.mx@globalvantage.biz>
09/20/2005 02:43 PM

To
trainier@kalsec.com
cc
squid-users@squid-cache.org
Subject
Re: [squid-users] Squid disconnects internet...

Hi, Thank you for your response, yes, I used the package from debian
(apt) it has been precompiled with that option, as a transparent proxy
it works, it justs becomes intermittent, it caches some pages then it
doesnt connect to anything, I even get some statistics from sarg (squid
report tool) but every 2 to 3 minutes the clients loose all conection to
the internet and then it comes back in other 2 to 3 minutes and so on...
MSN Clients disconnects, Firefox just say looking up for the website and
thats it, and then everything works fine again... the strangest thing.....
( I am changing the network cards today, just to rule that out...)
trainier@kalsec.com wrote:

>Jorge,
>
>Squid requires specific compilation paramaters if you plan to run the
>cache as transparent:
> --enable-ipf-transparent
>or
> --enable-pf-transparent
>Respectively...
>
>Did you use either of these?
>
>Tim Rainier
>Information Services, Kalsec, INC
>trainier@kalsec.com
>
>
>
>"Jorge A. Rodriguez" <jrodriguez.mx@globalvantage.biz>
>09/20/2005 02:10 PM
>
>To
>squid-users@squid-cache.org
>cc
>
>Subject
>[squid-users] Squid disconnects internet...
>
>
>
>
>
>
>Hi,
>I am having a strange problem, my sarge (debian) box uses squid 2.5
>stable 9, if I use the box to share internet it works fine, but if I add
>squid (as transparent proxy) it works for a little while then everything
>gets disconnected after 2 minutes(more or less...) and then after some
>other time it gets connected again (I dont get response from internet,
>msn disconnects, telnet connections hangs...) all I get from cache.log is
> CACHEMGR: <unknown>@127.0.0.1 requesting 'storedir'
> CACHEMGR: <unknown>@127.0.0.1 requesting 'counters'
> httpReadReply: Excess data from "GET
> From Access.log I get TCP MISS/(with different numbers 200, 0, 304....)
>Thank you.
>
>
>NOTICE: This electronic transmission contains information from
>GlobalVantage Design Source, which may be confidential or privileged.
>This information is intended to be for the use of the individual or
>entity named above. If you are not the intended recipient, please notify
>GlobalVantage immediately of your receipt of this transmission, delete
>it, and be aware that any disclosure, copying, distribution or use of
>the contents of this transmission is prohibited.
>
>
>
>
>
>
>

-- 
Jorge Rodriguez
GlobalVantage Design Source
Information Technologies, Supervisor.
Phone: (+52 33)3121 34 32 xt. 4004
Fax: (+52 33)3121 34 32 xt. 4017
www.globalvantage.biz
NOTICE: This electronic transmission contains information from
GlobalVantage Design Source, which may be confidential or privileged.
This information is intended to be for the use of the individual or
entity named above. If you are not the intended recipient, please notify
GlobalVantage immediately of your receipt of this transmission, delete
it, and be aware that any disclosure, copying, distribution or use of
the contents of this transmission is prohibited.
Received on Tue Sep 20 2005 - 13:37:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT