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.
Hi everyone. I'm running Fedora 2 on a Compac Presario 2100. After a few initial problems getting Fedora 2 to install, my system has been running well for almost a year.
This morning I noticed my system was extremely slow when booting up. Upon logging in I noticed in the System Monitor application that none of the swap space is being used, that is it says Used Swap Space: 0 bytes of 510 MB. Additionally System Monitor reports that only about 175 MB of 441 MB of memory available are being used.
I am lucky that I can startup Firefox and post to this forum. More memory intensive applications will not run.
My "/" partition only has about 600 MB of free disk space. Could this be the problem?
I'm pretty sure this is not a hardware problem because my system is dual-boot and when I boot to Windoze I have no problems.
If slowness is the problem, and your swap space is not being used, then I don't think it's a memory problem. Only if your RAM is full and your swap space is also filling up should you notice a big performance hit.
I'd look elsewhere for the cause of slowness. Try running 'top' in a terminal window to see what's eating the CPU and/or memory (you can press 'M' in 'top' to sort by memory usage).
I wish I knew of a comparable program for displaying disk usage by process, though. I've occasionally had large amounts of mysterious disk activity, and couldn't figure out what process was doing it. This may be part of your problem too--something using too much disk, preventing other programs from loading efficiently.
A process called udev seems to by using 90% of my CPU processing power. What is udev? What can I do to fix my problem?
I cleaned up my root partition and now I have more than 2 gigs free. Clearly disk space on the root partition was not the problem. I also booted to the memory test program that comes with the kernel. The RAM tests without errrors. The output of top is below.
What version of kernel are you using? You can find out by typing 'uname -a' in a terminal window. udev handles your device filesystem (the /dev directory), so I don't think it's safe to kill unless you are using devfs (the 2.4.x kernel approach).
The udev howto might give you some clues. I don't know much about how udev works, or why it would be eating up so much CPU.
I don't know for sure if you can simply uninstall udev. I think that you can. If you want to try that you can type this
rpm -e udev
You can try and re-install it. Maybe the program got corrupted somehow since it worked fine for so long. You need your FC2 cds. Search the CDs for the udev RPMs. Uninstall it with the command above. Then install it back with this:
rpm -Uhv /mnt/cdrom/path/to/udev-<fill-in-version>.rpm
Then there is the "dirty hack" way to do it. You can add this line to the file /etc/rc.d/rc.local:
killall udev
That line might need to be
killall udevd
It just depends on the name of the proccess that is running and taking up so much CPU. rc.local is executed after all the other services and daemons are started.
If it were me I'd research more to see if I could just completely uninstall it.
No wait... If it were me I'd just uninstall it and then get pissed because it won't boot back up and then have to fix that problem too!
I'd say the only reason not to kill it is if you need it. Do you ever plug any thing like usb or firewire into your system? If you don't you probably don't really need udev to run. I'd say kill it in rc.local and if your system starts acting odd in some other fashion then re-enable udev.
I do use a USB jump drive, but my hot plugging has never worked with it.
I have permanently uninstalled udev and my system seems to be functioning as usual. Unless anyone can give me a good reason why I need udev or my computer explodes, I'm going to leave it uninstalled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.