From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: IPC semaphores Date: Tue, 07 May 2002 13:35:03 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <00cd01c1f5ed$878b9290$8315000a@shubertorg.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CA_01C1F5CB.FE4C3D20" X-Trace: main.gmane.org 1020794104 893 127.0.0.1 (7 May 2002 17:55:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 May 2002 17:55:04 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 1759B2-0000EH-00 for ; Tue, 07 May 2002 19:55:04 +0200 Original-Received: (qmail 14463 invoked by uid 5); 7 May 2002 17:35:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14414 invoked from network); 7 May 2002 17:35:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 7 May 2002 17:35:06 -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 <0GVR00C7S4UILF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 13:35:06 -0400 (EDT) Original-Received: from mailhost.Shubertorg.com ([207.246.208.40]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GVR00M0B4UHSE@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 13:35:05 -0400 (EDT) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.07) id A23044600DC; Tue, 07 May 2002 13:43:12 -0400 Original-To: Tru64 Mailing List X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:79 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:79 This is a multi-part message in MIME format. ------=_NextPart_000_00CA_01C1F5CB.FE4C3D20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok, I don't really know anything about semaphores, but I do know that = our system is running out of them. If we use ipcs to look at the = semaphores it shows that 498 are in use, and the kernel is set to only = use 512. We want to increase this number, but are unsure how to do = this. We were told by Envoy to increase the size of the sem-mni and = sem-mns values. So we looked into this, and are now even more confused. = I can't find any reference to "sem_mns" anywhere--it's not in any of = the man pages or in dxkerneltuner. So what is this attribute, and where = do you change it? And the "sem-mni" attribute is set to 400 at boot = time, but the current value is 512. Where did this current value come = from? The /etc/sysconfigtab file says 400 as well. So I'm wondering if = I increase the sem-mni to something else and boot it, will the 512 = number come back? Also, what would be a good number to change it to? =20 We don't usually have this many semaphores at all, only when we = experience some sort of network issue, and then the semaphores go up. = Any info would be great...I hope this makes some sort of sense to = someone out there.=20 BTW: system=3D ES45 Tru64 5.1a Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ------=_NextPart_000_00CA_01C1F5CB.FE4C3D20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Ok, I don't really know anything about = semaphores,=20 but I do know that our system is running out of them.  If we use = ipcs to=20 look at the semaphores it shows that 498 are in use, and the kernel is = set to=20 only use 512.  We want to increase this number, but are unsure how = to do=20 this.  We were told by Envoy to increase the size of the sem-mni = and=20 sem-mns values.  So we looked into this, and are now even more=20 confused.  I can't find any reference to "sem_mns" anywhere--it's = not in=20 any of the man pages or in dxkerneltuner.  So what is this = attribute, and=20 where do you change it?  And the "sem-mni" attribute is set to 400 = at boot=20 time, but the current value is 512.  Where did this current value = come=20 from?  The /etc/sysconfigtab file says 400 as well.  So I'm = wondering=20 if I increase the sem-mni to something else and boot it, will the 512 = number=20 come back?  Also, what would be a good number to change it = to? =20
We don't usually have this many = semaphores at all,=20 only when we experience some sort of network issue, and then the = semaphores go=20 up.  Any info would be great...I hope this makes some sort of sense = to=20 someone out there.
BTW:  system=3D   ES45 = Tru64=20 5.1a

Jonathan Williams
Unix Systems=20 Administrator
The Shubert Organization, = Inc.
------=_NextPart_000_00CA_01C1F5CB.FE4C3D20--