The 'log -a' option of the crash utility fails with an error message: log: cannot allocate any more memory!

Solution Verified - Updated -

Issue

  • The log -a option of the crash utility fails with an error message: log: cannot allocate any more memory!
crash> log -a
   buf_1K_used: 799
   buf_2K_used: 26
   buf_4K_used: 17
   buf_8K_used: 4
  buf_32K_used: 427
    buf_1K_ovf: 0
    buf_2K_ovf: 0
    buf_4K_ovf: 0
    buf_8K_ovf: 0
   buf_32K_ovf: 0
 buf_1K_maxuse:  2 of 10
 buf_2K_maxuse:  1 of 10
 buf_4K_maxuse:  1 of 5
 buf_8K_maxuse:  1 of 5
buf_32K_maxuse:  1 of 1
  buf_inuse[5]: [0][0][0][0][0]
      smallest: 16
       largest: 140733193388069
      embedded: 1
  max_embedded: 3
       mallocs: 28
         frees: 28
    reqs/total: 1303/281466399819471
  average size: 216014121120
log: cannot allocate any more memory!

Environment

  • Red Hat Enterprise Linux release 8
  • crash

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