Date: Thu, 29 Oct 2009 15:31:05 +0300 From: alexs@ulgsm.ru To: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> Cc: freebsd-stable@freebsd.org Subject: Re: openldap unstable on freebsd Message-ID: <20091029123105.GA74611@mail.ulgsm.ru> In-Reply-To: <9345792F61634092B5DA5990B7529999@HS> References: <20091027082516.GA88892@mail.ulgsm.ru> <20091027085647.GT95002@e-Gitt.NET> <20091028055210.GA72197@mail.ulgsm.ru> <D259998DB6224A47B170D472B469CEE9@HS> <20091028101258.GA33200@mail.ulgsm.ru> <9345792F61634092B5DA5990B7529999@HS>
next in thread | previous in thread | raw e-mail | index | archive | help
* Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> [2009-10-29 10:39:22 +1100]: > Alexs, > Thank-you. You seem to be using a default setup from ports. > > If you are using the same configuration files for slapd.conf and > /var/openldap-data/DB_CONFIG files on the three operating systems, and FreeBSD > isn't working, I'm struggling to think of any load induced problems that it > might be from the information provided. > > Rather than asking you a lot of questions, I think you need to rule out that > disks can handle the load, that bdb is able to service the queries, and that > the tools creating the ldap queries are using the same assumptions that the > ldap server is using, etc. I think it unlikely, but I couldn't rule out a bad > ldap query as a source of the problem. I tryed put database on RAM drive (created by mdconfig -t malloc), fails anyway. All configs in defaults, inly indexes and some acls added. > Review the "man slapd.conf" and determine the loglevel that you think > appropriate, I'd suggest 2047 as a good start. > /usr/local/libexec/slapd -d 2047 -4 -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ > ldap://alexs-ldap-server/ For geting crashes (for this mail only, real crashes needs to wait) I am use small script via nss_ldap. ~]>cat test.sh #!/bin/sh while true do id test > /dev/null done With 3 running scripts get fault in 30 seconds http://pastebin.org/49205 http://pastebin.org/49211 http://pastebin.org/49213 So crashes in different places. I think need some another debuging. I tried truss slapd process, but there different places too. > > Good luck, Dewayne. -- Email: alexs@ulgsm.ru Email/Jabber: alexs@ulgsm.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091029123105.GA74611>