[lvs-users] connection will not close

Arkadiy Kulev eth at ethaniel.com
Sat Dec 29 12:32:44 GMT 2007


Hello lvs-users,

  I am using LVS+Keepalived to balance the load on my web cluster.
  Yesterday, I have embedded a freebsd 6.2 server as one of my
  realservers, I noticed strange stuff.

  When I send a small request through the LVS to it, I receive the
  reply after some time (not instantly) and the connection will not
  close (still remains open).

  Here is how to test it:

  to connect to linux realservers (running on lighttpd webservers):
  telnet nightparty.ru 80
  input:
  GET / and hit enter twice (this will reproduce a wrong request, but
  it's enough for the example).
  the connection will instantly return you with a HTTP error and
  close.

  to connect to the freebsd realserver (based on nginx webserver):
  telnet nightparty.ru 180
  GET / and hit enter twice
  instead of replying instantly, it waits for a few seconds, then you
  receive the normal HTTP error, BUT the connection will remain OPEN.

  I thought this was a nginx problem, but then I installed lighttpd on
  that freebsd server. Here it is:
  telnet nightparty.ru 180
  GET / and hit enter twice
  same error as above (few seconds waiting, then http error, and
  connection remains open).

  So, I assume it's somehow related with freebsd not sending some
  packets? or what?

Arkadiy Kulev                         mailto:eth at ethaniel.com
ICQ 17107076
MSN arca at mail.ru
Skype arkadiynight

+7 495 7266564
Moscow, Russia



Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list