This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/20425] unbalanced and poor utilization of memory in glibc arenas may cause memory bloat and subsequent OOM
- From: "sumeet.keswani at hpe dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 01 Aug 2016 15:51:20 +0000
- Subject: [Bug libc/20425] unbalanced and poor utilization of memory in glibc arenas may cause memory bloat and subsequent OOM
- Auto-submitted: auto-generated
- References: <bug-20425-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20425
--- Comment #6 from Sumeet Keswani <sumeet.keswani at hpe dot com> ---
Created attachment 9417
--> https://sourceware.org/bugzilla/attachment.cgi?id=9417&action=edit
Corrected Reproducer with tcl script for post-processing
attaching the corrected tarball....
The package contains the following files...
Makefile
pthread_arena.c
pthread_arena.exe
pthread_arena.exe.out
pthread_arena.exe.out.tcl.xls
malloc_stats.01.tcl
glibc-2.12.1.166 (dir)
glibc-2.12.1.192 (dir)
To compile
cc -Wall -g -pthread pthread_arena.c -o pthread_arena.exe
To run,
set the LD_LIBRARY PATH to the glibc you want and run with
e.g
LD_LIBRARY_PATH=./glibc-2.12.1-192 /pthread_arena.exe -iters 10 -stats
-threads 500 -maxSize 200 > pthread_arena.exe.out
to process the output
tclsh malloc_stats.01.tcl pthread_arena.exe.out > pthread_arena.exe.out.tcl.xls
--
You are receiving this mail because:
You are on the CC list for the bug.