From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622781.tru64-unix-managers.marc@archive.invalid> From: Chris Los Date: Tue, 19 Mar 2002 15:55:04 +0000 To: tru64-unix-managers Subject: SUMMARY:Question on kernel value for "ipc: num-of-sems" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622781 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" num-of-sems is obsolete. check out man sys_attrs_ipc for up to date info. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Fletcher, Joe" Think you want sem_mni. And open_max_soft or open_max_hard for the file limits. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Dr. Thomas.Blinn@Compaq.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 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~