Sponsored Content
Full Discussion: kernel parameter
Top Forums UNIX for Dummies Questions & Answers kernel parameter Post 8688 by Perderabo on Tuesday 16th of October 2001 02:54:54 PM
Old 10-16-2001
I was hoping that a Sun expert would show up and tackle this question. But I guess I'll give it a try.

First, yes you modify /etc/system and reboot...no need to build a new kernel, it gets built on the up.

But your syntax looks wrong. We have stuff like:
set semsys:seminfo_semmni= 4096
in our /etc/system. Any values in the seminfo structure are going to support system v semaphores.

On hp-ux, maxuprc is the max processes per user with maybe 50 or 100 being typical values. But on Sun maxuprc is the total processes for all users and it is typically set to NPROC - 5. So while you could bump this up, it wouldn't make sense.

If you are getting "can't fork", you surely want to up NPROC. But, just as with hp-ux, NPROC is a calculated value that rides off MAXUSERS. So my guess is that you want to increase MAXUSERS, which will increase NPROC, NFILE, NINODE, NCALLOUT, and NCLIST all at once.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

kernel parameter

Hi all I am using HPUX 11.00 .its a HP9000 L class server with 1gb ram and dual processor 540Mhz. i want to know abt the two kernel parameter mentioned below 1)maxdsize 2)maxssize these two parameter has the default values and it has not been changed once. as some application on this... (1 Reply)
Discussion started by: Prafulla
1 Replies

2. UNIX for Dummies Questions & Answers

kernel parameter settings

Hello All, can someone clarify finally what are the kernel parameter settings for ORACLE9i on SOLARIS9 ? the following first part is copy paste from the sun's web... (2 Replies)
Discussion started by: grep
2 Replies

3. UNIX for Dummies Questions & Answers

How to change a kernel parameter

Hello and thank you everyone that has helped guide me in the past. I need to change the max_thread_proc parameter in order for certain Oracle utilities to function correctly. It is currently set at 64. I am a dba not an sa so please excuse my lack of knowledge on something that is probably... (7 Replies)
Discussion started by: soestx
7 Replies

4. UNIX for Dummies Questions & Answers

kernel parameter in SOL

Hello everbody: I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found. Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies

5. UNIX for Advanced & Expert Users

Solaris to HP-UX 11i v2 kernel parameter mapping

Can anyone reference me where I can find info or if someone knows the mapping of Solaris kernel parameters to HP-UX 11i v2 O/S on Integrity server? Your response would be greatly appreciated. Thanks. -Lou :) (1 Reply)
Discussion started by: nylou97
1 Replies

6. HP-UX

Equivalent Kernel parameter in HP-UX

Hi, May I pls. know what would be the equivalent kernel parameter in HP-UX for the below Linux kernel parameter. sysctl kern.ps_showallprocs - This setting in Linux would let users see their own processes in "ps". Thanks, Narasimha (1 Reply)
Discussion started by: vnarsim
1 Replies

7. UNIX for Dummies Questions & Answers

kernel parameter values

Hi All Need to find kernel parameter values of our UNIX box. /filesys1/tmp>uname -a HP-UX hps1_dc B.11.11 U 9000/800 1681349356 unlimited-user license /filesys1/CDBLprodrun/tmp> Can anyone help me with the cmd to find kernel parameter values? Thanks in advance. (1 Reply)
Discussion started by: mhbd
1 Replies

8. HP-UX

nk thread kernel parameter

Hi. I wanted to know, that if an issue is coming, where ,on running a load test, the memory of the APP server(unix) increases, but does not come down once the test is over, in that case, does tuning the nk thread paramter help in teleasing of the memory..??? plz answer soon (2 Replies)
Discussion started by: TC123
2 Replies

9. Solaris

How to change the Kernel parameter MAXDSIZE

Hi, How can I change the Kernel parameter MAXDSIZE??:confused::confused: Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies

10. Solaris

What are the kernel parameter of network interface in Solaris?

Hi gurus Could anybody tell me that what are the kernal parameter of network interface in solaris Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
nproc(5)							File Formats Manual							  nproc(5)

NAME
nproc - limits the number of processes allowed to exist simultaneously VALUES
Failsafe Default Allowed values The system may allow settings higher than 60,000 but such values are unsupported. Setting below interferes with the system's ability to execute in multi-user mode. Some configurations may have a higher minimum. must be greater than must be greater than Recommended values processes per processor. DESCRIPTION
The tunable controls the absolute number of processes allowed on a system at any given time. Increasing it allows more processes, and low- ering it restricts the number of processes. You can determine that is too low when the message is seen in the message buffer. Use or to read the message buffer. This message indi- cates that an application was unable to create a new process. Setting too low can cause application failures due to an inability to fork new processes. You can determine how many processes have been used simultaneously by calling and examining the This field indicates the "high water" mark of the number of processes that have been simultaneously used. Who Is Expected to Change This Tunable? Anyone expecting to run large numbers of processes. Restrictions on Changing None. This tunable is dynamic. When Should the Value of This Tunable Be Raised? Increase the value of when running large numbers of processes simultaneously. What are the Side Effects of Raising the Value? None. When Should the Value of This Tunable Be Lowered? Lower the value only to limit the number of processes on the system, or when there is memory pressure and the value of is far above the expected usage. What are the Side Effects of Lowering the Value? Lowering the value increases the risk of application failure due to the inability to fork new processes. What Other Tunable Values Should Be Changed at the Same Time? Increase to ensure there are sufficient threads for each process. Adjust as the default formula is multiple of A single user may not consume all processes on the system (see Some of these other tunables used to adjust automatically. These adjustments must now be made explicitly. Other tunables may require a reboot to take effect. So, dramatic increases in the value of without reboot should be made with caution. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. The effective number of processes allowed to exist simultaneously may be affected by the values of the tunables and Some applications may have been coded with a built-in assumption that the number of processes cannot exceed 30,000, which was the maximum imposed by prior versions of HP-UX. Such applications may fail on configurations which allow and/or create more than 30,000 processes. The HP-UX kernel creates internal data structures optimized for the value of the tunable parameter at boot time. After significant changes to the tunable it is recommended that a reboot be scheduled so that the kernel can reoptimize these internal data structures. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
ksi_alloc_max(5), maxuprc(5), nkthread(5), process_id_max(5), process_id_min(5). whitepaper, available on Tunable Kernel Parameters nproc(5)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy