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 one of our linux server the kswapd process is consuming high cpu approx 100% and server is getting slow . And also load on the server is also on high side. So can you please suggest me how i can get rid of this problem.
This is a natural consequence of the situation in your other two threads.
This is a symptom of a wider problem. Just as loadavg is.
Too much memory in use (maybe SGA, who knows), thrashing is causing kswapd to have to move too any pages in/out, the disk subsystem is obviously under-configured, so I/O is kept waiting, so your loadavg goes up.
Problems keeps piling up.
You cannot directly directly affect the kswapd CPU%. Like I said, it's a symptom.
Fix the real problem(s).
This is a natural consequence of the situation in your other two threads.
This is a symptom of a wider problem. Just as loadavg is.
Too much memory in use (maybe SGA, who knows), thrashing is causing kswapd to have to move too any pages in/out, the disk subsystem is obviously under-configured, so I/O is kept waiting, so your loadavg goes up.
Problems keeps piling up.
You cannot directly directly affect the kswapd CPU%. Like I said, it's a symptom.
Fix the real problem(s).
Thanks for the reqply.
So can you please let me know which process causing the kswap and load to go high on the server and how i can avoid this in future.
Also, a lot of processes are in state S http://slack-linux.blogspot.com.au/2...ate-codes.html.
Basically, as above, you need to find out what your Oracle DB/processes are actually doing and fix the root cause, not keep trying to fix the symptoms.
See post#2 by syg00
Also, a lot of processes are in state S http://slack-linux.blogspot.com.au/2...ate-codes.html.
Basically, as above, you need to find out what your Oracle DB/processes are actually doing and fix the root cause, not keep trying to fix the symptoms.
See post#2 by syg00
Thanks Chris.
So we need to check with the oracle database. So that is waht causing the real problem.??
There's no way to tell from this distance ... however, it appears that your system is almost exclusively running Oracle, so start there ..
Note that you need to check the app programs calling Oracle as well as the Oracle DB procs.
In fact, you could start by killing off all the progs talking to Oracle and just run Oracle to see what happens.
Its interesting to see that you have only 8 users but 800+ process; ie each one is (probably) generating 100 processes ... sounds odd to me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.