Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5BDE2200BD4 for ; Thu, 1 Dec 2016 12:19:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5A522160B0F; Thu, 1 Dec 2016 11:19:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A28F8160B0B for ; Thu, 1 Dec 2016 12:19:04 +0100 (CET) Received: (qmail 61687 invoked by uid 500); 1 Dec 2016 11:18:58 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 61609 invoked by uid 99); 1 Dec 2016 11:18:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 11:18:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5AB902C1F54 for ; Thu, 1 Dec 2016 11:18:58 +0000 (UTC) Date: Thu, 1 Dec 2016 11:18:58 +0000 (UTC) From: "Stefan Egli (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (OAK-3976) journal should support large(r) entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 01 Dec 2016 11:19:05 -0000 [ https://issues.apache.org/jira/browse/OAK-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705917#comment-15705917 ] Stefan Egli edited comment on OAK-3976 at 12/1/16 11:18 AM: ------------------------------------------------------------ [~mreutegg], [~catholicon], [~chetanm], [~reschke], I think I won't find time to do this atm, would one of you (or someone else) be able to cover this? thx! ping :) was (Author: egli): [~mreutegg], [~catholicon], [~chetanm], [~reschke], I think I won't find time to do this atm, would one of you (or someone else) be able to cover this? thx! > journal should support large(r) entries > --------------------------------------- > > Key: OAK-3976 > URL: https://issues.apache.org/jira/browse/OAK-3976 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: documentmk > Affects Versions: 1.3.14 > Reporter: Stefan Egli > Assignee: Stefan Egli > Fix For: 1.6, 1.5.15 > > > Journal entries are created in the background write. Normally this happens every second. If for some reason there is a large delay between two background writes, the number of pending changes can also accumulate. Which can result in (arbitrary) large single journal entries (ie with large {{_c}} property). > This can cause multiple problems down the road: > * journal gc at this point loads 450 entries - and if some are large this can result in a very large memory consumption during gc (which can cause severe stability problems for the VM, if not OOM etc). This should be fixed with OAK-3001 (where we only get the id, thus do not care how big {{_c}} is) > * before OAK-3001 is done (which is currently scheduled after 1.4) what we can do is reduce the delete batch size (OAK-3975) > * background reads however also read the journal entries and even if OAK-3001/OAK-3975 are implemented the background read can still cause large memory consumption. So we need to improve this one way or another. -- This message was sent by Atlassian JIRA (v6.3.4#6332)