[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: n-way multi master and mirror mode
- To: Brendan Kearney <bpk678@gmail.com>
- Subject: Re: n-way multi master and mirror mode
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Sun, 04 Dec 2016 13:49:24 -0800
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- In-reply-to: <WM!8ad33a3cebfb1ae8218218b749f12190e18affb1b3d313884200e48fc74ef069d99352210ba9f2953bf6dc27960f3a6c!@mailstronghold-2.zmailcloud.com>
- References: <9d839f32-e456-045e-5372-b05b5510ba70@gmail.com> <WM!feac8b34acc61eba605a75d74631ee8ede6afaa7640ae0e8cd7125da3b0e1ab2629a6d8de581fa4d2d8ecd94372c70a1!@mailstronghold-1.zmailcloud.com> <4C4BC30AC646B3691A58116E@192.168.1.19> <CAARxGtj8b5bzkOtt8qQoCPh=Fyg5P+-JeVHvaEuRZyL==7+0jw@mail.gmail.com> <WM!12a8ed0e309de7b2311d33b30faaea8f0a7b1a603dad91c89f1716a98669134c72d098acb08ece8e9d7c8a9cb6f12f16!@mailstronghold-2.zmailcloud.com> <1B9342D9B4824860A82C5925@[192.168.1.19]> <b6790b82-f015-d3da-5300-e0e199be59a7@gmail.com> <WM!44ad0e380ee67a02e4d0d4461439cc67c76d8850ce4465b0ca5ddbc5fcadc3b8041b42450072f69bdcfa1c35f171a153!@mailstronghold-1.zmailcloud.com> <47F43B713E14E9A5BD0AB6A9@[192.168.1.19]> <877c954c-3401-f9aa-8514-952e479855a3@gmail.com> <WM!8ad33a3cebfb1ae8218218b749f12190e18affb1b3d313884200e48fc74ef069d99352210ba9f2953bf6dc27960f3a6c!@mailstronghold-2.zmailcloud.com>
--On Sunday, December 04, 2016 3:42 PM -0500 Brendan Kearney
<bpk678@gmail.com> wrote:
my line of thinking was that if mirror mode was not appropriate for multi
master replication, then i would remove the setting and eliminate the
item from my list of potential contributing factors. if mirror mode is
not needed, there are potential efforts and cpu cycles being spent on
doing work that is unnecessary or even detrimental to the performance of
slapd. i am looking make sure mirror mode is safe to remove from my
configs, so i can test the theory.
Hi Brendan,
Again, Mirror Mode is a concept, not a setting. The setting you refer to,
is, as I previously noted, misnamed. Either your servers are configured to
do multimaster replication, or they aren't.
The only time /any/ type of replication, whether it is multimaster or
provider/consumer, is really going to have an impact is if you have a
significant amount of sustained writes happening. So far, it sounds like
your traffic is almost entirely reads.
ReceivedAt SysLogtag Message
2016-11-15 20:35:05 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:05 slapd[1514]: connection_input: conn=6836
deferring operation: pending operations
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
2016-11-15 20:35:11 slapd[1514]: connection_input: conn=6836
deferring operation: too many executing
Yes, you'd need stats logging, and it appears that all of those were only
deferred for fractions of a second, which is why you see multiple messages
per second. So there's not really any indication here of a problem that I
can see.
i am running OpenLDAP: slapd 2.4.44 on fedora 24 using lmdb.
listener threads are the default of 1, and the value is not set.
I was asking about "threads/olcThreads", not the listener threads value.
That default is 16.
Regards,
Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>