2017-12-13 09:05 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014215CentOS-7kernelpublic2017-11-30 22:37
Reporterdrew.coleman 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platformx86_64OSCentOSOS Version7.x
Product Version7.3.1611 
Target VersionFixed in Version 
Summary0014215: fanotify blocking non-thread safe processes, system unavailable
DescriptionReference this bug: https://bugzilla.kernel.org/show_bug.cgi?id=95131
Related bug: https://bugs.centos.org/print_bug_page.php?bug_id=11346

According to kernel bug 95131 there is a fix on 3.14, so it needs to be back ported to the 3.10.x kernel.
Steps To Reproduce(See above)

If you tail a log file that is modified by a non-thread safe process will stop working and cannot be exited using CTRL+C.
Additional InformationHere is an example from /var/log/messages:
 
Oct 26 23:57:31 kernel: INFO: task fsnotify_mark:33 blocked for more than 120 seconds.
Oct 26 23:57:31 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 26 23:57:31 kernel: fsnotify_mark D ffff8801b931be00 0 33 2 0x00000000
Oct 26 23:57:31 kernel: ffff8801b931bc90 0000000000000046 ffff8801b91aedd0 ffff8801b931bfd8
Oct 26 23:57:31 kernel: ffff8801b931bfd8 ffff8801b931bfd8 ffff8801b91aedd0 ffff8801b931bdd0
Oct 26 23:57:31 kernel: ffff8801b931bdd8 7fffffffffffffff ffff8801b91aedd0 ffff8801b931be00
Oct 26 23:57:31 kernel: Call Trace:
Oct 26 23:57:31 kernel: [<ffffffff8168c7f9>] schedule+0x29/0x70
Oct 26 23:57:31 kernel: [<ffffffff8168a239>] schedule_timeout+0x239/0x2c0
Oct 26 23:57:31 kernel: [<ffffffff810992f9>] ? mod_timer+0x149/0x220
Oct 26 23:57:31 kernel: [<ffffffff8168cbd6>] wait_for_completion+0x116/0x170
Oct 26 23:57:31 kernel: [<ffffffff810c54e0>] ? wake_up_state+0x20/0x20
Oct 26 23:57:31 kernel: [<ffffffff810b66d6>] __synchronize_srcu+0x106/0x1a0
Oct 26 23:57:31 kernel: [<ffffffff810b61f0>] ? call_srcu+0x70/0x70
Oct 26 23:57:31 kernel: [<ffffffff810b678d>] synchronize_srcu+0x1d/0x20
Oct 26 23:57:31 kernel: [<ffffffff81243997>] fsnotify_mark_destroy+0xa7/0x180
Oct 26 23:57:31 kernel: [<ffffffff810b1b20>] ? wake_up_atomic_t+0x30/0x30
Oct 26 23:57:31 kernel: [<ffffffff812438f0>] ? fsnotify_put_mark+0x40/0x40
Oct 26 23:57:31 kernel: [<ffffffff810b0a4f>] kthread+0xcf/0xe0
Oct 26 23:57:31 kernel: [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140
Oct 26 23:57:31 kernel: [<ffffffff81697758>] ret_from_fork+0x58/0x90
Oct 26 23:57:31 kernel: [<ffffffff810b0980>] ? kthread_create_on_node+0x140/0x140
Oct 26 23:57:31 kernel: INFO: task Mue_InUse:54914 blocked for more than 120 seconds.
Oct 26 23:57:31 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 26 23:57:31 kernel: Mue_InUse D ffff8801bbbe2e20 0 54914 8916 0x20020080
Oct 26 23:57:31 kernel: ffff8801a8747cd0 0000000000000086 ffff88019e228fb0 ffff8801a8747fd8
Oct 26 23:57:31 kernel: ffff8801a8747fd8 ffff8801a8747fd8 ffff88019e228fb0 ffff8801a8747e10
Oct 26 23:57:32 kernel: ffff8801a8747e18 7fffffffffffffff ffff88019e228fb0 ffff8801bbbe2e20
Oct 26 23:57:32 kernel: Call Trace:
Oct 26 23:57:32 kernel: [<ffffffff8168c7f9>] schedule+0x29/0x70
Oct 26 23:57:32 kernel: [<ffffffff8168a239>] schedule_timeout+0x239/0x2c0
Oct 26 23:57:32 kernel: [<ffffffff811dcab1>] ? __slab_free+0x81/0x2f0
Oct 26 23:57:32 kernel: [<ffffffff8168cbd6>] wait_for_completion+0x116/0x170
Oct 26 23:57:32 kernel: [<ffffffff810c54e0>] ? wake_up_state+0x20/0x20
Oct 26 23:57:32 kernel: [<ffffffff810b66d6>] __synchronize_srcu+0x106/0x1a0
Oct 26 23:57:32 kernel: [<ffffffff810b61f0>] ? call_srcu+0x70/0x70
Oct 26 23:57:32 kernel: [<ffffffff810b678d>] synchronize_srcu+0x1d/0x20
Oct 26 23:57:32 kernel: [<ffffffff812430ce>] fsnotify_destroy_group+0x1e/0x50
Oct 26 23:57:32 kernel: [<ffffffff812452e2>] inotify_release+0x22/0x50
TagsNo tags attached.
abrt_hash
URL
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-11-30 22:37 drew.coleman New Issue
+Issue History