UnixPedia : HPUX / LINUX / SOLARIS: HPUX : Unable to allocate MI shared memory (midaemon )

Wednesday, February 13, 2013

HPUX : Unable to allocate MI shared memory (midaemon )

Unable to allocate MI shared memory (midaemon )

 

more /var/opt/perf/status.mi

 

Unable to allocate MI shared memory. The current MI shared memory size is

too small. Possible MI subclass overflow (too  many processes, threads,

transactions, etc.) Further allocation errors will be suppressed. Terminate

the midaemon and restart using the -smdvss option. For more details see the

midaemon man page.

Add_to_freelist fails: ENOMEM

 

#-> cp -p /etc/rc.config.d/ovpa  /etc/rc.config.d/ovpa.backup

#-> vi /etc/rc.config.d/ovpa

"/etc/rc.config.d/ovpa" 25 lines, 1037 characters

#!/sbin/sh

# @(#)ovpa config     11.00.020       25FEB2010

#

# OpenView Performance Agent (ovpa) startup control

#

# To execute the scopeux daemon automatically at boot time, ensure the

# MWA_START variable below is set to 1.  Any other value will disable

# scopeux execution at bootup.  For values other than 1, scope can be

# started after bootup is complete with the /opt/perf/bin/mwa script.

#

# To start up OpenView Performance Agent with special options, change the

# MWA_START_COMMAND from its default value of "/opt/perf/bin/mwa start"

# to the desired value.  For example, to start up scope but not the

# servers change the value to "/opt/perf/bin/mwa start scope".

#

# WARNING: BE SURE TO MAINTAIN "" AROUND THE START COMMAND STRING

#          OR THE SCRIPT WILL NOT WORK!!!

#

# This file originally has MWA_START set to 1 because it is assumed

# that the user will edit the /var/opt/perf/parm file to suit their

# environment prior to system boot.

#

MWA_START=1

MWA_START_COMMAND="/opt/perf/bin/mwa start"

MWA_PROTOCOL=http

export MIPARMS

MIPARMS="-p -pids 18000 -kths 18000 -bufsets 16 -skipbuf 8 -smdvss 160M"

~

~

"/etc/rc.config.d/ovpa" 27 lines, 1125 characters

 

#-> mwa stop all
#-> mwa start all

 

#-> mwa status

Perf Agent status:

    Running scopeux               (Perf Agent data collector) pid 12565

    Running midaemon              (Measurement Interface daemon) pid 12554

    Running ttd                   (ARM registration daemon) pid 16780

 

Perf Agent Server status:

 

    Running ovcd                  (OV control component) pid 16838

    Running ovbbccb               (BBC5 communication broker) pid 16867

    Running coda                  (perf component) pid(s) 16935

    Running perfalarm             (alarm generator) pid(s) 12584

 

#-> ps -ef |grep -i midaemon

    root 12554     1 65 08:39:35 ?         0:02 /opt/perf/bin/midaemon -p -pids 18000 -kths 18000 -bufsets 16 -skipbuf 8 -smdvss 160M

    root 12908 24122  1 08:39:54 pts/2     0:00 grep -i midaemon

 

================

 

No comments:

Post a Comment