Delay in sys_keyctl() syscall when executing sudo, su or login via ssh in RHEL6

Solution In Progress - Updated -

Issue

Sometimes on some systems running RHEL6 there is a variable delay when userspace executes "sudo" or "su" or user tries to login via ssh. Delay can be from few milliseconds and up to 10 seconds and not constant but changes during different attempts.
In this issue userspace tool like strace can be used to narrow down the problem to sys_keyctl() syscall that handled by kernel. Thus delay is caused by kernel while handling this syscall.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content