[horde] sessions in horde_sessionhandler table not cleaned.
Andrew Morgan
morgan at orst.edu
Thu Sep 13 16:48:24 UTC 2007
On Thu, 13 Sep 2007, robert sand wrote:
> Andrew,
>
> Thank you. This is what is set by debian.
>
> ; This is disabled in the Debian packages, due to the strict permissions
> ; on /var/lib/php4. Instead of setting this here, see the cronjob at
> ; /etc/cron.d/php4, which uses the session.gc_maxlifetime setting below
> ;session.gc_probability = 0
> session.gc_divisor = 100
>
> ; After this number of seconds, stored data will be seen as 'garbage' and
> ; cleaned up by the garbage collection process.
> session.gc_maxlifetime = 1440
>
> Do you suggest I go against the debian settings or that I should run the cron
> job suggested?
The Debian settings assume you are using file-based PHP sessions. Those
settings won't work for MySQL based sessions. Use the settings I gave
you, or something like them. :)
Andy
More information about the horde
mailing list