Solved

kernel tuning parameters--semaphore facility

Posted on 1999-01-11
3
389 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

937 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

4 Experts available now in Live!

Get 1:1 Help Now