Le 27/04/2023 à 19:17, Quanah Gibson-Mount a écrit :
--On Thursday, April 27, 2023 8:12 PM +0200 Benjamin Renard
<bren...@easter-eggs.com> wrote:
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1
syncprov_op_search: registered persistent search
Apr 27 18:45:35 gavotte slapd[1086662]: Stopping OpenLDAP: slapd.
This shows two completely different PIDs for slapd? 1086351 and 1086662
Effectively : I found no other reference to the second PID (1086662) in
logs. I check and I have the same PID difference on other crashs/stops.
It's could be a systemd related issue, but on each crashs/stops, the
last logged messages are always the same about a connection from the
slave host (another example) :
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 fd=53 ACCEPT from
IP=1.2.3.4:58806 (IP=0.0.0.0:636)
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 fd=53 TLS established
tls_ssf=256 ssf=256 tls_proto=TLS1.3 tls_cipher=AES-256-GCM
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=0 BIND
dn="uid=syncrepl,ou=sysaccounts,o=example" method=128
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=0 BIND
dn="uid=syncrepl,ou=sysaccounts,o=example" mech=SIMPLE bind_ssf=0 ssf=256
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=0 RESULT tag=97
err=0 qtime=0.000036 etime=0.000164 text=
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1 SRCH
base="o=example" scope=2 deref=0 filter="(objectClass=*)"
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1 SRCH attr=* +
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1
syncprov_op_search: got a persistent search with a
cookie=rid=000,csn=20190213173033.952331Z#000000#000#000000;20230427155638.609257Z#000000#001#000000;20190916120217.913828Z#000000#003#000000
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1
syncprov_findbase: searching
Apr 27 18:45:35 gavotte slapd[1086351]: conn=1224 op=1
syncprov_op_search: registered persistent search
Apr 27 18:45:35 gavotte slapd[1086662]: Stopping OpenLDAP: slapd.
Apr 27 18:45:35 gavotte systemd[1]: slapd.service: Succeeded.
Apr 27 18:45:35 gavotte systemd[1]: slapd.service: Consumed 8.302s CPU time.
Do you have any idea of what is going wrong ?
Thanks !
--
Benjamin Renard - Easter-eggs
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - mailto:bren...@easter-eggs.com