[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap-2.1.27 - slapd not dying



Folks,

I posed this about a month ago but haven't yet found a decent workaround. I'm sure that killing slapd hard will eventually corrupt the database. so I'm looking for something else. I've upgraded from 2.1.25 to 2.2.8 and there is no difference.

On Mar 9, 2004, at 9:16 AM, Greg G wrote:


Not that it helps any, but I'm seeing the same behavior in 2.1.25.

-Greg G


Jason Lixfeld wrote:

Anyone have any ideas here?!

On Mar 7, 2004, at 11:26 PM, Jason Lixfeld wrote:

Having this weird problem with slapd :

su-2.05b# file /usr/local/libexec/slapd
/usr/local/libexec/slapd: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for FreeBSD 5.0.2, dynamically linked (uses shared libs), stripped
su-2.05b#


If I start slapd and kill it before the first transaction, it will die, no problem:

su-2.05b# /usr/local/libexec/slapd -u ldap -g ldap -d 256
slapd starting
^Cslapd shutdown: waiting for 0 threads to terminate
slapd stopped.
su-2.05b#

If transactions have already gone through, slapd never dies and I have to kill it from another window.

su-2.05b# /usr/local/libexec/slapd -u ldap -g ldap -d 256
slapd starting
conn=0 fd=9 ACCEPT from IP=x.x.x.x:45352 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=xxx,dc=yyy" scope=2 filter="(&(objectClass=*)(uid=jlixfeld))"
conn=0 op=1 SRCH attr=uid
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=0 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" method=128
conn=0 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" mech=SIMPLE ssf=0
conn=0 op=2 RESULT tag=97 err=0 text=
conn=1 fd=14 ACCEPT from IP=x.x.x.x:45350 (IP=0.0.0.0:389)
conn=1 op=0 BIND dn="" method=128
conn=1 op=0 RESULT tag=97 err=0 text=
conn=1 op=1 SRCH base="dc=xxx,dc=yyy" scope=2 filter="(&(objectClass=*)(uid=jlixfeld))"
conn=1 op=1 SRCH attr=uid
conn=1 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=1 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" method=128
conn=1 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" mech=SIMPLE ssf=0
conn=1 op=2 RESULT tag=97 err=0 text=
conn=2 fd=15 ACCEPT from IP=x.x.x.x:45349 (IP=0.0.0.0:389)
conn=2 op=0 BIND dn="" method=128
conn=2 op=0 RESULT tag=97 err=0 text=
conn=2 op=1 SRCH base="dc=xxx,dc=yyy" scope=2 filter="(&(objectClass=*)(uid=jlixfeld))"
conn=2 op=1 SRCH attr=uid
conn=2 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=2 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" method=128
conn=2 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" mech=SIMPLE ssf=0
conn=2 op=2 RESULT tag=97 err=0 text=
conn=3 fd=16 ACCEPT from IP=x.x.x.x:45348 (IP=0.0.0.0:389)
conn=3 op=0 BIND dn="" method=128
conn=3 op=0 RESULT tag=97 err=0 text=
conn=3 op=1 SRCH base="dc=xxx,dc=yyy" scope=2 filter="(&(objectClass=*)(uid=jlixfeld))"
conn=3 op=1 SRCH attr=uid
conn=3 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=3 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" method=128
conn=3 op=2 BIND dn="uid=jlixfeld,cn=Manager,dc=xxx,dc=yyy" mech=SIMPLE ssf=0
conn=3 op=2 RESULT tag=97 err=0 text=
^Cconn=0 fd=9 closed
conn=1 fd=14 closed
conn=2 fd=15 closed
conn=3 fd=16 closed
slapd shutdown: waiting for 0 threads to terminate
^C^C^C^CKilled


anyone have any ideas? this is getting quite annoying and I don't want to necessarily risk corruption once this bad boy goes into production.

thanks in advance.