LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] initial connection delay

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] initial connection delay
From: Gerry Reno <greno@xxxxxxxxxxx>
Date: Wed, 25 Jul 2007 00:51:43 -0400
Bill Omer wrote:
> On 7/24/07, Gerry Reno <greno@xxxxxxxxxxx> wrote:
>   
>> Bill Omer wrote:
>>     
>>> Does the delay only happen when you connect to the vip, or do you see
>>> the same delay when you ssh in to your server?
>>>
>>>
>>>       
>> It's only when I was connecting to the vip.
>>
>>     
>
> What services are you trying to load balance?   Do you get the same
> results if you try to connect to the service on the reals directly?
>
> -BIll
>
>   
Right now it's just Apache. The only thing I have to go on is the httpd 
access log:
192.168.2.102 - - [24/Jul/2007:19:59:54 -0400] "GET /gw/ HTTP/1.1" 302 -
192.168.2.102 - - [24/Jul/2007:19:59:55 -0400] "GET 
/gw/login.php?cd=10&forward=%2Findex.php HTTP/1.1" 200 4742
192.168.2.102 - - [24/Jul/2007:20:00:50 -0400] "POST 
/gw/login.php?forward=%2Findex.php HTTP/1.1" 302 2
192.168.2.102 - - [24/Jul/2007:20:01:27 -0400] "GET /gw/index.php 
HTTP/1.1" 302 2

I just tried to login as another user and it delayed again. And when I 
try it directly to the real server I have the same effect so it must be 
something with apache. ... After some investigation I think this is an 
application problem. It is mainly just one application (the one I was 
testing of course) that appears to exhibit this behavior.

Rob, Bill,
Got no hits on the tcpdump.
On DNS: no DNS, everything is IP.


Gerry






<Prev in Thread] Current Thread [Next in Thread>