10-15-2001
kernel parameter
Hi all
How to change the system parameter (kernel Parameter)
in sun solaris..i wan't to increase the maximum no of user processs.i found it frm sysdef command that it has a value of 3048
i wan't to increase it as smtime while forking a new proceess it,s giving error max limit of user process reached can not fork a new process.
->If i make a entry in /etc/system
set semsys:seminfo_v.v_proc=8000
WILL IT WORK after a reboot?
IN HPUX we can easily do it from SAM tool.
But i don't know how to in SOLARIS
please suggest .....
try n learn
praful
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
Hi,
How can I change the Kernel parameter MAXDSIZE??:confused::confused:
Thanks in Advance ... (1 Reply)
Discussion started by: smartgupta
1 Replies
10. 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
fork(2) System Calls Manual fork(2)
Name
fork - create a new process
Syntax
#include <sys/types.h>
#include <unistd.h>
pid = fork()
pid_t pid;
Description
The system call causes creation of a new process. The new process (child process) is an exact copy of the calling process except for the
following:
o The child process has a unique process ID.
o The child process has a different parent process ID (that is, the process ID of the parent process).
o The child process has its own copy of the parent's descriptors. These descriptors reference the same underlying objects, so that, for
instance, file pointers in file objects are shared between the child and the parent, so that a on a descriptor in the child process
can affect a subsequent read or write by the parent. This descriptor copying is also used by the shell to establish standard input
and output for newly created processes as well as to set up pipes.
o The child processes resource utilizations are set to 0. For further information, see
Return Values
Upon successful completion, returns a value of 0 to the child process and returns the process ID of the child process to the parent
process. Otherwise, a value of -1 is returned to the parent process, no child process is created, and the global variable errno is set to
indicate the error.
Diagnostics
The system call fails and no child process are created under the following conditions:
[EAGAIN] The system-imposed limit {PROC_MAX} on the total number of processes under execution would be exceeded.
[EAGAIN] The system-imposed limit {CHILD_MAX} on the total number of processes under execution by a single user would be exceeded.
[ENOMEM] There is insufficient swap space for the new process.
See Also
execve(2), wait(2)
fork(2)