Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 56468 invoked from network); 8 Nov 2007 11:27:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 11:27:16 -0000 Received: (qmail 8120 invoked by uid 500); 8 Nov 2007 11:27:02 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 8090 invoked by uid 500); 8 Nov 2007 11:27:02 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 8061 invoked by uid 99); 8 Nov 2007 11:27:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 03:27:02 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [85.128.97.70] (HELO ra.cognifide.pl) (85.128.97.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 11:27:04 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by ra.cognifide.pl (Postfix) with ESMTP id 2161011B4CA8 for ; Thu, 8 Nov 2007 10:38:33 +0100 (CET) X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.599 X-Spam-Level: Received: from ra.cognifide.pl ([127.0.0.1]) by localhost (ra.cognifide.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k2Skl+nLSquK for ; Thu, 8 Nov 2007 10:38:30 +0100 (CET) Received: from [192.168.35.162] (host-ip118-100.crowley.pl [85.128.100.118]) by ra.cognifide.pl (Postfix) with ESMTP id 928A111B4C9A for ; Thu, 8 Nov 2007 10:38:30 +0100 (CET) Message-ID: <4732F218.8090304@cognifide.com> Date: Thu, 08 Nov 2007 12:25:12 +0100 From: Przemo Pakulski User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: CacheManager problem References: <13644519.post@talk.nabble.com> In-Reply-To: <13644519.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-2.599 tagged_above=-10 required=4 tests=[AWL=0.000, BAYES_00=-2.599] Hi, I had some problems with CacheManager resizing efficiency (see https://issues.apache.org/jira/browse/JCR-1112). Recently I exposed public method on CacheManager which allows to setup resize interval programatically. By default CacheManager is doing recalculation every second, and it seems that this method is time consuming especially when number of managed caches grows. Thanks, Przemo > Hi all, > I have a problem regarding CacheManager size under heavy load and system > slowdown. > > CacheManager start with: > 16:28:13,476 INFO CacheManager:125 - resizeAll size=78 > > after it grows too much: > 17:28:23,079 INFO CacheManager:125 - resizeAll size=122 > 17:28:24,143 INFO CacheManager:125 - resizeAll size=224 > 17:28:25,270 INFO CacheManager:125 - resizeAll size=382 > 17:33:24,567 INFO CacheManager:125 - resizeAll size=468 > ... > 19:09:35,674 INFO CacheManager:125 - resizeAll size=162467 > 19:11:03,601 INFO CacheManager:125 - resizeAll size=162737 > 19:12:33,840 INFO CacheManager:125 - resizeAll size=163095 > > Then system starts slowdown and some errors occured. > > I use a Session Pool to share some session to 'read-only' users. Creation of > the pool that starts with webapp and sessions are never logged only (only in > case of errors and recreated) to be shared among users. I share 15 sessions > for each of the 2 workspaces I use. > > Please can anyone address me to an analysys of this problem? > > I use JR 1.3.1 patched with JIRA-905 patch to avoid duplicated entries in > index searches. > Server is Oracle 10g on Solaris. Db used is also Oracle10g. > > Another point, I have a big collection of blobs in db (but I don't thinks it > could be the problem). > > It's pretty urgent. > > Thanks a lot in advance. > > BR, > Andre.