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

Solution Verified - Updated -


  • 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.


  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In