Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

kernel tuning parameters--semaphore facility

Posted on 1999-01-11
3
Medium Priority
?
396 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 400 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

688 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