Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1443973

Summary: glibc: Remove the PID cache
Product: Red Hat Enterprise Linux 7 Reporter: Florian Weimer <fweimer>
Component: glibcAssignee: glibc team <glibc-bugzilla>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: ashankar, codonell, fweimer, lnykryn, mnewsome, pfrankli, tomek
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1443976 1563115 (view as bug list) Environment:
Last Closed: 2018-04-04 13:02:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1443976, 1476297, 1491416    
Bug Blocks:    

Description Florian Weimer 2017-04-20 11:16:50 UTC
The glibc PID cache negatively interacts with setting up containers and namespaces.

Upstream commit:

commit c579f48edba88380635ab98cb612030e3ed8691e
Author: Adhemerval Zanella <adhemerval.zanella>
Date:   Mon Oct 10 15:08:39 2016 -0300

    Remove cached PID/TID in clone

Comment 1 Lukáš Nykrýn 2017-07-11 15:14:56 UTC
According to upstream this could cause a serious performance regression in journalctl. Once you have a build can you please ping me?

https://lists.freedesktop.org/archives/systemd-devel/2017-July/039195.html

Comment 2 Lukáš Nykrýn 2017-07-11 15:17:06 UTC
Hmm actually is not just journalctl but everything that uses journal api. This can hurt rsyslog as well.

Comment 3 Carlos O'Donell 2017-07-11 15:31:57 UTC
(In reply to Lukáš Nykrýn from comment #2)
> Hmm actually is not just journalctl but everything that uses journal api.
> This can hurt rsyslog as well.

Are you able to try Fedora 26? It was released with glibc 2.25 which contains the removed cache.

Comment 4 Lukáš Nykrýn 2017-07-12 08:31:14 UTC
I have not tried it yet, but based to the thread the same problem is in fedora:
https://lists.freedesktop.org/archives/systemd-devel/2017-July/039269.html

Comment 11 Florian Weimer 2018-04-04 13:02:41 UTC
Closing as WONTFIX because the change is deemed to disruptive for Red Hat Enterprise Linux 7.  See bug 682922 comment 33.