From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Reilly Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Increasing Shared Memory: shmx ? Date: Tue, 24 Sep 2002 16:51:01 +0100 (IST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <020201c263dd$f0d6dad0$0100a8c0@GRUMBLE> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1032882701 26717 127.0.0.1 (24 Sep 2002 15:51:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2002 15:51:41 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17tryN-0006wc-00 for ; Tue, 24 Sep 2002 17:51:39 +0200 Original-Received: (qmail 5270 invoked by uid 5); 24 Sep 2002 15:51:34 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 5261 invoked by uid 49493); 24 Sep 2002 15:51:34 -0000 Original-Received: from pareilly@tcd.ie by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-5.1/5.0):. Processed in 0.437951 secs); 24 Sep 2002 15:51:34 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 24 Sep 2002 15:51:33 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2Y001ER9DV7W@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Sep 2002 11:51:33 -0400 (EDT) Original-Received: from web2.tcd.ie (iss.tcd.ie [134.226.1.115]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2Y0045A9D8YK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Sep 2002 11:51:09 -0400 (EDT) Original-Received: by web2.tcd.ie (Postfix, from userid 20805) id 46DE2B0C; Tue, 24 Sep 2002 16:51:03 +0100 (IST) Original-Received: from localhost (localhost [127.0.0.1]) by web2.tcd.ie (Postfix) with ESMTP id 77068BF0 for ; Tue, 24 Sep 2002 16:51:02 +0100 (IST) In-reply-to: <020201c263dd$f0d6dad0$0100a8c0@GRUMBLE> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1829 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1829 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