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.