[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Q: "deferring operation: too many executing" / "deferring operation: pending operations"



Dieter Klünter wrote:
> Am Mon, 10 Dec 2018 10:16:54 +0100
> schrieb "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>:
> 
>> Hi!
>>
>> I have a question for the following log messages:
>> slapd[2215]: connection_input: conn=144871 deferring operation: too
>> many executing slapd[2215]: connection_input: conn=144871 deferring
>> operation: pending operations slapd[2215]: connection_input:
>> conn=144871 deferring operation: pending operations
>>
>> What is "too many", i.e. where is that limit configured?
>> Is it possible to tell how many "pending operations" there are?
> 
> In fact bash(1) is the culprit, read bash(1) on ulimit.
> The reason most likely is too many filesystem I/O's requested, bad
> search filter design, too many operations on the same index database,
> etc.

No, ulimit has nothing to do with this.

No single connection is allowed to use more than half of the number of slapd threads. Once
that limit is reached on any connection, further ops on that connection are queued.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/