This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/15321] malloc/free can't give the memory back to kernel when main_arena is discontinous
- From: "ma.jiang at zte dot com.cn" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 21 Apr 2017 07:18:33 +0000
- Subject: [Bug malloc/15321] malloc/free can't give the memory back to kernel when main_arena is discontinous
- Auto-submitted: auto-generated
- References: <bug-15321-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15321
--- Comment #7 from ma.jiang at zte dot com.cn ---
Created attachment 10003
--> https://sourceware.org/bugzilla/attachment.cgi?id=10003&action=edit
test_case to show the peak memory usage retain after memory all freed
Hi all,
I have post a test to show the most dangerous impact of the bug(please make
sure you have more than 4G memory). In short, a process may keep the peak
physical memory usage when the bug occurred.
Imagine there were three daemon servers on a 8G-memory machine, the three
guys work for on same data pipeline to provide useful information. Assume each
of them use up to 4G memory, we know they will run happily as they were
designed to work serially. However, if this bug occurred unfortunately , one
of the three could not get enough memory, which lead to OOM or unacceptably
slow swap usage.
--
You are receiving this mail because:
You are on the CC list for the bug.