Dump Core files issue

In today’s post I am going to covers dump core issues.

Problem Description: This is the main production environment. The environment has Portal and Oracle Access Manager Products installed in different servers. OAM is using OID as user store. The Portal 11g application is accessible and working fine without SSO integration. The Portal 11g is integrated with OAM 10g. The Portal 11g is being configured with proxy Servers (front end webservers installed in DMZ zone) and Portal is accessible through proxy servers and through SSO integration also. But the problem is dump core getting create under potal webserver while accessing the application through webserver.

Cause: DMS support had an unworkable design for expanding its pool of shared memory after OHS initialization; specifically, it assumed that new segments would be mapped at the same address in all OHS child processes

Here is the workarounds for dump core file issue,

———————————-

1. Reinstalled the webgate.

2.upgrade the webgate batch version into 8.

3.copied GCC llibrary file from other working environment.

4.modified the GCC library into libstdc++.so.6 from libstdc++.so.5.

5.comment out webgate library files in http.conf file.

6.add following line in etc/security/limts.conf file

* soft core 0

* hard core *

7.Tuned the webserver.

a. Increase the KeepAliveTimeour from 5 to 10

b. Increase the MaxRequestsPerChild from 0 to 1000

c. Add the following modules:

LoadModule file_cache_module “${ORACLE_HOME}/ohs/modules/mod_fastcgi.so”

LoadModule deflate_module “${ORACLE_HOME}/ohs/modules/mod_deflate.so”

Above all workarounds went into negative.

After long investigation, we found the solution for the dump core file issues. Please find the detail below

If <variable id=”LD_ASSUME_KERNEL” value=”2.4.19″ /> must be set for OHS for one reason or the other. Turn on Apache MPM prefork instead of MPM worker. It allows to control the number of processes (httpd.prefork) to be create.

* in opmn.xml, add <data id=”mpm” value=”prefork”/> as:

<process-type id=”OHS” module-id=”OHS2″>

<environment>

<variable id=”LD_ASSUME_KERNEL” value=”2.4.19″ />

</environment>

<module-data>

<category id=”start-parameters”>

<data id=”start-mode” value=”ssl-enabled”/>

<data id=”mpm” value=”prefork”/>

</category>

* Save the changes and restart the OPMN and after that I have not seen any core files under webserver. I hope this post will help you.

About the Author sarath

An Oracle Identity and Access Management professional, having working on Oracle Access Manager Single Sign-On implementations, Installation/Configuration of Identity Server, Web Pass, Web Gate, Access Gate, Policy Manager, Access Server, Policy Domains, Authentication /Authorization schemes, Single Sign-On (single and multi-domain), OIM, OVD, OID, OAAM, OIF, High Availability/Failover/ SSL deployment.

Leave a Comment:

Not found