Oracle 5.0 Reference Manual page 1590

Table of Contents

Advertisement

Beginning with MySQL 5.0.36, this parameter takes one of the integer values 0, 1, or 2, which act as
follows:
• 0: Disables locking. This is the default value.
• 1: Performs the lock after allocating memory for the process.
• 2: Performs the lock before memory for the process is allocated.
Previously, this parameter was a Boolean.
or
enabled locking of the process after its memory was allocated.
1
true
Important
Beginning with MySQL 5.0.36, it is no longer possible to use
for the value of this parameter; when upgrading from a previous version, you
must change the value to 0, 1, or 2.
Note
If the operating system is not configured to permit unprivileged users to lock
pages, then the data node process making use of this parameter may have
to be run as system root.
mlockall
memory as limited by
ulimit -l
Important
Beginning with
contention on a shared pool, which consumes real memory. In general, a data
node process does not need per-thread arenas, since it does not perform any
memory allocation after startup. (This difference in allocators does not appear
to affect performance significantly.)
The
MALLOC_ARENA_MAX
prior to
that the wasted memory could not be reclaimed. (Bug #15907219; see also
http://sourceware.org/bugzilla/show_bug.cgi?id=13137
concerning this issue.)
One possible workaround for this problem is to use the
environment variable to preload a
take the place of that supplied with glibc.
StopOnError
Effective Version
MySQL 5.0.0
Restart Type: N
This parameter specifies whether a data node process should exit or perform an automatic restart
when an error condition is encountered.
This feature is enabled by default.
MySQL Cluster Configuration Files
or
0
(LockPagesInMainMemory
function. From Linux kernel 2.6.9, unprivileged users can lock
max locked
and http://linux.die.net/man/2/mlock).
2.10,
glibc
behavior is intended to be configurable via the
glibc
environment variable, but a bug in this this mechanism
2.16 meant that this variable could not be set to less than 8, so
glibc
Type/Units
boolean
1570
was the default setting, and disabled locking.
false
memory. For more information, see
uses per-thread arenas to reduce lock
glibc
memory allocation library to
jemalloc
Default
true
or
true
false
[1569]
uses the
for more information
LD_PRELOAD
Range/Values
true, false

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents