tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul Reilly <pareilly@tcd.ie>
Subject: SUMMARY: Increasing Shared Memory: shmx ?
Date: Tue, 24 Sep 2002 16:51:01 +0100 (IST)	[thread overview]
Message-ID: <Pine.OSF.4.43L0.0209241647280.36709-100000@web2.tcd.ie> (raw)
In-Reply-To: <020201c263dd$f0d6dad0$0100a8c0@GRUMBLE>


Thanks to all for the quick responses.

The answer is to increase the 'shm_mni' attribute in the IPC subsystem.
Of course I looked at sys_attrs_proc and vm and general, just not ipc!
Responses follow:

--------------------------  start original quetsion ------------------------

Hi gurus,

I have a problem with an application in that it won't execute more than
about 127 times. I think the problem is allocating shared memory, as if
I run the shared memory excerciser "shmx" when near the 127 invocations,
it gives a fault,

shmx: Shmget[0] Fault: No space left on device

whereas on the same unloaded system 'shmx' works ok.
How do I increase the total available shared memory on a 5.1A system? In
4.0 there was a shmmni kernel parameter, but I can't see anything like
that in 5.1.

Any feedback appreciated !

Paul
-------------------------- end original quetsion ----------------------------

-------------------------------------------------------------------------------
From: Jan Mark Holzer
Subject: RE: Increasing Shared Memory: shmx ?


 You may want to increase shm_mni in the ipc subsystem.
 This parameter controls the maximum number of shared
 memory regions that can be used on the system at one
 time.

-------------------------------------------------------------------------------
From: "Ballowe, Charles"
Subject: RE: Increasing Shared Memory: shmx ?

there should be a shm_mni variable in the IPC section (dxkerneltuner
or sysconfig should be able to give you information about what it's
set to, sysconfigdb or dxkerneltuner to change it -- or edit your
/etc/sysconfigtab by hand, but that's not necessarily recommended)

man sys_attrs_ipc for information on the variables available in that
section -- note: the sys_attrs* pages are a great resource.

hope that helps
-charlie
-------------------------------------------------------------------------------
From: "Brusche, Johan"
Subject: RE: Increasing Shared Memory: shmx ?

Paul,

Please check the manpage sys_attrs_ipc and look for shm_mni.
Use the command "/sbin/sysconfig -q ipc shm_mni" to check for the
current setting.
sysconfig -Q, tells me you need to reboot to make a new value
in /etc/sysconfigtab effective.

Cheers,
   Johan.

-------------------------------------------------------------------------------
From: James W. Caldwell
Subject: Re: Increasing Shared Memory: shmx ?

Look in dxkerneltuner under "ipc" for shm***, alternatively
edit /etc/sysconfigtab by hand and add the shm_*** entries
in the ipc area.

jim


k



           reply	other threads:[~2002-09-24 15:51 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <020201c263dd$f0d6dad0$0100a8c0@GRUMBLE>]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox