When using a more recent Apache version than the default 2.0.46 that ships with Red Hat Enterprise Linux 3.0, you may find that when configured for ColdFusion MX 6.1 (with or without Updater 1), the Apache httpd process chronically experiences high CPU utilization immediately and all page requests for cfm or htms hang.

I've seen the problem with either several httpd processes using around 19% or one httpd process using 98%, shown here:

CFMX 6.1 + Apache 2.0.47 (19.6% httpd, 5 processes)
-------------------------------------------
94 processes: 87 sleeping, 7 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 32.3% 0.0% 67.6% 0.0% 0.0% 0.0% 0.0%
Mem: 512276k av, 499104k used, 13172k free, 0k shrd, 12448k buff
363516k actv, 14500k in_d, 6828k in_c
Swap: 1044216k av, 25568k used, 1018648k free 389852k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
6214 nobody 25 0 1908 1908 1332 R 19.6 0.3 0:07 0 httpd
6215 nobody 25 0 1908 1908 1332 R 19.6 0.3 0:07 0 httpd
6216 nobody 25 0 1908 1908 1332 R 19.6 0.3 0:07 0 httpd
6217 nobody 25 0 1908 1908 1332 R 19.6 0.3 0:07 0 httpd
6218 nobody 25 0 1908 1908 1332 R 19.6 0.3 0:07 0 httpd
6223 root 15 0 1180 1180 928 R 1.9 0.2 0:00 0 top
1 root 15 0 184 156 132 S 0.0 0.0 0:04 0 init


CFMX 6.1 Updater 1 + Apache 2.0.47 (98% httpd, 1 process)
---------------------------------------------------------
15:45:14 up 70 days, 15:15, 1 user, load average: 1.06, 1.20, 1.30
94 processes: 91 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 25.4% 0.0% 74.5% 0.0% 0.0% 0.0% 0.0%
Mem: 512276k av, 482304k used, 29972k free, 0k shrd, 11096k buff
352960k actv, 15120k in_d, 6756k in_c
Swap: 1044216k av, 26088k used, 1018128k free 370460k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
6412 nobody 21 0 2000 1868 1376 R 98.0 0.3 0:05 0 httpd
1905 root 15 0 716 656 328 R 0.9 0.1 0:03 0 sshd
6417 root 15 0 1188 1188 928 R 0.9 0.2 0:00 0 top
1 root 15 0 184 156 132 S 0.0 0.0 0:04 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd


The pre-built connector that ships with CFMX 6.1 was tested with RHEL and the default Apache 2.0.46. When using a more recent version of Apache in that OS, some users may experience the high httpd CPU problem and requests for cfm or html will hang.

The solution for this is to rebuild the CFMX connector for Apache on your local system. The instructions for this are at "{coldfusionmx}/runtime/connectors/src/ApacheBuildInstructions.txt".

To help make this easier, I've written a script which can build the connector for you.
You can get it here: make_connector_from_source_apache2.tar.gz

Instructions for using the script:

1) Have coldfusion running
2) Stop apache
3) Have apache already configured with the original connector
4) Download the tar-zipped script
5) Extract it into {coldfusion}/bin/connectors/
6) Edit the script make_connector_from_source_apache2.sh
7) In the "SET SCRIPT VARS HERE" section, change the value of CFMX_HOME, CFMX_CONNECTOR, APACHE_BIN to make sure they are correct for your system.
8) Set the script to executable if not already (chmod u+x)
9) Run the script.
10) Test by browsing the ColdFusion Administrator