Apache HTTPD High CPU Usage in apr_brigade_cleanup

Solution Unverified - Updated -

Issue

  • I am seeing high CPU usage by an httpd process due to spinning/looping in apr_brigade_cleanup.
  • Multiple pstack output shows same httpd process hanging in apr_brigade_cleanup. It is causing high CPU usage.
#0  0x00007f5b307b1696 in apr_brigade_cleanup () from /usr/lib64/libaprutil-1.so.0
#1  0x00007f5b2fdc192e in apr_pool_destroy () from /usr/lib64/libapr-1.so.0
#2  0x00007f5b2fdc1b75 in apr_pool_clear () from /usr/lib64/libapr-1.so.0
#3  0x00007f5b312ff55a in ?? ()
#4  0x00007f5b2fb93aa1 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f5b2f8e093d in clone () from /lib64/libc.so.6

Environment

  • Red Hat JBoss Enterprise Application 6.x
  • Apache HTTPD 2.2.26

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