Subject: Re: slapd cores
To: None <port-sparc64@NetBSD.org>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 08/04/2005 20:16:40
--Signature=_Thu__4_Aug_2005_20_16_40_+0200_sIN.ZakXQVt4ygJg
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I've done a few testings and it seemed to be an openldap issue.
I've upgraded the sparc64 machine to 3.99.7 and recompiled openldap
(2.2.20nb2) and the issue was still there. Now that I have upgraded
OpenLDAP to 2.2.27nb1, it seems to work.

I have not heavily tested it yet, but the simple tests that made the
database crash don't make it now. I can search with or without filters
(simple filter and wildcarded one). I have done a `while TRUE; do
ldapsearch & done` for 20 seconds and the machine answered everything,
keeping slapd up and running.

Just in case anybody cares ;)
Cheers,
	Jo

On Mon, 6 Jun 2005 16:16:46 +0200
Joel CARNAT <joel@carnat.net> wrote:

> Hi,
>=20
> I'm switching my whole i386 services to my U5 and it seems OpenLDAP has
> issues :( Here's a few infos about my conf :
>=20
> ####################################
> Ultra 5 / NetBSD 3.0_BETA (from a few days ago)
>=20
> OpenLDAP 2.2.20nb2 (from pkgsrc-2005Q1)
>=20
> PKG_OPTIONS.openldap=3Dbdb
>=20
> database bdb
> ####################################
>=20
> The base is started and filled up with LDIF from the working OpenLDAP
> (on the i386 machine). The I reconstruct the index (slapindex).
>=20
> When I run ldapsearch on the sparc64 instance, either the process cores
> immediatly or I get a bit of answer then the process goes "mad" (take
> 80% CPU ad-vitam).
>=20
> Revelant info (I guess) seen with (-d 2) is :
> ldap_read: want=3D8 error=3DResource temporarily unavailable
> ...
> ldap_read: want=3D8 error=3DResource temporarily unavailable
> ...
> Bus error (core dumped)
>=20
> I have 512Mo of RAM... And have been testing stability of the system by
> compiling a lot of packages.
>=20
> Are there any tricks to run OpenLDAP on sparc64 ?
>=20
> TIA,
> 	Jo
> --=20
> ,- This mail runs ------.
> `--------- NetBSD/i386 -'
>=20

--Signature=_Thu__4_Aug_2005_20_16_40_+0200_sIN.ZakXQVt4ygJg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD4DBQFC8luL0/VH7L7F7Y4RAg3BAJdXAwiMvLBUZe9X7/xwWFkxwIeCAJ9YWV2C
BMXBEqenPQVmfMVTMmDTbw==
=Ujba
-----END PGP SIGNATURE-----

--Signature=_Thu__4_Aug_2005_20_16_40_+0200_sIN.ZakXQVt4ygJg--