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.
How to reduce the load average? I have two linux machines.. now my problem is that both the machines having same configuration and same processes are running in those two machines... But in one machine the load average is more than 3 and in other it is 0.5(when i am using top command).
For this load average one machine(where load average is more) is slow when i am running application on it..
So what's different in these machines hardware and software-wise? What process are you talking about? Is the process being used similarly, like the same amount of clients, in both machines? Does load stay high from the start or does it gradually settle or does it only happen when used to its limits? If this application has configuration files, is there any difference between them on the two machines? Please try to be as verbose as possible with technical details.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,801
Rep:
Quote:
Originally Posted by soumyacs
In case of h/w and s/w both the machines are same.. no difference between them..
Same java processes are running in both the machine..
No difference between the configuration files...
I found the load avg of one is machine is gradually increase from 2.5 to 3.. and it stat with 2.4...
and another machine it is 0.4 to 0.6...
You mentioned that there are some Java processes running. What do they do? Have you run "top" on both systems to see what processes are using the most CPU time? Perhaps one system is being hit across the network and those Java processes are working a lot harder on the high load system.
Can you cut-n-paste the "top" output from both systems into a reply to this thread? It'll help if we can see what's going on.
There are few factors that determine the Load Average of the Server Load. If the server uses dual processors the acceptable server load average is 2.00. This load is considered optimal.
Give the command "top" and check which process is utilizing more resources.
Check for mainly these processes.
1)sendmail
2)mysql
3)java.
These applications running status depend upon the applications you install and use them.
Most of the times sendmail process will run multiple times. So once restart the sendmail process to make it normal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.