New: OOM deadlock
Andrew Morton
maintainer(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
Quoted 58 lines · On Wed, 19 Jun 2013 08:03:23 +0000 (UTC) [email protected]…
https://bugzilla.kernel.org/show_bug.cgi?id=59901
Summary: OOM deadlock
Product: Memory Management
Version: 2.5
Kernel Version: v3.10-rc6
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: NoApparently with kernel v3.10-rc6 when triggering an OOM enough times the mm subsystem locks up (haven't tried any other kernel versions yet). Leaving the following script running for a few minutes is sufficient to trigger the lockup:
#!/bin/bash
swapoff -a
while true; dofree="$(free | sed -n 's|.*buffers/cache:[[:blank:]]*[^[:blank:]]*[[:blank:]]*||p')" for ((i=free-15000;i<free;i+=1000)); do echo "size $i KB ..." dd if=/dev/zero of=/dev/null bs=${i}K count=1 donedone
When the lockup occurs sometimes the following kernel messages are generated:
[ 840.360097] INFO: task rtkit-daemon:1538 blocked for more than 120 seconds. [ 840.360117] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this [ 840.360122] rtkit-daemon D ffffffffffffffff 0 1538 1 0x00000000 [ 840.360129] ffff880029d19dc0 0000000000000046 ffff880029d10000 ffff880029d19 [ 840.360136] ffff880029d19fd8 ffff880029d19fd8 ffff880036dc0000 ffff880029d10 [ 840.360142] ffff880029d10000 ffff88003bc347f0 ffff88003bc347f8 ffff88003bc34 [ 840.360149] Call Trace: [ 840.360158] [<ffffffff8152b9e9>] schedule+0x29/0x70 [ 840.360162] [<ffffffff8152c415>] rwsem_down_write_failed+0xe5/0x190 [ 840.360167] [<ffffffff8108046d>] ? sched_clock_local+0x1d/0x90 [ 840.360173] [<ffffffff81245d23>] call_rwsem_down_write_failed+0x13/0x20 [ 840.360177] [<ffffffff8152a1aa>] ? down_write+0x9a/0xc0 [ 840.360182] [<ffffffff811330e4>] ? vm_mmap_pgoff+0x54/0xb0 [ 840.360186] [<ffffffff811330e4>] vm_mmap_pgoff+0x54/0xb0 [ 840.360190] [<ffffffff8114561b>] SyS_mmap_pgoff+0x5b/0x280 [ 840.360194] [<ffffffff81245dbe>] ? trace_hardirqs_on_thunk+0x3a/0x3f [ 840.360198] [<ffffffff81006882>] SyS_mmap+0x22/0x30 [ 840.360208] [<ffffffff815367d9>] system_call_fastpath+0x16/0x1b [ 840.360211] 1 lock held by rtkit-daemon/1538: [ 840.360213] #0: (&mm->mmap_sem){++++++}, at: [<ffffffff811330e4>]
Quoted 6 lines
vm_mmap_pSignature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>