Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 14080 invoked from network); 7 May 2008 17:23:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 May 2008 17:23:28 -0000 Received: (qmail 73061 invoked by uid 500); 7 May 2008 17:23:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72963 invoked by uid 500); 7 May 2008 17:23:22 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72952 invoked by uid 99); 7 May 2008 17:23:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 10:23:22 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of insomniacpenguin@googlemail.com designates 209.85.142.191 as permitted sender) Received: from [209.85.142.191] (HELO ti-out-0910.google.com) (209.85.142.191) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 May 2008 17:22:34 +0000 Received: by ti-out-0910.google.com with SMTP id j3so126911tid.8 for ; Wed, 07 May 2008 10:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=hXCGqtEFIV7VmOHvJHoAbOXzU/haxUAUhTt9y7E5twY=; b=nDGfej46R19kk8/kJq7d3D5PXsEwdxrJyqnB0O7ZoXj6hyjQ/g65IUuaZcuw+vTY5sxNsmrrenYhYmx+bJwe3UP2ByDe1euHV2vx6JoYhZ7inHmkEm8xkEY7xAU8gJSIOy9nxJNXb5nT6U1zWnWV6d2+L+pdvarggqgZrbDR/EM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iaeswyLRJs6iAMkBUQuwY8mPH3TcEBj045vvt0v0G/uB+2npL/iiyFvQeTINgLk5muGoPOtLxIzvEEQJvfZxlXDP8eISiW0K01kdY65pF2Y6e5gmMPH6z6PKEQRZ7meoOSmTJEppZiddVQCzkoQtfgVeWJqFWUk2PWkIJRIX30E= Received: by 10.150.137.15 with SMTP id k15mr2327748ybd.66.1210180966593; Wed, 07 May 2008 10:22:46 -0700 (PDT) Received: by 10.70.24.5 with HTTP; Wed, 7 May 2008 10:22:46 -0700 (PDT) Message-ID: Date: Wed, 7 May 2008 18:22:46 +0100 From: "Andy Stevens" To: users@cocoon.apache.org Subject: Too many open files (was PDF Image Caching Problem) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org 2008/5/5 Lehtonen, Mika : > Actually there might be another problem (or bug) lying around if you > produce htmls' with 'noncaching' option. Cocoon seems to be leaving files > open when using html-serializer with noncaching option in your pipeline. And > eventually your application can crash because you exceed the maximum open > files that your OS tolerates. (Cocoon 2.1.11 / Centos 4.6) Really? Aha... It's not the cocoon.xconf that's left open is it? And could this affect earlier versions too? I mailed the dev list about a week ago (subject "Excessive file handles on cocoon.xconf", see http://www.nabble.com/Excessive-file-handles-on-cocoon.xconf-tp16973172p17000464.html) because we were encountering "Too many open files" errors after migrating a 2.1.7 app from Websphere 5.0 on Windows to 6.0 on Linux. I'm wondering if this could be the reason. Do the files get closed eventually? We were getting these errors with the limit set to 1024, but after a few minutes things would start working again for a while. Also, after increasing the limit to 8000 we haven't seen the error since. I assume this is because it's now high enough for the responsible component(s) to get destroyed, garbage collected, and basically cleaned up properly before things get that bad. Andy -- http://pseudoq.sourceforge.net/ Open source java Sudoku application --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org