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 5BB15909F for ; Wed, 11 Apr 2012 14:47:48 +0000 (UTC) Received: (qmail 30316 invoked by uid 500); 11 Apr 2012 14:47:48 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 30267 invoked by uid 500); 11 Apr 2012 14:47:48 -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 30256 invoked by uid 99); 11 Apr 2012 14:47:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 14:47:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bk0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 14:47:40 +0000 Received: by bkuw11 with SMTP id w11so1050687bku.37 for ; Wed, 11 Apr 2012 07:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0xJOfbRD58W9p0DXNZIUu47KDXFwNMthq6PfGcZIVXQ=; b=ZWgNtBhyGTD0Ur1j4wgektaD0q9VHVU8Ia6LwH/nTEJ6zRaQ9nIhpaw8kWUoc8M7FO cRgD/GqaF5Oj1j5jfJMqXDBXkCdBxoIYyRFM0WqhhslO9TaC+fc/MrQ+re0N4rmPPfjn LSr/xexq9twVXIEJUMOT5oK3iZuSJJULtuFvy1cPbePblFgJh6cSxCmuEb/y6tG+0Eu7 bPObDXO0HZUz76ppelCES0yGxdMUK5XqeQTT6w9au8E1aRheDSn5ff2klP+czD+ZcEPJ Wc+mVilMfyP/a9GBo/csaCBafyChjEp/xJHRsx43fe7Sqxg0c2pO7B14pxUyPH4QlWm5 ceQg== Received: by 10.205.122.77 with SMTP id gf13mr6512671bkc.15.1334155640512; Wed, 11 Apr 2012 07:47:20 -0700 (PDT) Received: from Emmanuels-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net. [78.226.4.211]) by mx.google.com with ESMTPS id z17sm5337309bkw.12.2012.04.11.07.47.19 (version=SSLv3 cipher=OTHER); Wed, 11 Apr 2012 07:47:19 -0700 (PDT) Message-ID: <4F859976.2070909@gmail.com> Date: Wed, 11 Apr 2012 16:47:18 +0200 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: Plea for help with search performance References: <2BE7E81B77921F43A6A273C2DF2FA6A43C4CC0E5AB@IBSMBX.ibs-ag.com> In-Reply-To: <2BE7E81B77921F43A6A273C2DF2FA6A43C4CC0E5AB@IBSMBX.ibs-ag.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 4/11/12 4:31 PM, Carlo.Accorsi@ibs-ag.com a écrit : > Hi, we have a project has 80,000 users in one OU. This is a requirement. Hmm, you mean 80 000 entries under ou=something, I guess ? Like : cn=user1, ou=something cn=user2, ou=something ... cn=user80000, ou=something ? > > With guidance from this group, I've tried dozens of combinations of indexing attributes, setting their cache sizes, > increasing the partition caches, timeout settings, etc. > > We're using the 64 bit java service wrapper and have given the JVM 5GB of memory. > Despite this, we still have 20+ second response times when searching on displayName and employeeNumber . > This is consistent with multiple ldap clients. That's not normal. It should be immediate. Can you tell us what kind of request you send to the server ? Also what kind of network configuration are you going through (firewall, etc). It would be interesting to see if you get the same 'level' of (un)performance if you do the search on the server. > > Every time we've made configuration or index changes, it's been to a clean empty system and then we load our LDIF file with the 80k users. > > You've all been very helpful to us but we're backed into wall with this. > The response times are unacceptable and we don't know what else we can do. Yeah, I understand. It's definitively not acceptable, and we never had such performances on our tests, even with 5 000 000 entries under one single branch. > > Could someone provide us with an idea of how to configure the system to get the best performance when searching > for displayName and employeeNumber? The displayName lengths are up to 80 characters, the employeeNumber is 25. The best thing is certainly to index those two attributes. You might also face a bug. Which version of the server are you using ? Thanks ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com