Mailing List Archive

Strange Problem with Port 80
I'm having the strangest problem. I'm using varnish on some test
servers and it works great when I run it on any random port number that
is NOT port 80.



When I run it on some random port, it works fast and seems to be doing
what it should be doing. However, when I have it listen on port 80, for
some reason, it runs like molasses. I've looked into the possibility of
the network at our datacenter and/or my place of business doing some
sort of bandwidth limiting, but that doesn't appear to be the case.



It's noticeably slower when it's run on port 80. It actually runs
slower than if I didn't run Varnish to cache.



I've tried this with the RPM download of 1.0.3, source install of 1.0.3
as well as the latest from svn.



Please let me know if further information is required such as
varnishlogs. I was just hoping to see if anyone else was having this
problem or if there's a simple solution that I'm missing.



Btw, I'm running the default install of it without any modifications to
the vcl file. The only thing that's not default is that I turned off
the management services.



--

Cordially,



Ryan Yu



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.linpro.no/pipermail/varnish-misc/attachments/20070508/b5fca46d/attachment.htm
Strange Problem with Port 80 [ In reply to ]
"Yu, Ryan" <ryu at hfmus.com> writes:
> I'm having the strangest problem. I'm using varnish on some test
> servers and it works great when I run it on any random port number that
> is NOT port 80.

My guess is that there is some sort of content-scanning transparent
proxy between you and the server.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
Strange Problem with Port 80 [ In reply to ]
That could be true. I believe we are actually using Surf Control.

Would it be likely that this proxy would not affect Squid, yet would affect Varnish?

I ask, merely because Squid appears to be working properly.

And I'd much rather use Varnish than Squid at this point and would like to find a solution or at least an explanation so I can do some other testing from a non-proxied location.

--
Cordially,

Ryan Yu
-----Original Message-----
From: Dag-Erling Sm?rgrav [mailto:des@linpro.no]
Sent: Wednesday, May 09, 2007 6:04 AM
To: Yu, Ryan
Cc: varnish-misc at projects.linpro.no
Subject: Re: Strange Problem with Port 80

"Yu, Ryan" <ryu at hfmus.com> writes:
> I'm having the strangest problem. I'm using varnish on some test
> servers and it works great when I run it on any random port number that
> is NOT port 80.

My guess is that there is some sort of content-scanning transparent
proxy between you and the server.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no
Strange Problem with Port 80 [ In reply to ]
Hi,

You could try and make a tcpdump of a slow session. "tcpdump -n -w
varnish.pcap -e "host $PROXYHOST" might show you what is going on. If
you have no success let me have a look.

Per.

Yu, Ryan wrote:
> That could be true. I believe we are actually using Surf Control.
>
> Would it be likely that this proxy would not affect Squid, yet would affect Varnish?
>
> I ask, merely because Squid appears to be working properly.
>
> And I'd much rather use Varnish than Squid at this point and would like to find a solution or at least an explanation so I can do some other testing from a non-proxied location.
>
> --
> Cordially,
>
> Ryan Yu
> -----Original Message-----
> From: Dag-Erling Sm?rgrav [mailto:des at linpro.no]
> Sent: Wednesday, May 09, 2007 6:04 AM
> To: Yu, Ryan
> Cc: varnish-misc at projects.linpro.no
> Subject: Re: Strange Problem with Port 80
>
> "Yu, Ryan" <ryu at hfmus.com> writes:
>
>> I'm having the strangest problem. I'm using varnish on some test
>> servers and it works great when I run it on any random port number that
>> is NOT port 80.
>>
>
> My guess is that there is some sort of content-scanning transparent
> proxy between you and the server.
>
> DES
>


--
Per Andreas Buer / Linpro AS t: 21 54 41 21 / m: 958 39 117
http://linpro.no/ - Ledende p? Linux og ?pen kildekode.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://projects.linpro.no/pipermail/varnish-misc/attachments/20070509/9e7d003a/attachment.pgp