![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kernel parameters. | bhagat.singh-j | HP-UX | 1 | 01-28-2008 05:58 AM |
| tuning kernel parameters | JamesByars | UNIX for Advanced & Expert Users | 4 | 01-13-2008 05:25 PM |
| How to tune kernel Parameters in Solaris 10,9 & how to measure performance | neel.gurjar | SUN Solaris | 2 | 09-18-2007 09:42 AM |
| Need to look at Kernel parameters | impunchdrunk | HP-UX | 3 | 07-04-2007 03:12 AM |
| kernel parameters | malcqv | HP-UX | 2 | 11-27-2006 08:09 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Kernel Parameters in Solaris 10
Hello,
Can anyone point me out as to how to set the following parameters in Solaris Kernel: set semsys:seminfo_semmni=16384, set semsys:seminfo_semmns=32768,set semsys:seminfo_semmsl=1024, set semsys:seminfo_semmnu=16384,set semsys:seminfo_semume=1024, set shmsys:shminfo_shmmax=4294967295,set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=16384,set shmsys:shminfo_shmseg=1024,set msgsys:msginfo_msgmax=65536, set msgsys:msginfo_msgmni=1024,set msgsys:msginfo_msgmnb=524288, set msgsys:msginfo_msgtql=107520, set semsys:seminfo_semopm=250, set semsys:seminfo_semvmx=32767, set maxphys=8388608 my problem is that we had a Solaris 8 server, and now was re-done with Solaris 10, and it has some problems with the print queue, the same issue was on Solaris 8 and the mentioned parameters were the ones configured and fixed the problem... but my issue would be how to prove to my boss that the kernel parameters are ok, and this way he can focus on the Application side (database maybe??). So maybe you can help me out with the following two questions: 1.-Is there a way to find out the current parameter values in SOLARIS 10, so that I can compare the current parameter values that I have from the old solaris 8. 2.-Were the OBSOLETE parameters in SOLARIS 10 changed for something else (another type of parameter maybe??) or something that equals them?? I'm kind of new, tried finding some info and this is what I was told but no luck, the os is SOLARIS 10: Just put these settings in /etc/system, however you probably don't need to set most if not all of them. They are either removed from or obsolete in Solaris 10. Checked out the following page and found out that most of the paremeters mentioned are either obsolete or removed in solaris 10. so According to Suns Docs, these are the only ones that are not obsolete: set semsys:seminfo_semmni=16384 set semsys:seminfo_semmsl=1024 set semsys:seminfo_semopm=250 docs.sun.com: Any idea or suggestion will be helpfull. Thank you!! |
|
|||||
|
"ndd /dev/tcp" to find the current ones. What's written here is still valid for Solaris 10.
The parameters that I'm setting currently on some servers are : Quote:
|
|
||||
|
Thank you all for your help,
Just one more question I have checked all that you have told me but what I couldnt find in SUN docs is how to modify the default value of process.max-sem-ops by default is 512 but how do you calculate such value?? Thanks once again |
|
||||
|
Hello again, still trying to get this to work.
Can anyone help me by telling me if these settings look ok? and if yes where can I include process.max-sem-ops? root@myserver# cat /etc/project system:0:::: user.root:1:::: noproject:2:::: default:3:::: group.staff:10:::: PRD:200:Baan System Kernel Parameters:bsp,oracle:rocess.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny) |
|
|||||
|
? what's wrong with the syntax you used before ?
small example, i will add your process.max-sem-ops: Code:
root@mp-wst01 # su - pressy
pressy@mp-wst01 #
pressy@mp-wst01 # prctl -n process.max-sem-ops $$
process: 16510: -ksh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-sem-ops
privileged 512 - deny -
system 2,15G max deny -
pressy@mp-wst01 # exit
root@mp-wst01 # projmod -a -K "process.max-sem-ops=(priv,1024,deny)" user.pressy
root@mp-wst01 # su - pressy
pressy@mp-wst01 #
pressy@mp-wst01 # prctl -n process.max-sem-ops $$
process: 16574: -ksh
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
process.max-sem-ops
privileged 1,02K - deny -
system 2,15G max deny -
pressy@mp-wst01 #
regards PRESSY |
|
||||
|
pressy, sysgate,
Thank you for your the promt response, the issue was solved, I mispelled a word. And also found that the correct value for such semaphore depends directly from the application. So we must consult with the application vendor to check the semaphores and values. Thank you all for your great support!!!!! |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|