RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1285901 - nunc-stans creates additional thread pool
Summary: nunc-stans creates additional thread pool
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-26 23:00 UTC by Viktor Ashirov
Modified: 2015-12-22 21:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-22 21:34:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Viktor Ashirov 2015-11-26 23:00:40 UTC
Description of problem:
Build 389-ds-base-1.3.4.0-21.el7_2.x86_64:
# tail -n1 /etc/profile
export MAX_THREADS=100

nsslapd-threadnumber: 30
nsslapd-enable-nunc-stans: off

# ps huH p $(pidof ns-slapd) | wc -l
41

nsslapd-enable-nunc-stans: on
# ps huH p $(pidof ns-slapd) | wc -l
72

# ldapsearch -h localhost -D "cn=Directory Manager" -w Secret123 -b "cn=monitor" -s base  threads  -LLL
dn: cn=monitor
threads: 30

On the older version (389-ds-base-1.3.4.0-19.el7.x86_64):

nsslapd-enable-nunc-stans: off
# ps huH p $(pidof ns-slapd) | wc -l
41

nsslapd-enable-nunc-stans: on
# ps huH p $(pidof ns-slapd) | wc -l
142

# ldapsearch -h localhost -D "cn=Directory Manager" -w Secret123 -b "cn=monitor" -s base  threads  -LLL
dn: cn=monitor
threads: 30

Looks like nunc-stans created additional thread pool (30 + 100 + 12 service threads). And on a new version it's 30 + 30 + 12.

Comment 1 mreynolds 2015-12-22 21:34:28 UTC
Nunc-stans creates its own event catching thread pool, and it uses the DS thread number config setting.  So you should see double the number of threads.

Closing this out as not a bug, feel free to reopen it if I missed something.


Note You need to log in before you can comment on or make changes to this bug.