07-04-2001
What you are asking is complex. Your upper bound could be memory limited, CPU limited, file descriptor limited or other. Calculating the upper bound on connections is non-trivial.
Your kernel documentation should have approximate formulas to calculate limits.
Keep in mind that when you change one kernel parameter, you effect another --- they are tightly coupled an dinterdependent. If you plan to tweek these parameters, it is very wise to have read the documentations on the interdependencies before proceeding.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
OS - Sun OS7
What sources can I go to to figure out what is the maximun number of processes for OS7 with 2GB of memory.
I believe it is 64K processes, but this number reflects resources being swaped.
Any help is appreciated
SmartJuniorUnix (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
2. Solaris
Hi all,
Can any one please tell me how to find these in Unix (Commands)
1. Too many processes connected to the server.
2. High Utilization of CPU.
3. Maximum Number of connections with the database.
OS: Sun Solaris 5.8
DB : Oracle 10g
Thanks and Regards,
Prashanth (1 Reply)
Discussion started by: prashanth_gs
1 Replies
3. Shell Programming and Scripting
We have a very large text file..contains almost 100K lines.
We want to process this file to generate another text file as per our data requirement.
As for now the parsing of data takes 20-25 mins each , for 100K lines.
the current script uses :
While Read Each Line
do parsing..
Done
... (6 Replies)
Discussion started by: Amruta Pitkar
6 Replies
4. Solaris
Hello guys..
Solaris 10
Oracle 10gR2
Every night, we run some 10 batch jobs that access the Oracle Database all at once from another machine X and we are losing some of the batch jobs connections ..SO i started reading the Oracle Docs and this is what it says
... (2 Replies)
Discussion started by: vr76413
2 Replies
5. UNIX for Advanced & Expert Users
Hi Guys
i am facing an issue when SSH connections are overflowing on my server, i get connections from thousands of servers, out of which few does not close them after sending a file.
i want to pull some information about concurrent ssh connections
i used "netstat -an | grep 22"
i... (4 Replies)
Discussion started by: Prateek007
4 Replies
6. Shell Programming and Scripting
Hi,
The problem detail is follows
I have three individual scripts .
SCRIPT A
sh -x sqoop_channels_nc_daily_01.sh & sh -x sqoop_channels_nc_daily_02.sh & sh -x sqoop_channels_nc_daily_03.sh
SCRIPT B
sh -x sqoop_contacts_nc_daily_01.sh & sh -x sqoop_contacts_nc_daily_02.sh & sh -x... (1 Reply)
Discussion started by: H_bansal
1 Replies
7. AIX
Hi,
What are the differences between concurrent and enhanced concurrent VGs.?
Any advantages of enhanced concurrent VG over normal concurrent vg
Regards,
Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies
8. Homework & Coursework Questions
I would like to get an opinion for my solution for this task and get feedback about better approach or mistakes I have made.
1. The problem statement, all variables and given/known data:
The task is to create a script which prints information about users whose names are specified in the... (2 Replies)
Discussion started by: kornfan
2 Replies
9. Shell Programming and Scripting
I would like to find all of the PIDs of processes which are not associated with a terminal and started by CRON.
When I do the ps aux | less command, I see in the TTY field a lot of processes with ? character
I would like to get those processes ID, is there a way to do that with pgrep?
... (1 Reply)
Discussion started by: ASF Studio
1 Replies
10. UNIX for Beginners Questions & Answers
Hello!
I've just started to read System V Interface Definition and came across this entry: "Background Process Group
A background process group is any process group that is a member of a session
which has established a connection with a controlling terminal that is not in the
foreground process... (2 Replies)
Discussion started by: saeed13r
2 Replies
nclist(5) File Formats Manual nclist(5)
NAME
nclist - number of cblocks for pty and tty data transfers
VALUES
Default
Allowed Values
Minimum Maximum limited by available memory.
DESCRIPTION
specifies how many are allocated in the system. Data traffic is stored in as it passes through tty and pty devices.
The default value for is based on a formula of 100 for system use in handling traffic to the console, etc., plus an average of 16 per user
session, assuming 512 user sessions. are also used for serial connections other than login sessions, such as as SLIP connections, UUCP
transfers, terminal emulators, and such. If your system is using these other kinds of connections, should be increased accordingly.
If the pool is exhausted, data being passed through a tty or pty device might be lost because a was not available when it was needed. If
this occurs, the warning message "cblock exhaustion has occurred n times (see termio(7)) is placed in the system message buffer.
Who Is Expected to Change This Tunable?
Users with the privilege. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
The tunable value can be increased in the following instances:
o When the kernel sends the error message the system is running out of This indicates that needs to be increased.
o The system may run slow for terminal I/O resulting in some data loss, without displaying a warning message. Increasing the value
may solve this problem.
The minimum value for is There is no maximum, but each consumes 32 bytes of resident (non-swappable) machine memory, so the value should be
selected with this in mind.
What Are the Side Effects of Raising the Value of This Tunable?
More resident (non-swappable) machine memory is used.
When Should the Value of This Tunable Be Lowered?
This value should be lowered when a minimal system is being created.
What Are the Side Effects of Lowering the Value of This Tunable?
The system may run out of
What Other Tunables Should Be Changed at the Same Time?
None.
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.
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
kctune(1M), privileges(5), termio(7).
Tunable Kernel Parameters nclist(5)