SAP Knowledge Base Article - Preview

3281130 - LNX: Server hangs at function call mutex_lock_slowpath

Symptom

===== INTERNAL USE ONLY =====

You notice the server gets hang on operating system level.
The issue gets resolved after rebooting the server.

Following call trace is found in the OS log (/var/log/messages):

kernel: INFO: task ABC_00_BTC_W171:26757 blocked for more than 120 seconds.
kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kernel: ABC_00_BTC_W171 D ffff8a2a76f05280     0 26757  25047 0x00000080
kernel: Call Trace:
kernel: [<ffffffff9f18d2f9>] schedule_preempt_disabled+0x29/0x70
kernel: [<ffffffff9f18b447>] __mutex_lock_slowpath+0xc7/0x1d0
kernel: [<ffffffff9f18a81f>] mutex_lock+0x1f/0x2f
kernel: [<ffffffff9ec5e0f8>] do_last+0x298/0x1340
kernel: [<ffffffff9ec5f26d>] path_openat+0xcd/0x5a0
kernel: [<ffffffff9ec614bd>] do_filp_open+0x4d/0xb0
kernel: [<ffffffff9ec6f607>] ? __alloc_fd+0x47/0x170
kernel: [<ffffffff9ec4d394>] do_sys_open+0x124/0x220
kernel: [<ffffffff9ec4d4ae>] SyS_open+0x1e/0x20
kernel: [<ffffffffc0788cf5>] tmhook_invoke.isra.8+0x45/0x90 [tmhook]
kernel: [<ffffffffc0788ee8>] tmhook_handler+0x1a8/0x2c0 [tmhook]
kernel: [<ffffffff9f199f92>] system_call_fastpath+0x25/0x2a

kernel: INFO: task ABC_00_BTC_W193:26776 blocked for more than 120 seconds.
kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kernel: ABC_00_BTC_W193 D ffff8a2b1e389080     0 26776  25047 0x00000080
kernel: Call Trace:
kernel: [<ffffffff9f18d2f9>] schedule_preempt_disabled+0x29/0x70
kernel: [<ffffffff9f18b447>] __mutex_lock_slowpath+0xc7/0x1d0
kernel: [<ffffffff9f18a81f>] mutex_lock+0x1f/0x2f
kernel: [<ffffffff9f183146>] lookup_slow+0x33/0xa7
kernel: [<ffffffff9ec5d61e>] path_lookupat+0x89e/0x8d0
kernel: [<ffffffff9ec58f97>] ? path_get+0x27/0x30
kernel: [<ffffffff9ec5d67b>] filename_lookup+0x2b/0xc0
kernel: [<ffffffff9ec61387>] user_path_at_empty+0x67/0xc0
kernel: [<ffffffff9ec613f1>] user_path_at+0x11/0x20
kernel: [<ffffffffc0cb8fda>] bmhook_get_file_info_from_upath+0x5a/0xf0 [bmhook]
kernel: [<ffffffffc0cb3b3e>] tmbpf_get_file_info_from_upath+0xe/0x20 [bmhook]
kernel: [<ffffffff9f039396>] ? sock_sendmsg+0xb6/0xf0
kernel: [<ffffffff9ebee7aa>] ? __do_fault.isra.61+0x8a/0x100
kernel: [<ffffffffc0cc465c>] ? bmhook_prehook_handler+0x14c/0x3d0 [bmhook]
kernel: [<ffffffffc0788c4c>] ? tmhook_invoke_prehooks+0x4c/0xb0 [tmhook]
kernel: [<ffffffffc0788ec9>] ? tmhook_handler+0x189/0x2c0 [tmhook]
kernel: [<ffffffff9f199f92>] ? system_call_fastpath+0x25/0x2a 

 
* The stack tmhook and bmhook are from the anti-virus software "Trend micro". 


Read more...

Environment

  • SAP system on Linux server

Keywords

schedule_preempt_disabled, mutex_lock_slowpath, path_openat, lookup_slow, tmhook_invoke, tmhook_handler, bmhook_get_file_info_from_upath, tmbpf_get_file_info_from_upath, bmhook_prehook_handler, tmhook_invoke_prehooks , KBA , BC-OP-LNX , Linux , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.