Re: Question about Cookie-Configuration

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 1 Feb 2008 13:45:25 +0100


On Fri, Feb 01, 2008 at 01:13:19PM +0100, Mirco Heibült wrote:
> Hi Willy,
>
> thanks for the answer! I just configured this:
>
> #option httpclose
> cookie SERVERID insert indirect nocache
>
> And it seems to work! Without the php-code. :)

ah, that's fine!

> Is it ok not to work with httpclose?

it generally is, but you will not benefit from the logs, content switching nor traffic regulation.

> I will wait for user questions... :)
>
> Another thing, perhaps a little bug?
>
> I am running nbproc = 2, but when I try to stop the haproxy
> /etc/init.d/haproxy stop, it kills only one process and gives an Error by
> restarting it. So I have to kill the other process always manually.

It may depend how the script was written. Anyway, running with nbproc > 1 is strongly discouraged as it makes the process harder to debug, renders the stats useless and brings very little performance advantage.

regards,
willy Received on 2008/02/01 13:45

This archive was generated by hypermail 2.2.0 : 2008/02/01 14:31 CET