FreeBSD 9.1 - openldap slapd lockups, mutex problems

Pierre Guinoiseau pierre at guinoiseau.eu
Mon Mar 4 16:05:59 UTC 2013


Hi,

I've tested it in a 8.3R jail on a 9.1R host, same setup, and the problem is
still there. So it may be a kernel bug on 9.1R.

On 14/02/2013 10:19:45, Oliver Brandmueller <ob at e-Gitt.NET> wrote:

> Hi,
> 
> On Thu, Feb 14, 2013 at 03:13:57AM +0100, Pierre Guinoiseau wrote:
> > > I have seen openldap spin the cpu and even run out of memory to get 
> > > killed on some of our test systems running ~9.1-rel with zfs.
> [...]
> > I've the same problem too, inside a jail, stored on ZFS. I've tried various
> > tuning in slapd.conf, but none fixed the problem. While hanging, db_stat -c
> > shows that all locks are being used, I've tried to set the limit really high,
> > far more than normally needed, but it didn't help. I may have the same problem
> > with amavisd-new but I've to verify that to be sure the symptoms are similar.
> 
> I have amd64 9.1-STABLE r245456 (about Jan 15) running. I have openldap 
> openldap-server-2.4.33_2 running, depending on libltdl-2.4.2 and 
> db46-4.6.21.4 .
> 
> The system is zfs only (for the local filesystems, where openldap is 
> running - it has several NFS mounts for other purposes though). It's up 
> and running for about a month now (29 days) and never showed any 
> problematic behaviour regarding to slapd.
> 
> I have ~10 SEARCH requests per seconds avg and only minor 
> ADD/MODIFY/DELETE operations. It has several binds und unbinds, about 
> 1/10th of the requests. It runs in slurpd slave mode for my master LDAP.
> 
> zroot/var/db runs with compression=off, dedup=off, zroot is a mirrored 
> pool on 2 Intel SATA SSD drives inside a GPT partition. Swap is on a ZFS 
> zvol.
> 
> - Oliver
> 
> 
> -- 
> | Oliver Brandmueller          http://sysadm.in/         ob at sysadm.in |
> |                        Ich bin das Internet. Sowahr ich Gott helfe. |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130304/93d3e32a/attachment.sig>


More information about the freebsd-stable mailing list