ZFS and large directories - caveat report

Ivan Voras ivoras at freebsd.org
Thu Jul 21 21:49:39 UTC 2011


On 21 July 2011 23:36, Jeremy Chadwick <freebsd at jdc.parodius.com> wrote:

> [session]
> session.save_path = "/var/tmp/php_sessions"
> session.gc_maxlifetime = 900
> session.gc_probability = 25
> session.gc_divisor = 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.  So 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.


More information about the freebsd-fs mailing list