Re: ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Edgar Pettijohn writes: > > May need to use rcctl to change it's class to ldap. > > Untested: > rcctl set ldapd class ldap Yes, that's it. Only the class can't be changed with rcctl, it gives an error: rcctl: "ldapd_class" is a read-only variable set in login.conf(5) That gave me the clue tha

Re: ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Edgar Pettijohn writes: > May need to use rcctl to change it's class to ldap. > > Untested: > rcctl set ldapd class ldap I will try that. I had used usermod to set the class on the _ldapd user. $ userinfo _ldapd login _ldapd passwd * uid 100 groups _ldapd change NEVER class ldap gec

Re: ldapd hangs/stalls

2019-08-28 Thread Edgar Pettijohn
On Aug 28, 2019 5:39 PM, Allan Streib wrote: > > Allan Streib writes: > > > I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: > > > > [...] > > _ldapd   ldapd  42641  117* internet stream tcp 0x0 172.29.202.69:389 > > <-- 172.29.200.108:47864 > > _ldapd   ldapd  42

Re: ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Allan Streib writes: > I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: > > [...] > _ldapd ldapd 42641 117* internet stream tcp 0x0 172.29.202.69:389 <-- > 172.29.200.108:47864 > _ldapd ldapd 42641 118* internet stream tcp 0x0 172.29.202.69:389 <-- > 172.29

Re: ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Claudio Jeker writes: > I guess the problem is in the error handling of one of the filter codes > which leaks an fd. At least I suspect that the error message about filter > type is suggesting that. I guess a possibility. But why stopping at FD 119 in the fstat output? I have several hundred hos

Re: ldapd hangs/stalls

2019-08-28 Thread Claudio Jeker
On Wed, Aug 28, 2019 at 03:17:05PM -0400, Allan Streib wrote: > Allan Streib writes: > > > Running a rather busy ldapd host, and seeing some hangs in responses to > > queries. > > > I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: > > [...] > _ldapd ldapd 42641 11

Re: ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Allan Streib writes: > Running a rather busy ldapd host, and seeing some hangs in responses to > queries. I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: [...] _ldapd ldapd 42641 112* internet stream tcp 0x0 172.16.0.169:389 <-- 172.16.0.38:44708 _ldapd ldapd

ldapd hangs/stalls

2019-08-28 Thread Allan Streib
Running a rather busy ldapd host, and seeing some hangs in responses to queries. Some (possibly irrelevant) messages in /var/log/daemon Aug 28 12:47:51 ldap02 ldapd[39626]: filter type 5 not implemented Aug 28 12:48:19 ldap02 last message repeated 13 times Aug 28 12:49:41 ldap02 last messag