Apache httpd consumes a lot of CPU when accessed by websocket applications running on iPhone and iPad

Solution Verified - Updated -

Issue

  • We have a websocket application being proxied by an Apache httpd to a backend server. We have noticed that if the application is accessed from an iPhone or iPad, if we close the browser or reload the page in the browser without disconnecting the application, Apache starts consuming lots of CPU, sometimes reaching 100% after a few tries. Only restarting the httpd server fixes the problem. The issue does not appear with other types of browsers like desktop or Android.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7
  • JBoss Web Server
    • 3.0
  • Apache httpd
    • 2.4.6
  • mod_proxy_wstunnel

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