1832990 Members
2419 Online
110048 Solutions
New Discussion

error

 
rajeevkammath
Occasional Contributor

error

vmunix: mlock_region failed..error comes in
hp9000/800/L1000-44
os is HP-UX b.11.00
3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: error

HI

Check here:-

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=369606

paula
If you can spell SysAdmin then you is one - anon
Sundar_7
Honored Contributor

Re: error

This error message is reported because the system is running out of
"lockable memory".
Either tune "unlockable_mem" to an appropriate value, or find kernel
parameters that might be set too large and reduce them.

The "unlockable_mem" defines the minimum amount of memory that is to always
remain available for virtual memory management and system overhead.
Increasing the amount of unlockable memory decreases the amount of lockable
memory because:

total available system memory - unlockable_mem = lockable memory

The "unlockable_mem" kernel parameter is set to "0" by default which means
the system will set it to an appropriate value. This value is calculated
by the system as:

unlockable_mem = 200 + (UPAGES/2) * nproc

with UPAGES being 4Kbytes.


Increasing the kernel parameter nproc increases unlockable_mem. The default
value of nproc is calculated based on maxusers. If either nproc or maxusers
are set too high, not enough lockable memory may be left, causing the above
lock error.

Use the "sar -v" command or glance to compare the current usage
of nproc to the actual kernel parameter value. Then either lower nproc
or maxusers, or set unlockable_mem to a reasonable value.
Learn What to do ,How to do and more importantly When to do ?
Sanjiv Sharma_1
Honored Contributor

Re: error