Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
in /etc/xinetd.conf , we have one parameter max_load,
as per man page
"Takes a floating point value as the load at which the service will stop accepting connections. For example: 2 or 2.5. The service will stop accepting connections at this load. This is the one minute load average. This is an OS dependent feature, and currently only Linux, Solaris, and FreeBSD are supported for this. This feature is only avaliable if xinetd was configured with the -with-loadavg option. "
what is this load means , how we can check currently how much load cpu is accepting ....?
in /etc/xinetd.conf , we have one parameter max_load,
as per man page
"Takes a floating point value as the load at which the service will stop accepting connections. For example: 2 or 2.5. The service will stop accepting connections at this load. This is the one minute load average. This is an OS dependent feature, and currently only Linux, Solaris, and FreeBSD are supported for this. This feature is only avaliable if xinetd was configured with the -with-loadavg option. "
what is this load means , how we can check currently how much load cpu is accepting ....?
thanks in advance
use top.
this shows the last 1, 5 and 15 minutes of load in that order
taken from wiki
Code:
For example, one can interpret a load average of "1.73 0.50 7.98" on a single-CPU system as:
* during the last minute, the CPU was overloaded by 73% (1 CPU with 1.73 runnable processes, so that 0.73 processes had to wait for a turn)
* during the last 5 minutes, the CPU was underloaded 50% (no processes had to wait for a turn)
* during the last 15 minutes, the CPU was overloaded 698% (1 CPU with 7.98 runnable processes, so that 6.98 processes had to wait for a turn)
This means that this CPU could have handled all of the work scheduled for the last minute if it were 1.73 times as fast, or if there were two (1.73 rounded up) times as many CPUs, but that over the last five minutes it was twice as fast as necessary to prevent runnable processes from waiting their turn.
so in effect, the max_load directive is like a safeguard to stopping constant overloading of your system
1:telnet is enabled in my machine
2:sometime connection is establishing , but some time connection is refusing with the server
3: the max_load is 20 in my machine
i want to know this will be the reason am able to make a connection with suse machine..?
or is there will be any other reason...?
It just means that if xinetd was configured with -with-loadavg, AND you set max_load = 20, the it will stop accepting cxns if that load avg is reached.
By reading the manpage, I'd expect that the default is none ie no limit is set.
Its certainly possible that your system will be unable to accept cxns for other reasons eg its overloaded by some process(es), or acct locked or iptables blocked or tcp_wrappers blocked etc etc.
BTW, an avg of over 5 is a bit heavy, over 10 is very heavy.
What does 'top' show?
It just means that if xinetd was configured with -with-loadavg, AND you set max_load = 20, the it will stop accepting cxns if that load avg is reached.
By reading the manpage, I'd expect that the default is none ie no limit is set.
Its certainly possible that your system will be unable to accept cxns for other reasons eg its overloaded by some process(es), or acct locked or iptables blocked or tcp_wrappers blocked etc etc.
BTW, an avg of over 5 is a bit heavy, over 10 is very heavy.
What does 'top' show?
in the first line of the top command i can see the below line
and some of the links in there. Basically, the machine shows you what's happening, but its up to you to decide if the performance is good enough or not...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.