mod_prctl (Linux only)

mod_prctl for IHS 2.0 is required to make core dumps possible with IHS 2.0 (releases up to and including 2.0.42.2) on Linux 2.4 kernels. This is in addition to requirements for configuring ulimits and CoreDumpDirectory as appropriate.

Supported server versions:

IHS 2.0.42, 2.0.42.1, 2.0.42.2 on Linux 2.4 kernels

This is not necessary on IHS 2.0.42.2-PQ85834 or higher.

(Note: The version of this module for IHS 1.3 is described here.)

IBM recommendation

Any IHS 2.0.42 user running on a Linux 2.4 kernel should have this module installed and activated.

Installation

Copy mod_prctl.so for your platform to the modules directory in the web server installation location (e.g., to /opt/IBMIHS/modules).

Activation

Add the following directive after existing LoadModule directives:

LoadModule prctl_module modules/mod_prctl.so

Restart the server so that the updated configuration takes effect.

As long as IHS initializes with no error messages, the module was successful. If you try to use it on a level of Linux that doesn't have the proper support, it may fail to load or it may log a run-time error such as the following:

[Tue Apr 22 14:42:04 2003] [alert] (22)Invalid argument: mod_prctl:
set dumpable failed - this child will not coredump after software
errors

The module does not affect request processing in any way. It does its work when new child processes are created and stays out of the way afterwards.

Deactivation

Comment out the LoadModule directive added as part of the activation step.

Restart the server so that the updated configuration takes effect.