On Wed, 2008-10-01 at 14:36 +0200, Nagy Gergely wrote:
> I use now pound in a production environment, and i have a question to
> the TTL value in session type cookie.
> 
> The current config is:
>     Session
>         Type COOKIE
>         ID "PHPSESSID"
>         TTL 86400
>     End
> 
> But we have set the 24hour value, because our cookies in our
> applications have the same ttl.
> 
> Can anyone explain what the TTL in this configuration does?
> Now i have a constantly growing number of sessions, and an hour ago we
> had for some seconds a "service unavaiable" and the session count began
> from 0 again.
> 
> Any ideas/thoghts?

The TTL defines for how long a session will be kept in the absence of
traffic. 24h sounds excessive - 10 minutes is usually more than enough.

A "service unavailable" occurs when Pound cannot connect to a back-end.
In this case the back-end is declared to be "dead" and all the sessions
to it are discarded. If your server was not down you may have had a
time-out, so increase that accordingly.
-- 
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904


--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.

Reply via email to