Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 23:48:58 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and large directories - caveat report
Message-ID:  <CAF-QHFXSuA1wUormMtYbDxz4okLP8AvTcZT5mU1ihN2anMD8Yw@mail.gmail.com>
In-Reply-To: <20110721213645.GA74462@icarus.home.lan>
References:  <j09hk8$svj$1@dough.gmane.org> <20110721213645.GA74462@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 July 2011 23:36, Jeremy Chadwick <freebsd@jdc.parodius.com> wrote:

> [session]
> session.save_path =3D "/var/tmp/php_sessions"
> session.gc_maxlifetime =3D 900
> session.gc_probability =3D 25
> session.gc_divisor =3D 100
>
> With the above settings, roughly 1 out of every 4 times (25%) the PHP
> interpreter is executed it will reap old files in save_path. =C2=A0So in =
your
> case you'd want to adjust gc_probability and gc_maxlifetime (the idea
> being to make PHP reap sessions more aggressively).

Yes, but no. Simply suppose my 4 million files are the result of 25%
reaping frequency.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-QHFXSuA1wUormMtYbDxz4okLP8AvTcZT5mU1ihN2anMD8Yw>