Modify the below lines in httpd.conf and restart httpd. I believe there's a
'persistence=seconds' flag in LVS that you can set that should correspond to
what you put in httpd.conf?
<from httpd.conf>
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
> -----Original Message-----
> From: Joseph Mack [mailto:mack@xxxxxxxxxxx]
> Sent: Monday, April 30, 2001 4:38 PM
> To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: success: LV-NAT working
>
>
> On Tue, 1 May 2001, Alois Treindl wrote:
>
> > I am running an astrology site; a typical request is to a CGI which
> > creates an astrological drawing, based on some form data;
> this drawing
> > is stored as a temporary GIF file on the server.
> > A html page is output by the CGI which contains a reference
> to this GIF.
>
> I see. Funny this hasn't come up before.
>
> I was testing something like this the other day and decided
> that the way I
> was doing it, the info was coming from the client (passing
> the URL to the
> httpd) rather than the URL coming from the server page. It
> seemed to be
> the best explanation for what I was seeing. I was just
> retrieving a page
> that was already there, rather than asking for a gif to be
> generated first
> then retrieved.
>
> All this is speculation and can be revised in the face of
> more evidence.
> Do you find that you can't retrieve the gif sometimes? What
> if you refresh
> n times where n is the number of real-servers, do you eventually get
> the gif?
>
> > So either we make sure that the new client request for the GIF hits
> > the same realserver which ran the CGI (i.e. have
> persistence) or we must
> > create the GIF on a shared directory, so that each
> realserver sees it.
>
> Very interesting
>
> Joe
>
> --
> Joseph Mack mack@xxxxxxxxxxx
>
>
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|