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.
Anyone have any idea why my system slows down after about 4 hours? When i say slows down I am referring to the internet and my gui, KDE opens windows (lol) really slow and Mozilla takes forever to open up pages with DSL. Ive done top and ps many times but dont see anything of use as far as resources go. The only thing that helps it to reboot then everything is back to normal, sound familiar? LOL.
The only thing I can think is updatedb is going on. When it slows down, is your HD churning. It can take a while to perform. It isn't CPU intensive, so top may not show it as high, however, anything accessing your HD in parallel will be greatly slowed down.
The hard drive does sound off every so often. I am running 2.4 kernel. I havent checked my memory when it slows down.512 mb swap? I only have 512 of ram.
Yeah bro, you should have made a Swap partition when you initially installed Linux, this is in case you fill up your Ram Memory....Swap will kick in, and you wont notice the slowing down so much.
However, if your hardrive does sound very often, maybe there is something physically wrong with your drive...??maybe too old?
On my desktop I also often get my HD running, but that is because Linux automatically defrags your hardrive every so often, but my pc never really slows down....
Memtest does not help identify memory leaks, it only identifies bad memory (these are not the same thing).
Also, saying that Linux automatically defrags the file system is not very accurate. Most Linux file systems are quite resistant to fragmentation, thus not needing a defrag in the first place.
To BajaNick, I would suggest a kernel upgrade, maybe trying out Gnome over KDE or even restarting X every now and then. Still, check that you have a large enough swap partition. What output do you get when you give the "df -h" command?
I had the same problem,- system slowing down after a few hours.
The 'top'-command showed that a process named "famd" used all the system recources. I uninstalled "fam", and after that, everything has been running smooth.
Notice the last one is my swap partition. It may be dangerous to resize partitions - maybe it's best to re-install, making sure you allocate about 512M of swap. Also using "fdisk -l" as root is probably a better way to see what's going on with your hard drive:
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 653 5245191 7 HPFS/NTFS
/dev/hda2 654 9728 72894937+ f W95 Ext'd (LBA)
/dev/hda5 654 4569 31455238+ b W95 FAT32
/dev/hda6 4570 4634 522081 82 Linux swap
/dev/hda7 4635 9728 40917523+ 83 Linux
Originally posted by miknight Memtest does not help identify memory leaks, it only identifies bad memory (these are not the same thing).
Also, saying that Linux automatically defrags the file system is not very accurate. Most Linux file systems are quite resistant to fragmentation, thus not needing a defrag in the first place.
Wonder why then when you run Memtest it says... "Checking for memory leaks..."
And Linux being "fragmentation resistant" does not mean Linux doesn't get fragmented, Every hardrive gets fragmented no matter what OS you use.
What Linux does however, is being pro-active and not letting the hardrive fragment for a long time like Windows lets the hardrive do....and when ever Linux detects there is 1% or less fragmentation in the hard disk, it goes ahead and defragments it, and yes, it does it automatically.
Just to clear those 2 points.
And yes, like I mentioned in my previous posts, BajaNick does in fact need a Swap partition, and I gave also the size which at your level Bajanick, you only need to make it the same as your current Ram memory, 512.
You can go up to 1 gig of Swap if you want to.... but you don't have to. Just for your information, anything above 1 gig of Swap is useless, even if you have more than 1 gig of actual Ram memory.
Your best bet at this point is to back up your files, and re-install Linux, and make sure you make at least 3 paritions when you intall Linux:
/boot
/
/Swap
these three are essential in any Linux installation.
/boot is where your booting settings get stored;
/ is where all your file system gets installed
/Swap is your swap partition
When I installed slack the first time I did not partition for a swap file cuz I thought I had so much ram It wasnt necessary. I will think about it, but I really dont want to reinstall again.
Originally posted by zLinuxz
Wonder why then when you run Memtest it says... "Checking for memory leaks..."
And Linux being "fragmentation resistant" does not mean Linux doesn't get fragmented, Every hardrive gets fragmented no matter what OS you use.
What Linux does however, is being pro-active and not letting the hardrive fragment for a long time like Windows lets the hardrive do....and when ever Linux detects there is 1% or less fragmentation in the hard disk, it goes ahead and defragments it, and yes, it does it automatically.
Please don't quote words I did not say. I didn't say Linux is "fragmentation resistant", I said it is "quite resistant to fragmentation". Now that hardly implies no fragmentation occurs.
Regarding automatic defragmentation, there is no such thing. Why would there be tools to defrag ext3 if it did it automatically?
As far as Memtest goes, maybe we're not talking about the same Memtest. I was thinking you were referring to Memtest86. What Memtest are you talking about?
If you wish to argue any of this further please provide some references.
that email in Frag and Defrag is informative, but still doesn't prove that you are right or that I am right.
However, listening to my hardrive work every once in a while for no apparent reason, and looking during boot up and seeing the .2% vary with time....a little but vary.... leads me to believe other wise, and that there is indeed defragmention going on.
Furthermore, I hardly believe that calling it a "voodoo" thing, like they say in that email is the right answer as well.
So maybe we should ask Linus to answer that.
In regard to the Memtest, yeah maybe so, the one I used is just called Memtest,and a friend emailed it to me, so it is possible that it is not the same program.
And those tools are just beta for Linux, cuz no one rally uses them, and they just want to get people to perhaps buy them in the future, which will probably not happen. That company is mostly focused on Windows Defrag, where there lies a real problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.