The accounts-daemon consumes high CPU usage due to the large wtmp file.

Solution Verified - Updated -

Issue

  • Accounts-daemon consumes high CPU. This is a system with very frequent SSH logins.
# top
<skip...>
PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                            
1501 root      20   0 1763796   1.2g   8544 R 100.0   2.3  15545:18 accounts-daemon
1175 dbus      20   0   85020   7704   5540 S   6.2   0.0   1012:02 dbus-daemon

Environment

  • Red Hat Enterprise Linux 8
  • accountsservice
  • wtmp

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