redhat8 memleak

本文收集了多个关于Linux系统中内存泄漏的实际案例,包括不同版本内核和发行版下的问题解决办法。涉及Ubuntu Server、Linux Mint、Fedora等,通过升级内核版本或调整系统配置来解决内存使用异常增长的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下面是调研相关结果


https://superuser.com/questions/793192/invisible-memory-leak-on-linux-ubuntu-server-not-disk-cache-buffers

I upgraded the kernel version from 3.13 to 3.19 and it seems the memory leak has stopped! - I will report back if I see a leak again.


https://serverfault.com/questions/670423/linux-memory-usage-higher-than-sum-of-processes
Basic system info: Linux Mint 17, thinkpad T530 with BTRFS filesystem.
Upgrading Linux Mint from 17 to 17.1 and kernel to 3.16.0-30-generic resolved that issue :)


https://bugzilla.kernel.org/show_bug.cgi?id=13518
I first observed this bug with 2.6.30-rc8, while trying to reproduce #13375. After whole night of NFS activity  system becomes very slow, i blamed mozilla first, but now i think problem is deeper, at least slabtop clearly showed constantly growing kmalloc-96, without X at all.

Current /proc/meminfo (with NFS server active)


https://www.snbforums.com/threads/kmalloc-96-memory-leak-in-kernel.32970/page-2
kmalloc-96 - Memory leak in Kernel


https://www.linuxquestions.org/questions/linux-server-73/malloc-64-memory-leak-trashing-866074/
If you have Fedora 14 + HP ProLiant DL360 G7 X5650 2P or similar and you have the above issue, add teh following to grub.conf kernel line and it will possibly fix this for you:

apm=off acpi=off

But... as for WHY APM and ACPI tangles with this particular Proliant... I have no clue.

Hope this helps someone.


https://www.snbforums.com/threads/kmalloc-96-memory-leak-in-kernel.32970/
kmalloc-96 627 756 96 42 1 : tunables 0 0 0 : slabdata 18 18 0

Thanks. Both of you have very good usage of kmalloc-96. Interestingly both with BWDPI off..

下面的配置说明是好的。
uptime: 10 days 12 hours 14 minute(s) 20 seconds

kmalloc-96 627 756 96 42 1 : tunables 0 0 0 : slabdata 18 18 0

USB, Guest, TA, AiProtection, Adaptive QoS, all off, CTF on

AC68U/Merlin 380.59

https://bbs.archlinux.org/viewtopic.php?id=240381


loqs wrote:

    Is the issue present using linux 4.17.14.arch1-1?

No it wasn't.

After reverting back to 4.18+ I am still experiencing the memory leak. After a lot of experimentation, the leak still remains. I am still not sure which module is causing it. Could anyoune share their thoughts on what should be done next. I really don't want to switch to lts since my wifi does not work properly on it. I am thinking of building kedr on my system. Is there a better alternative?

转载于:https://www.cnblogs.com/longchang/p/11570640.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值