Tuesday, March 6, 2012

httpd.worker consumes 100% CPU when FMW control accessed

After successful installation of :
Weblogic (10.3.4)
WebTier Utilities (11.1.1.4.0)

Created domain using config.sh at
$ORACLE_HOME/common/bin/
$ORACLE_HOME/bin/

Everything looked ok until we tried to access httpd.conf/dads.conf files from Fusion Middleware Control under ohs1=>Configuration=>Advanced Configuration. FMW control would just hang and would not show the .conf file. On the server top showed httpd.worker process consuming lot of resources. CPU was 100% and it was taking up memory as well.

At one point it consumed swap also and there was no other option than to power reboot the server.

2-3 times we were able to kill the httpd.worker process which was consuming 100% cpu and strangely fmw control would show the file as soon as the process is killed.


There was no error reported in any of the logs e.g. syslog, AdminServer logs, & ohs/webcache logs.

The only problem we noticed was the way /etc/hosts was configured.

It was configured in below format:

<ip address> <shortname> <fully qualified hostname>

We changed it to below format:

<ip address> <fully qualified hostname> <shortname>

Uninstalled Oracle software i.e. weblogic and webtier. And reinstalled.

And this time the problem went away.

We tried the same solution other 2 servers where we had same issue and /etc/hosts was configured wrongly. The solution worked on them too.

Hope this helps.

No comments:

Post a Comment