SUMMARY:Question on kernel value for "ipc: num-of-sems"

From: Chris Los <clos_at_trentu.ca>
Date: Tue, 19 Mar 2002 10:55:04 -0500

Thanks to all who responded to this question.

Looks like num-of-sems is obsolete according to the man pages.... and
"sem_mni" seems to address what i'm looking for.

Still not 100% sure on the system wide file limit. Guess I'll go with
the process based limits
of open_max_soft & open_max_hard for now and keep digging for the system
wide limit.


Here are all my responses....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   From: "Lavelle, Bryan" <Bryan.Lavelle_at_COMPAQ.com>

num-of-sems is obsolete. check out man sys_attrs_ipc for up to date
info.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


   From: "Fletcher, Joe" <joe.fletcher_at_Metapack.com>

Think you want sem_mni. And open_max_soft or open_max_hard for the file
limits.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


   From: "Dr. Thomas.Blinn_at_Compaq.com" <tpb_at_doctor.zk3.dec.com>
 
> Our application vendor has a kernel recommendation for "Max. num of
> semaphores" and i'd like to know if the Tru64 kernel value for "ipc:
> num-of-sems" is the correct corresponding parameter for this?
>
> I checked the Tru64 Tuning Guide doc but could not find a definition for
> "num-of-sems" any where.

That parameter is the one most likely to match what the vendor has in
mind. However, on my V4.0G system, the parameter is listed as being
"obsolete, no longer used". So it may no longer do anything at all,
in many cases the system has no effective upper limit, and that's what
the vendor is probably concerned about. (You did look at the reference
page sys_attrs_ipc and also at sys_attrs_proc, right?)
 
> Another one i'm looking for the vendor calls "Max. num. of system wide
> files". Would this be "proc: open-max-soft" or "proc: open-max-hard"?
>

I'm sure there is some system-wide limit on the number of open files,
but I don't know what it is. The limits in the "proc" subsystem are,
for the most part, per-process limits. I suspect that provided you
have them set high enough, your vendor's software will be happy.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   From:
         Shaukat Riaz <riaz_shaukat_at_hotmail.com>
     
     Hi, Yes these are the correct parameters
         They are also called shared memory and max number of open
         files. ref online system tuning manual v5.1

 Hi, If you go to sun documentation site
           http:.docs.sun.com
           you will find very good description of these parameters.
           search for "semaphore" or "ulimit"

           Regards

           Shaukat

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received on Tue Mar 19 2002 - 15:59:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT