Issue 2404 - thread ctx, bdb search stack
Summary: thread ctx, bdb search stack
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 23:18 UTC by Howard Chu
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2003-03-26 23:18:33 UTC
Full_Name: Howard Chu
Version: 2.1.16, HEAD
OS: Linux
URL: 
Submission from: (NULL) (67.115.65.234)
Submitted by: hyc


Argh... The BDB search stack management assumes there is a 1-1 correspondence
between threads and thread contexts. This unfortunately isn't the case, the
thread pool creates a new context whenever a job is submitted to it and the pool
is backlogged. These contexts are on a queue and handed off to the next
available thread. In cases where more requests are queued than there are
threads, we wind up malloc'ing more search stacks than intended. Major pain...

Comment 1 Howard Chu 2003-03-27 00:40:47 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Howard Chu 2003-03-27 04:46:17 UTC
changed notes
changed state Test to Release
Comment 3 Kurt Zeilenga 2003-04-04 23:23:02 UTC
changed notes
changed state Release to Closed
Comment 4 Howard Chu 2006-06-11 08:55:46 UTC
moved from Software Bugs to Archive.Software Bugs
Comment 5 OpenLDAP project 2014-08-01 21:06:27 UTC
fixed in HEAD
fixed in re21