From: Владимир <fmfm@mmascience.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] OpenLDAP speed
Date: Fri, 04 May 2007 15:20:36 +0400
Message-ID: <463B1704.7050203@mmascience.ru> (raw)
In-Reply-To: <e12fd2db0705040146qfe023c8j60bb88ca68eceffd@mail.gmail.com>
Eugene Ostapets пишет:
> 04.05.07, Olaf Portvineson<cyberskunk gmail.com> написал(а):
>
>> Привет всем!
>> Проблема такая: OpenLDAP в дефолтной конфигурации, заливаю ldif домена
>> с другой машины и получаю очень медленно работающий сервер. Если на
>> старом ALM 2.4 сервере в той же лдаповской базе поиск по uid занимает
>> ~0.3 секунды (ldbm), то на новой осизифленной машине это время порядка
>> 4 (ldbm) и 11 (hdb) сек :(
>> Что-то не так в дефолтных настройках?
>>
> Да, скорее всего по другому строятся индексы, если вообще строятся на
> новом сервере...
>
Я другое заметил.
На тестовой машине, где ldap не нагружен, ответов приходится ждать долго.
На рабочей машине, где ldap в верхних строках top, реакция быстрая.
А индексы конечно. У меня для редактирования запущен ldap без индексов,
а "рабочий" read-only с индексами.
--
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru
next prev parent reply other threads:[~2007-05-04 11:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 7:26 Olaf Portvineson
2007-05-04 8:46 ` Eugene Ostapets
2007-05-04 11:20 ` Владимир [this message]
2007-05-04 15:33 ` Olaf Portvineson
2007-05-04 16:54 ` Eugene Ostapets
2007-05-06 0:36 ` Dmitry Lebkov
2007-05-06 0:50 ` Dmitry Lebkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=463B1704.7050203@mmascience.ru \
--to=fmfm@mmascience.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git