Solved

kernel tuning parameters--semaphore facility

Posted on 1999-01-11
3
388 Views
Last Modified: 2013-12-27

How do the ipc tuning parameters relate? Specifically, I have an application that suggests I boost semmni up to "a large value". If I boost semmni, what else should I boost?

What is a reasonable figure for "a large value"?

This particular app is IBM MQ Series v5, under Solaris 2.5.1 on an UltraSparc with 256 MB memory, but I have seen similar vague instructions on other OS's/applications.

Thanks,
Kai.
0
Comment
Question by:kai_hintze
3 Comments
 

Expert Comment

by:procguy
ID: 2008679
Kai,

Any excellent series of articles on shared memory and semaphores under Solaris appeared in SunWorld magazine in Sept & Oct '97.

The links are as follows:

http://www.sunworld.com/sunworldonline/swol-09-1997/swol-09-insidesolaris.html

and

http://www.sunworld.com/swol-10-1997/swol-10-insidesolaris.html

Read these and you'll obtain a good understanding of how to tune the OS for an app or apps.

If you have any questions, I'll help the best I can.  I'm betting at tuning for Web servers and databases though, but the principles are the same.

procguy

0
 

Author Comment

by:kai_hintze
ID: 2008680
Bingo. I had found a couple of other SunWorld articles lauding the dynamic memory allocation in Solaris 2.5.1 so that tuning wasn't necessary, but I knew that couldn't be the whole story, or why weren't the programs working. These articles give some useful guidelines.

Thanks!

0
 
LVL 3

Accepted Solution

by:
bluepet earned 200 total points
ID: 2008681
hae you try setting the pt_cnt to higher value.... certain program won't run if the pseudo-ttys is too low

set the pt_cnt to higher value

set pt_cnt=100  

the default value is 48

check your kernel parameter by typing sysdef

however always a good practice to backup your /etc/system before changing anything....
the change to 100 should not do anything bad to your system...  

hope that help
bluepet
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now