From owner-freebsd-fs@FreeBSD.ORG Thu Jul 21 21:49:39 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F2F2106564A for ; Thu, 21 Jul 2011 21:49:39 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C340F8FC13 for ; Thu, 21 Jul 2011 21:49:38 +0000 (UTC) Received: by gwb15 with SMTP id 15so1458344gwb.13 for ; Thu, 21 Jul 2011 14:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=sSH75PAVFV3t3h2fQhSQocaSE/jtcszhNXVTLZ24X1k=; b=qIAHGVpAGuKK9gT0QAdnf2OVCvLCCS7Jzc2e4kaPAMFES4IGkcQLH2pNY+1tqUcFJq z46c4wgvIDsOJkfPEQ7hrtSNCEiyiGswCal9v0qjKq5D7nlTttUJx7xBjO353/ocMm3U N20dljLoolXp+TRAe8JOrI/tFPOxjmLGdZIEw= Received: by 10.101.18.6 with SMTP id v6mr850850ani.39.1311284978128; Thu, 21 Jul 2011 14:49:38 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.100.198.5 with HTTP; Thu, 21 Jul 2011 14:48:58 -0700 (PDT) In-Reply-To: <20110721213645.GA74462@icarus.home.lan> References: <20110721213645.GA74462@icarus.home.lan> From: Ivan Voras Date: Thu, 21 Jul 2011 23:48:58 +0200 X-Google-Sender-Auth: uqDgWxRAHHACoAwmF5IlEgUmF7g Message-ID: To: Jeremy Chadwick Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and large directories - caveat report X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 21:49:39 -0000 On 21 July 2011 23:36, Jeremy Chadwick 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.