Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FA76103E5 for ; Tue, 20 Aug 2013 21:55:45 +0000 (UTC) Received: (qmail 88790 invoked by uid 500); 20 Aug 2013 21:55:45 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 88753 invoked by uid 500); 20 Aug 2013 21:55:44 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 88744 invoked by uid 99); 20 Aug 2013 21:55:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 21:55:44 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vindimy@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 21:55:38 +0000 Received: by mail-bk0-f46.google.com with SMTP id 6so362789bkj.19 for ; Tue, 20 Aug 2013 14:55:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=oiPA3mQ2ZMmRkdGYtspI6x+VtAoBA2HkS80/oKGF5vk=; b=msGRQfwO2djlangVKtUunonXUMYo6si4jLemBb88AUqeTL3dm5ajNEOOcU0GW9R8yA bUOxCH9DK7aSWO4hpG2BIw6AV/ImnLDGyZpVR4GCg2aYY/Uv3sgrr00pAwc3O9Dpl+Rl DCktvskhyzXVCKgqo1+gObaMvqAOJxUe9jJTM69sD/NbBhRF3cHVnod05n/EdZTNuecY nZm5ROgRzsOsMEz2jRIKCNDtlPhvA6J06V/i9ZFfuMDo4bxEjfnuwduhR14dEYBVM3Lg g5iywGvwnqKxjTkF4qnyE/Sg6zqF7VmKDR3AtRy1qKvAreJlIRNTxKp9jGKdH60WG45Y KwzA== X-Received: by 10.205.65.207 with SMTP id xn15mr57762bkb.31.1377035718219; Tue, 20 Aug 2013 14:55:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.205.80.15 with HTTP; Tue, 20 Aug 2013 14:54:37 -0700 (PDT) In-Reply-To: <1377014669221-4670525.post@n4.nabble.com> References: <1376941859890-4670496.post@n4.nabble.com> <1376945871591-4670498.post@n4.nabble.com> <1377014669221-4670525.post@n4.nabble.com> From: DV Date: Tue, 20 Aug 2013 14:54:37 -0700 Message-ID: Subject: Re: Broker leaks FDs - Too many open files To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=bcaec5430d9cd40db704e4681c0c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5430d9cd40db704e4681c0c Content-Type: text/plain; charset=UTF-8 We've had similar issue in the past, which went away with the following changes: * adding closeAsync=false to transportConnectors * using nio instead of tcp in transportConnectors * setting ulimits to unlimited for activemq user * fine-tuning kahaDB settings (enableIndexWriteAsync="true" enableJournalDiskSyncs="false" journalMaxFileLength="256mb") * fine-tuning topic and queue settings (destinationPolicy) * enabling producer flow control However, all this fine-tuning can only do so much, so ultimately we had to: * reduce broker usage by splitting datasets onto multiple brokers * optimize consumers to reduce the length of time a message spends on the broker The less messages broker has to hold on to, the less likely you'll run into some sort of a limit. On Tue, Aug 20, 2013 at 9:04 AM, Jerry Cwiklik wrote: > Thanks, Paul. We are running on Linux (SLES). All clients use openwire. The > broker is configured > with producerFlowControl="false", optimizedDispatch="true" for both queues > and topics. > > The openwire connector configured with transport.soWriteTimeout=45000. We > dont use persistence for messaging. The broker's jvm is given 8Gig. > > JC > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Broker-leaks-FDs-Too-many-open-files-tp4670496p4670525.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- Best regards, Dmitriy V. --bcaec5430d9cd40db704e4681c0c--