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.
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408
Rep:
swap file doesn't work
Since I have upgraded my fc3 machine to fc4 when I work some programs simultaneously every thing get frozen and I have to reset my computer manually. I have a athlon 2000 XP+ with 384 MB ram. Swap file is 777MB but it never works for me. In system monitoring it is always empty even when run huge program.
Are you actually activating it? Have you got it in /etc/fstab
so you get it switched on automagically? And is it actually
a file or have you got a swap-partition (you should)? Where
is it set-up, how has it been set-up?
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408
Original Poster
Rep:
/sbin/swapon -s
Filename Type Size Used Priority
/dev/hda3 partition 795208 900 -1
swap file is available in fstab but I don't know why it never works for me. when my CPU usage become very high my computer freezes and every thing gets stopped and I have to reset it
Umm, yeah, it's "good enough for Linux." That isn't the problem.
The swapon output indicates that the swap-partition is being used, although it is almost completely empty. I conclude that whatever is causing your system to freeze is not related to swapping.
In terms of the labeling - my understanding was that
the kind of label you're using is specific to ext2/3, and am
not certain that it will work with swap files. Try something
like this instead:
/dev/hda3 swap swap defaults 0 0
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
Posts: 408
Original Poster
Rep:
I was working on windows and my computer suddenly stopped working. that means there is a problem in hardware.
I have 2 RAMs. one 128 and the other 256.i think one of them doesn't work properly.
I have doubt about my CPU fan also. Since I have an AMD athlon machine it heats so moch and i think my fan is not enough for it.
I don't think that there could be any other errors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.