Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 43611 invoked from network); 25 Nov 2009 11:55:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Nov 2009 11:55:04 -0000 Received: (qmail 5329 invoked by uid 500); 25 Nov 2009 11:55:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 5269 invoked by uid 500); 25 Nov 2009 11:55:03 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 5261 invoked by uid 99); 25 Nov 2009 11:55:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 11:55:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2009 11:55:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A2E4F234C1EE for ; Wed, 25 Nov 2009 03:54:39 -0800 (PST) Message-ID: <1495311170.1259150079666.JavaMail.jira@brutus> Date: Wed, 25 Nov 2009 11:54:39 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2407) Make the disk space used by cached binary properties configurable In-Reply-To: <887177207.1259134599567.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782380#action_12782380 ] Jukka Zitting commented on JCR-2407: ------------------------------------ > I don't think the problem is related to database connection pooling. The fact that we now use only a single database connection is the core reason for why we need to pull the full binary already during the PersistenceManager.load() call instead of streaming it to the client directly from the database. We can sort why the temp files are not being reclaimed earlier without involving connnection pools, but we do weed them if we want to avoid the temp files entirely. > Make the disk space used by cached binary properties configurable > ----------------------------------------------------------------- > > Key: JCR-2407 > URL: https://issues.apache.org/jira/browse/JCR-2407 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 2.0-beta1 > Reporter: Martijn Hendriks > Attachments: repository.xml, workspace.xml > > > Binary properties which are in Jackrabbit's caches (SharedItemStateManager eg) are stored on disk in the temp dir. This can cause problems on small temporary file systems as the size of the binary properties on disk is not limited by Jackrabbit. There is one way to influence this indirectly: make the Jackrabbit cache sizes smaller (via the CacheManager). It could be helpful in some cases if an upper bound on the disk usage can be given. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.