Requests are considerably delayed by mod_jk's worker maintenance

Solution Verified - Updated -

Issue

  • We use mod_jk and see requests delayed through the httpd/mod_jk proxy. Debug logging suggests a lot of time is spent in worker maintenance before ever proxying the request, for example:
[Tue Nov 25 12:17:14 2014][3472:140704287799264] [debug] wc_maintain::jk_worker.c (338): Maintaining worker node1
[Tue Nov 25 12:18:44 2014][3472:140704287799264] [debug] wc_maintain::jk_worker.c (338): Maintaining worker loadbalancer
[Tue Nov 25 12:20:44 2014][3472:140704287799264] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'lb'
[Tue Nov 25 12:20:44 2014][3472:140704287799264] [debug] init_ws_service::mod_jk.c (1097): Service protocol=HTTP/1.1 method=GET ssl=true host=(null) addr=127.0.0.1 name=localhost port=8443 auth=(null) user=(null) laddr=127.0.0.1 raddr=127.0.0.1 uri=/app

Environment

  • Apache httpd
  • mod_jk

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.