10 More Discussions You Might Find Interesting
1. Programming
I have many headers with huge amount of structures in them, typical one looks like this:
$ cat a.h
struct Rec1 {
int f1;
int f2;
};
struct Rec2 {
char r1;
char r2;
};
struct Rec3 {
int f1;
float k1;
float ... (6 Replies)
Discussion started by: migurus
6 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I'm bit new to the advanced bash shell scripting.
When I'm looking at some of the existing code in my organization, got confused with a few variable definings.
For ex:
var1={1:-30}
var2="abc def ghi"
var3={xyz:-$var2}
In above, 1st and last lines are confusing me.... (4 Replies)
Discussion started by: raghu.iv85
4 Replies
3. What is on Your Mind?
A byte is the smallest unit of storage which can be accessed in a computer's memory- either in RAM or ROM.It also holds exactly 8 bits.But its old view one byte was sufficient to hold one 8 bit character.Modern days especially on .NET or international versions of Win 32, 16 bits is needed.
... (2 Replies)
Discussion started by: stoudtLion
2 Replies
4. UNIX for Dummies Questions & Answers
Is FreeBSD and OpenBSD considered Unix? What O.S does Most of the forum members use? How popular are Licensed Unix operating systems for home users?
Additionally I thought Linux was a Minux fork and BSD was a Unix fork.
Thanks in ... (7 Replies)
Discussion started by: theKbStockpiler
7 Replies
5. Solaris
Hi all,
Am intermittently getting the following errors on one of my databases.
Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302:... (1 Reply)
Discussion started by: newbie_01
1 Replies
6. Solaris
As of Solaris 9,10 in /etc/system file I can comment the “set maxuprc” for the restriction.
But in Solaris zones how I can unset the variable “maxuprc” because /etc/system file is not there.
How I can proceed.
Regards,
Kalai (1 Reply)
Discussion started by: kalpeer
1 Replies
7. UNIX for Dummies Questions & Answers
Could someone please direct me to a link that gives the definitions for each of the letters from the results of the $- environment variable? It would be nice to know what shell options each of the letters represents, but I am specifically looking for the shell option for 'c' (lowercase c). Thank... (12 Replies)
Discussion started by: sszd
12 Replies
8. Shell Programming and Scripting
hi there,
can somebody give me a definition for daemons, or example what are they !!
and what the use for?
i've done some research and all what i found is /etc/...
or /usr/bin/...
and i haven't quietly got the concept.
any ideas !!
Thanks. (5 Replies)
Discussion started by: new2Linux
5 Replies
9. UNIX for Dummies Questions & Answers
Can someone guide me in telling me what is a good definition of concurrent users. Is there a website I can go to to get this definition? (2 Replies)
Discussion started by: mpshaw
2 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I'm looking for the definition file for printers on HP. Can I implement printers.conf like on SUN ?
Thanks for your help:( (4 Replies)
Discussion started by: annececile
4 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)