Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-17 Thread Andrew E. Bruno
On Thu, Jul 16, 2015 at 10:32:59AM +0200, Ludwig Krispenz wrote: Thank you for the data, I think I understand now what is going on. In the error logs we see only message like (from my test env): [16/Jul/2015:10:12:40 +0200] NSMMReplicationPlugin - agmt=cn=100-300 (localhost:9759):

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-16 Thread Ludwig Krispenz
Thank you for the data, I think I understand now what is going on. In the error logs we see only message like (from my test env): [16/Jul/2015:10:12:40 +0200] NSMMReplicationPlugin - agmt=cn=100-300 (localhost:9759): replay_update: modifys operation (dn=dc=example,dc=com

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-15 Thread Andrew E. Bruno
On Wed, Jul 15, 2015 at 04:58:23PM +0200, Ludwig Krispenz wrote: On 07/15/2015 04:10 PM, Andrew E. Bruno wrote: On Wed, Jul 15, 2015 at 03:22:51PM +0200, Ludwig Krispenz wrote: On 07/14/2015 08:59 PM, Andrew E. Bruno wrote: On Tue, Jul 14, 2015 at 04:52:10PM +0200, Ludwig Krispenz wrote:

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-15 Thread Andrew E. Bruno
On Wed, Jul 15, 2015 at 03:22:51PM +0200, Ludwig Krispenz wrote: On 07/14/2015 08:59 PM, Andrew E. Bruno wrote: On Tue, Jul 14, 2015 at 04:52:10PM +0200, Ludwig Krispenz wrote: hm, the stack traces show csn_str, which correspond to Jul,8th, Jul,4th, and Jul,7th - so it looks like it is

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-15 Thread Ludwig Krispenz
On 07/14/2015 08:59 PM, Andrew E. Bruno wrote: On Tue, Jul 14, 2015 at 04:52:10PM +0200, Ludwig Krispenz wrote: hm, the stack traces show csn_str, which correspond to Jul,8th, Jul,4th, and Jul,7th - so it looks like it is iterating the changelog over and over again. Th consumer side Is

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-15 Thread Ludwig Krispenz
On 07/15/2015 04:10 PM, Andrew E. Bruno wrote: On Wed, Jul 15, 2015 at 03:22:51PM +0200, Ludwig Krispenz wrote: On 07/14/2015 08:59 PM, Andrew E. Bruno wrote: On Tue, Jul 14, 2015 at 04:52:10PM +0200, Ludwig Krispenz wrote: hm, the stack traces show csn_str, which correspond to Jul,8th,

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-14 Thread Ludwig Krispenz
On 07/13/2015 06:36 PM, Andrew E. Bruno wrote: On Mon, Jul 13, 2015 at 05:29:13PM +0200, Ludwig Krispenz wrote: On 07/13/2015 05:05 PM, Andrew E. Bruno wrote: On Mon, Jul 13, 2015 at 04:58:46PM +0200, Ludwig Krispenz wrote: can you get a pstack of the slapd process along with a top -H to

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-14 Thread Ludwig Krispenz
hm, the stack traces show csn_str, which correspond to Jul,8th, Jul,4th, and Jul,7th - so it looks like it is iterating the changelog over and over again. Th consumer side Is cn=meTosrv-m14-24.ccr.buffalo.edu - is this the master ? can you provide the result of the following search from

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-14 Thread Andrew E. Bruno
On Tue, Jul 14, 2015 at 04:52:10PM +0200, Ludwig Krispenz wrote: hm, the stack traces show csn_str, which correspond to Jul,8th, Jul,4th, and Jul,7th - so it looks like it is iterating the changelog over and over again. Th consumer side Is cn=meTosrv-m14-24.ccr.buffalo.edu - is this the master

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-13 Thread Ludwig Krispenz
can you get a pstack of the slapd process along with a top -H to find th ethread with high cpu usage Ludwig On 07/13/2015 04:46 PM, Andrew E. Bruno wrote: We have 3 freeipa-replicas. Centos 7.1.1503, ipa-server 4.1.0-18, and 389-ds 1.3.3.1-16. Recently, the ns-slapd process on one of our

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-13 Thread Ludwig Krispenz
On 07/13/2015 05:05 PM, Andrew E. Bruno wrote: On Mon, Jul 13, 2015 at 04:58:46PM +0200, Ludwig Krispenz wrote: can you get a pstack of the slapd process along with a top -H to find th ethread with high cpu usage Attached is the full stacktrace of the running ns-slapd proccess. top -H shows

Re: [Freeipa-users] ns-slapd high cpu usage

2015-07-13 Thread Andrew E. Bruno
On Mon, Jul 13, 2015 at 05:29:13PM +0200, Ludwig Krispenz wrote: On 07/13/2015 05:05 PM, Andrew E. Bruno wrote: On Mon, Jul 13, 2015 at 04:58:46PM +0200, Ludwig Krispenz wrote: can you get a pstack of the slapd process along with a top -H to find th ethread with high cpu usage Attached is