[Freeipa-users] Re: How to check the number of read/write locks on /usr/sbin/ns-slapd process?

2022-09-06 Thread Kathy Zhu via FreeIPA-users
Hi Thierry and Kees, Thank you for your replies. I provided the outputs of "pstack $(pidof ns-slapd)" to Red Hat Support Center, and they were able to find the root cause for a particular hang issue, it turns out to be a bug. I attached the details. I will continue to troubleshoot with them.

[Freeipa-users] Re: How to check the number of read/write locks on /usr/sbin/ns-slapd process?

2022-09-06 Thread Kees Bakker via FreeIPA-users
On 30-08-2022 23:20, Kathy Zhu via FreeIPA-users wrote: Hi Team, We used following to get the number of rwlocks for /usr/sbin/ns-slapd process in Centos 7.9 to catch deadlocks: PID=`pidof ns-slapd` gdb -ex 'set confirm off' -ex 'set pagination off' -ex 'thread apply all bt full' -ex 'quit'

[Freeipa-users] Re: How to check the number of read/write locks on /usr/sbin/ns-slapd process?

2022-09-06 Thread Thierry Bordaz via FreeIPA-users
Hi Kathy, The procedure to diagnose hang looks nice. My understanding is that it assumes that in deadlock situation the more we have threads waiting on a resource, the more probable we have a hang/deadlock. Now because of the dynamic of the server itself, on the configuration, on the type of