Re: Fisrt access client distribution using hash

From: Karel Charousek <>
Date: Wed, 21 Mar 2007 10:25:26 +0100

>> Is it possible to achieve equal client distribution in this
>> environment using pen?
> The hash is intended to give a reasonably equal distribution when used
> with a wide variety of clients, in particular from the Internet.
> Do you need to use the hash at all?
> What is your complete command line and configuration?


we need to use hash to maintain http sessions.

ps command:
/usr/local/bin/pen -C localhost:38010 -l /var/log/pen/http-tebs.log -w
/var/log/pen/http-tebs.html -p /var/run/pen-http-tebs -F

from /etc/init.d/pen
echo $DAEMON -C $CONTROL -l $LOGS/$1.log -w $STATS/$1.html -p $PIDS-$cf

# cat /etc/pen/http-tebs

server 0 address
server 0 port 8010

server 1 address
server 1 port 8010

---------------- end of cat filename ---------------------------------


Karel Charousek
Received on Wed Mar 21 2007 - 10:59:15 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 21 2007 - 10:59:18 CET