Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-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 0360D934C for ; Thu, 13 Oct 2011 15:32:02 +0000 (UTC) Received: (qmail 27482 invoked by uid 500); 13 Oct 2011 15:32:01 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 26940 invoked by uid 500); 13 Oct 2011 15:32:00 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 26532 invoked by uid 99); 13 Oct 2011 15:32:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 15:32:00 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of craig@mfoundry.com does not designate 74.125.149.199 as permitted sender) Received: from [74.125.149.199] (HELO na3sys009aog108.obsmtp.com) (74.125.149.199) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 13 Oct 2011 15:31:53 +0000 Received: from mail-wy0-f178.google.com ([74.125.82.178]) (using TLSv1) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP; Thu, 13 Oct 2011 08:31:32 PDT Received: by mail-wy0-f178.google.com with SMTP id 23so2330081wyf.37 for ; Thu, 13 Oct 2011 08:31:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.198.217 with SMTP id v67mr1596474wen.15.1318519888938; Thu, 13 Oct 2011 08:31:28 -0700 (PDT) Received: by 10.216.82.15 with HTTP; Thu, 13 Oct 2011 08:31:28 -0700 (PDT) In-Reply-To: <4E961A00.9000201@gmail.com> References: <4E961A00.9000201@gmail.com> Date: Thu, 13 Oct 2011 10:31:28 -0500 Message-ID: Subject: Re: Performance issues and strange logs From: Craig Setera To: "users@directory.apache.org" Content-Type: multipart/alternative; boundary=0016e6db66ff9c0c8204af2fd5a7 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db66ff9c0c8204af2fd5a7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Assuming that the errors and warnings are not a big deal, can you suggest any reasons that we would have connections stacking up and timing out? The use case is likely heavier on write than would be standard for LDAP, but it seems the failure threshold (number of connections) is very low. This is hosted on a multi-core machine (virtual machine) and when it gets bad, our operations people say that a single core of the machine is pegged at 100% CPU while others are essentially idle. Are there parts of Apache DS that have thread affinity and would be "stuck" to a single processor? Any thoughts would be appreciated, Craig On Wednesday, October 12, 2011, Emmanuel Lecharny wrote: > On 10/12/11 10:24 PM, Craig Setera wrote: > >> Hello, >> > > Hi, > > which ADS version are you using ? Is it still 1.5.5 ? > > >> Last week I was asking about indexing and performance gains from those >> indexes. The question stemmed from some performance problems that we ar= e >> currently having in our environment. In that environment, we are seeing >> extremely poor performance and Apache DS getting bogged down after a >> relatively small number of connections (under 100). When that happens, >> the >> connections start to "stack up" and eventually time out. I was surprise= d >> by >> the performance, but was looking at things like indexing and disabling >> sync >> on write as ways to improve the situation. >> >> Now, I've received some logs from testing and I'm beginning to wonder if >> there is something else going on. I'm seeing many entries in the logs >> that >> look like: >> >> [18:27:52] WARN [org.apache.directory.server.**ldap.LdapSession] - >> AbandonableRequest with messageId 2 not found in outstandingRequests. >> [18:27:53] WARN [org.apache.directory.shared.**asn1.ber.Asn1Decoder] - >> The PDU >> has been fully decoded but there are still bytes in the buffer. >> [18:27:53] WARN [org.apache.directory.shared.**asn1.ber.Asn1Decoder] - >> The PDU >> has been fully decoded but there are still bytes in the buffer. >> [18:27:53] WARN [org.apache.directory.server.**ldap.LdapSession] - >> AbandonableRequest with messageId 2 not found in outstandingRequests. >> [18:27:53] WARN [org.apache.directory.shared.**asn1.ber.Asn1Decoder] - >> The PDU >> has been fully decoded but there are still bytes in the buffer. >> [18:27:53] WARN [org.apache.directory.shared.**asn1.ber.Asn1Decoder] - >> The PDU >> has been fully decoded but there are still bytes in the buffer. >> > This message just means that some data has been received, decoded > correctly, but we have still some remaining bytes in the buffer. It's a > warning, not an error. The remaining bytes will be decoded later. Nothing= to > be scared about. > >> >> > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > --=20 Craig Setera Director, Product Engineering mFoundry p 415.324.5801 craig@mfoundry.com --0016e6db66ff9c0c8204af2fd5a7--