ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ldap долго думает...
Date: Thu, 28 Aug 2008 00:08:19 +1100
Message-ID: <48B551C3.9060200@sakhalin.ru> (raw)
In-Reply-To: <f041fbd00808270537s42029b81y64e7bbcde5352a6@mail.gmail.com>

Maks Re пишет:
> -1 достаточно?

А подумать? Догадайся, СКОЛЬКО лишних телодвижений делает slapd
при включенном дебаге ВСЕГОПОДРЯД...

> # date; ldapsearch -x -LLL -h 127.0.0.1  -b dc=perfect-ltd,dc=ru  -D
> cn=ldapadmin,dc=perfect-ltd,dc=ru -W uid=maks; date

Тогда уж '... -w blablabla ...' для чистоты экперимента.

> Wed Aug 27 16:25:23 MSD 2008
              ^^^^^^^^
> 
> Enter LDAP Password:
[skip]
> Wed Aug 27 16:25:31 MSD 2008
> 
> 4 секунд на запрос (3 сек на ввод пароля)? многовато..
> 
> лог запроса

Судя по результатам date и таймстампу из лога -- это не лог запроса.

> Aug 27 16:22:28 ldap slapd[22089]: conn=16 op=1 SRCH
          ^^^^^^^^
> base="dc=perfect-ltd,dc=ru" scope=2 deref=0 filter="(objectClass=*)"
> Aug 27 16:22:29 ldap slapd[22089]: conn=16 op=1 ENTRY dn="dc=perfect-ltd,dc=ru"

Таки ставь loglevel 256 и еще раз 'date; ldapsearch ... -w blablabla ... ;date'.

-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2008-08-27 13:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27 11:21 Maks Re
2008-08-27 12:08 ` Dmitry Lebkov
2008-08-27 12:37   ` Maks Re
2008-08-27 13:08     ` Dmitry Lebkov [this message]
2008-08-27 13:15       ` Maks Re
2008-08-27 22:47         ` 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=48B551C3.9060200@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git