[Rpm-maint] [rpm-software-management/rpm] Rpm query causes corruption in the file-backed mmaped bdb regions (#232)

zhangjianwei notifications at github.com
Thu Nov 21 09:55:27 UTC 2019


Recently, I have encountered similar problems in my CentOS 7 environment.
`[root at controller-3 ~]# uname -a
Linux controller-3 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root at controller-3 ~]# cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
[root at controller-3 ~]# rpm -q rpm
rpm-4.11.3-32.el7.x86_64
[root at controller-3 ~]# rpm -q libdb
libdb-5.3.21-24.el7.x86_64`

But I can't reproduce it!

This is the context of the problem at the scene:
1. There are 8 processes running concurrently exec rpm -q software.xxx;
2. Each process generates 8  rpm -q software.xxx in 1 minute;
3. It's been running for half a year;
4. Millions of rpm -q software.xxx processes have been generated on CentOS 7;
5. memory exhaustion;
6. after recovery rpmdb (/var/lib/rpm),  OS recovery;


I really want to know the root cause of this problem!!!
Can you tell me?

Thank you very much!



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/232#issuecomment-557007863
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191121/7e4d9cca/attachment.html>


More information about the Rpm-maint mailing list