Re: Possible memory leak on nfsd

Chen Chen via Bugspray Bot
2024-12-07T08:34:53Z

Chen Chen added an attachment on Kernel.org Bugzilla:

Created attachment 307330
dmesg of another 3 crashes

Since reporting I got another 3 crashes. All killed by nfsd.

First one:
[136965.765431] Out of memory and no killable processes...
[136965.765433] Kernel panic - not syncing: System is deadlocked on memory
[136965.766148] CPU: 2 PID: 1856 Comm: nfsd Kdump: loaded Tainted: G E 6.1.119-1.el9.elrepo.x86_64 #1
[136965.766852] Hardware name: Dell Inc. PowerEdge R740/0923K0, BIOS 2.22.2 09/12/2024
[136965.767546] Call Trace:
[136965.768230] <TASK>
[136965.768903] dump_stack_lvl+0x45/0x5e
[136965.769571] panic+0x10c/0x2c2
[136965.770231] out_of_memory.cold+0x2f/0x7e
[136965.770874] __alloc_pages_slowpath.constprop.0+0x707/0x9d0
[136965.771518] __alloc_pages+0x35d/0x370
[136965.772147] __alloc_pages_bulk+0x3e5/0x680
[136965.772766] svc_alloc_arg+0x81/0x1f0 [sunrpc]
[136965.773431] svc_recv+0x1f/0x190 [sunrpc]
[136965.774089] ? nfsd_inet6addr_event+0x110/0x110 [nfsd]
[136965.774726] nfsd+0x87/0xc0 [nfsd]
[136965.775347] kthread+0xe5/0x110
[136965.775926] ? kthread_complete_and_exit+0x20/0x20
[136965.776499] ret_from_fork+0x1f/0x30
[136965.777062] </TASK>

Second:
[167723.787640] WARNING: CPU: 3 PID: 1872 at mm/slab_common.c:957 free_large_kmalloc+0x5a/0x80
[167723.787667] Modules linked in: <cut here>
[167723.787874] CPU: 3 PID: 1872 Comm: nfsd Kdump: loaded Not tainted 5.14.0-503.15.1.el9_5.x86_64 #1
[167723.787882] Hardware name: Dell Inc. PowerEdge R740/0923K0, BIOS 2.22.2 09/12/2024
[167723.787886] RIP: 0010:free_large_kmalloc+0x5a/0x80

Third:
[ 3883.748094] ------------[ cut here ]------------
[ 3883.748105] WARNING: CPU: 9 PID: 1886 at mm/slab_common.c:957 free_large_kmalloc+0x5a/0x80
[ 3883.748131] Modules linked in: <cut here>
[ 3883.748339] CPU: 9 PID: 1886 Comm: nfsd Kdump: loaded Not tainted 5.14.0-503.15.1.el9_5.x86_64 #1
[ 3883.748342] Hardware name: Dell Inc. PowerEdge R740/0923K0, BIOS 2.22.2 09/12/2024
[ 3883.748344] RIP: 0010:free_large_kmalloc+0x5a/0x80

File: crash.log (text/plain)
Size: 31.77 KiB
Link: https://bugzilla.kernel.org/attachment.cgi?id=307330
---
dmesg of another 3 crashes