1747983 Members
4576 Online
108756 Solutions
New Discussion

Re: Issue with Glance

 
SOLVED
Go to solution
Mark Parsons
Valued Contributor

Issue with Glance

Hi - we are getting the following error(s) when trying to run Glance on HP11.31:

MI: Sun Aug 16 20:05:50 2020
mi_shared - MI initialization failed (status 5)
 
== Fatal Nums Error == 11.13.007 2013-10-01_2300  ==
User:   root              Date: Sun Aug 16 20:05:50
File:   /svn-share/BLR.ovpa.11.13.i/hp1123ipf/hpsw-oa/PA/numsVob/hp/11.0/nums.C   Line: 299   Product id: Glance
System: ushp032 B.11.31 ia64
Errno:  2 (No such file or directory)
 
Midaemon not responding [MI_SHARED:] -- Error Text follows
 
midaemon: Tue Feb  4 12:43:27 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol535,  /u82a5484
Not enough space.
midaemon: Tue Feb  4 12:43:27 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:27 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:27 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol534,  /u82a5483
Not enough space.
midaemon: Tue Feb  4 12:43:27 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:27 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:27 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol533,  /u82a5482
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:28 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol532,  /u82a5481
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:28 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol531,  /u82a5480
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:28 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol530,  /u82a5479
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_lfs_new - MI_SMA_strdup failed
midaemon: Tue Feb  4 12:43:28 2020
mi_vfs_new - file system structure allocation failed
Not enough space.
midaemon: Tue Feb  4 12:43:28 2020
mi_kd_smount - vfs structures allocation failed for /dev/vg032a1ph01/lvol529,  /u82a5478
Not enough space.
mi
== End of Error Msg =============================
 
However we believe the "not enough space" is a false alert and its an issue with shared memory (shmmax).
 
dmesg shows me this:

 dmesg | grep -i phy

    physical page size = 4096 bytes, logical page size = 4096 bytes

    Physical: 134106344 Kbytes, lockable: 102362192 Kbytes, available: 116367472

 Kbytes

And the current value for shmmax is 4398046511104

 

Can you let me know if this needs to be increased and how this is done and whether a reboot of the server is required.

Many thanks in advance.

5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Issue with Glance

The error message is a bit misleading. It sounds like your mountpoints are out of space.
But in reality, MIDAEMON has run out of memory to hold information about the listed mountpoints.

You can tell MIDAEMON to start with more space the rc script ovpa in /etc/rc.config.d.
Modify the line:

export MIPARMS=
 Add this option: -smdvss <value>
as in:
export MIPARMS="-smdvss 200M"

200M is just a suggestion. This system appears to be a large one with lots of lvols.



Bill Hassell, sysadmin
Mark Parsons
Valued Contributor

Re: Issue with Glance

Sorry - still getting same error.

ovpa looks like this:

MWA_START=1
MWA_START_COMMAND="/opt/perf/bin/mwa start"
MWA_PROTOCOL=http
export MIPARMS="-smdvss 200M"

Should I increase the 200M?

Bill Hassell
Honored Contributor
Solution

Re: Issue with Glance

Usually MIDAEMON will automatically request what it needs. You can try 400M, even 800M.
But check your kernel parameter for the maximum size for a shared memory segment: kctune shmmax

Note: smdvss is a limit for MIDAEMON.
What version of Glance and HP-UX are you running?

 



Bill Hassell, sysadmin
Mark Parsons
Valued Contributor

Re: Issue with Glance

Details are as follows:

[1]> kctune shmmax
Tunable Value Expression Changes
shmmax 4398046511104 4398046511104 Immed
ushp032:[opsroot]/u01/ltd/opsroot

HP-UX ushp032 B.11.31 U ia64 2470261150 unlimited-user license

HPOvGlanc-OAHPUX_00031 11.11.000 HP Performance

 

Mark Parsons
Valued Contributor

Re: Issue with Glance

Thanks Bill - I have updated the value to 800M:

export MIPARMS="-smdvss 800M"

All seems to be working.