On Tue, 2008-09-30 at 16:06 -0400, Cam Roberts wrote:
> Hi,
> I've configured pound with two BackEnds and Session Type IP, TTL 300.
>
> However all the load goes to one of the back end servers, I never see an
> apache connection on the other until the "primary" goes down. I'm not using
> Emergency, and if I comment out the Session block the load is balanced
> evenly between the two servers.
>
>
> Relevant portion of my pound.cfg:
>
> Service
> BackEnd
> Address
10.0.0.2
> Port 80
> End
> Session
> Type IP
> TTL 300
> End
> End
> Service
> BackEnd
> Address
10.0.0.4
> Port 80
> End
> Session
> Type IP
> TTL 300
> End
> End
>
>
> Originally I had:
>
> Service
> Session
> Type IP
> TTL 300
> End
> BackEnd
> Address
10.0.0.2
> Port 80
> End
> BackEnd
> Address
10.0.0.4
> Port 80
> End
> End
>
> The behaviour seems to be identical with both of the above configurations,
> it doesn't do any load balancing when Session is declared.
>
> >From my understanding of the manpage load should still be balanced when
> session handling is used, individual users will be bound to a single server
> but it should alternate with each new connection. Am I misunderstanding
> session handling?