I have recently discovered while updating my apache22 installation and subsequently apr1 from 1.4.2 to 1.4.4 that mod_jk now causes the apache server to consume 100% cpu and become unresponsive. I have tried recompiling mod_jk with the new apr but that did not help. Below is my environment information.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11241 www 1 114 0 61492K 11200K CPU0 0 0:53 78.96% httpd
11237 www 1 110 0 61492K 11276K RUN 1 0:40 66.26% httpd
11238 www 1 108 0 61492K 11276K RUN 0 0:50 56.05% httpd
Process takes up all resources and is unresponsive, no errors are logged. Removing mod_jk from apache solves the problem.
FreeBSD staging.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Mar 3 17:32:06 EST 2011 email@example.com:/usr/obj/usr/src/sys/STAGING amd64
Apache/2.2.18 (FreeBSD) mod_jk/1.2.31 PHP/5.3.6 with Suhosin-Patch mod_ssl/2.2.18 OpenSSL/0.9.8q