HP-UX Reference (11i v2 03/08) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

c
core_addshmem_write(5) core_addshmem_write(5)
(Tunable Kernel Parameters)
NAME
core_addshmem_write - determines the inclusion of read/write shared memory in process core dump
VALUES
Failsafe
0 (off)
Default
0 (off)
Allowed values
1 (on) or 0 (off)
DESCRIPTION
The
core_addshmem_write
tunable was added in response to a problem where a customer was lim-
ited in debugging a user-level process crash because shared memory segments were not written as part of
the core file.
Upon core dump, the sections of user memory labeled as shared read-write are written (along with the
normal data sections) if this tunable is set to
1 (on), and left out if it is set to 0 (off).
Who is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Value of This Tunable Be Raised?
When you wish to include read-write shared memory segments in user core files due to debugging needs
by developers or maintainers on the system.
What Are the Side Effects of Raising the Value?
User process core files would increase in most cases (most applications use at least some shared memory).
This could be a problem on systems where disk space is at a premium.
When Should the Value of This Tunable Be Lowered?
When there is no need for debugging core files where shared memory corruption or data values are in
question.
What Are the Side Effects of Lowering the Value?
Core files will tend to be smaller.
What Other Tunable Values Should Be Changed at the Same Time?
Certainly think about
core_addshmem_read, which does the same thing for read-only shared memory
segments.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its
meaning changed in future releases of HP-UX.
AUTHOR
core_addshmem_write was developed by HP.
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 5−−53