Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
My server load sits constantly at ~3.0 and I am wondering if this is abnormally high for a fairly low traffic server running Apache 2.0.40, Postfix 1.12 with MailScanner, MySQL 3.23.58, SSH for SFTP transfers, SQUID 2.4 with DansGuardian and SAMBA 2.27 as a print server (last 3 only available on my LAN). These do not undergo a high usage. I am running RH8.0 and I am running web stats updates once an our which trawls through the web server logs for 3 sites and produces static pages via a perl script, this takes 6 minutes to complete for all three sites.
What does top show you as the most active process(es)? Remember that you load is a function of how active the CPU is and how long the waiting process list is. If you are running a lot of processes this will make you load higher as they're all waiting for the same cpu(s).
hm...
What's with the defunct mf_wrapper? not too sure what that is.
You have 2 dhclients running, don't know if this is necessary.
Why's there an rpm process?
And cups is usually for printers (i believe) if you killed your printer, you can disable this process.
There are definitely better more efficient ways, but to kill a process, i do
"ps -aux | grep <process>" where process is the name of the process...then see what the process ID is. Then
"kill <pid>", and do "ps -aux" again. If the process is still there and remains very stubborn, do
"kill -KILL <pid>"
that really kills them.
Don't know. do "man kill" and "man grep" and "man ps" for more info. I know that there are many different ways to show only the pid of a process, and pipe that to kill, therefore only needing one command instead of 2 or 3, but the syntax is too complicated to remember, so I don't remember it.
would work too - note that those are back ticks aroung ps -ef | grep [l]pd | awk '{ print $2 }' | tr "\n" " ".
In case you were wondering ps -ef | grep [l]pd | awk '{ print $2 }' show the process list (ps), grep's out lines that contain 'lpd' but does't match the grep process itself (otherwise you kill grep before you search has finished!), then uses awk to print out the second column of each line which is the process ID. The tr "\n" " " changes the newlines into spaces so you get a list that can be fed into the kill command; this last bit might not be strictly necessary I'm not 100% sure how kill will interpret new lines inbetween it's list of pids.
I'm having a similar problem with acroread. From time to time, it somehow remains in the memory, and eats all the cpu time (99.9%). I just can't kill it. I thought it might have to do with other processes depending on it, but pstree shows that it's an independent process. I would be very glad if someone could tell me why this is happening, and how it can be solved... (By the way, I'm using an SMP kernel 2.4 on a P-IV with hyperthreading - I've no idea whether this could have something to do with it.)
Yes yes yes, tried all that. Doesn't work, not as regular user, and not as root. It's a -really- nasty process. (In case you're wondering, it's not a zombie process either, it's a real, running process.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.