Date: Fri, 13 Sep 2024 11:14:57 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 281471] ASLR: jemalloc RES memory keeps on increasing until process cores Message-ID: <bug-281471-227-ExVSkJKTkw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-281471-227@https.bugs.freebsd.org/bugzilla/> References: <bug-281471-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281471 --- Comment #4 from Rupesh Pilania <rupeshpilania@gmail.com> --- (In reply to Brooks Davis from comment #3) Thankyou for your reply. I will try after applying this patch. Tested with FreeBSD 14.1. Issue is not seen. sysctl -a | grep aslr kern.elf32.aslr.shared_page: 0 kern.elf32.aslr.stack: 0 kern.elf32.aslr.honor_sbrk: 0 kern.elf32.aslr.pie_enable: 0 kern.elf32.aslr.enable: 0 kern.elf64.aslr.shared_page: 1 kern.elf64.aslr.stack: 1 kern.elf64.aslr.honor_sbrk: 0 kern.elf64.aslr.pie_enable: 1 kern.elf64.aslr.enable: 1 vm.aslr_restarts: 0 rpilania@build-server-FBSD14:~ % ./mem-fragment Hello! This program will fragment its process heap. Run top -p 52296 to follow along! Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52296 rpilania 1 34 0 10M 1792K ttyin 3 0:00 0.00%=20 500k 5KB chunks were just provisioned Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52296 rpilania 1 58 0 2592M 2072M ttyin 3 0:02 0.00%=20 500k 5KB chunks were just provisioned Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52296 rpilania 1 68 0 5168M 4142M ttyin 3 0:04 0.00%=20 The first allocations were just free()'d. Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52296 rpilania 1 32 0 2618M 2097M ttyin 3 0:05 0.00%=20 The 2nd allocations were just free()'d. Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 52296 rpilania 1 31 0 68M 52M ttyin 3 0:05 0.00% --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281471-227-ExVSkJKTkw>