Memory allocation failure after creating many diskgroups on HPUX

book

Article ID: 100027476

calendar_today

Updated On:

Description

Error Message

vxassist -g dg_emc0_0bc8 make vol1 1m
VxVM vxassist ERROR V-5-1-10128  Memory allocation failure
 

Cause

Whilst Volume Manager (VxVM) itself has no limit on the number of diskgroups or object in use, there is an upper limit to the amount of memory available to the vxconfigd daemon.

Resolution

Each diskgroup requires approximately 4MB of memory. Each lun presented requires approximately 0.1MB of memory. Each object (e.g. volume, plex, subdisk) requires approximately 0.005MB of memory.

For HPUX platform:

 VxVM versions prior to 5.1SP1, vxconfigd was limited to 1GB of memory.

At VxVM version 5.1SP1 changes were made to increase this limit to 2GB  for PA-RISC architecture and 4GB for IA  architecture.

To be able to use this increased amount of memory the kernel tunable 'maxdsiz' must be increased, for example:

kctune maxdsiz=4294963200

Therefore, on IA architecture at version 5.1SP1 and above, the maximum number of diskgroups that may be imported at one time is around 1000. It should be noted that the actual number that can be achieved is likely to be lower than this, as vxconfigd requires memory for other tasks.


Applies To

HPUX 11.31

Issue/Introduction

After creating or importing many diskgroups, VxVM commands fail due to insufficient memory.