Hi, I have a PC with 2 Intel Xeons and SuSE 9.1 installed, I use a piece of software that regularly uses up all free RAM (1Gb installed) and crashes the whole machine. Now I expected this software would need a lot of RAM, so created a 2Gb swap partition when I originally installed the OS. The problem is that SuSE *never* tries to use swap and consequently the machine crashes every time I try to run my prog. If I run top whilst running the other prog: free RAM goes down, swap usage stays the same at 0kb, always.... :( Is this a "known bug" - or is there something else I should be looking at to try to fix this? Any help/suggestions much appreciated. Cheers, Jon.
On Wed, 2005-03-30 at 23:43 +0100, Jonathan Brooks wrote:
Hi,
I have a PC with 2 Intel Xeons and SuSE 9.1 installed, I use a piece of software that regularly uses up all free RAM (1Gb installed) and crashes the whole machine. Now I expected this software would need a lot of RAM, so created a 2Gb swap partition when I originally installed the OS.
The problem is that SuSE *never* tries to use swap and consequently the machine crashes every time I try to run my prog. If I run top whilst running the other prog: free RAM goes down, swap usage stays the same at 0kb, always.... :(
Is this a "known bug" - or is there something else I should be looking at to try to fix this?
Any help/suggestions much appreciated.
Cheers, Jon.
Try using swapon -a after booting and then post your /etc/fstab (you did add your swap partition didn't you?) so that we can provide a means of having swap turned on when you boot. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
The Wednesday 2005-03-30 at 23:43 +0100, Jonathan Brooks wrote:
I have a PC with 2 Intel Xeons and SuSE 9.1 installed, I use a piece of software that regularly uses up all free RAM (1Gb installed) and crashes the whole machine. Now I expected this software would need a lot of RAM, so created a 2Gb swap partition when I originally installed the OS.
The problem is that SuSE *never* tries to use swap and consequently the machine crashes every time I try to run my prog. If I run top whilst running the other prog: free RAM goes down, swap usage stays the same at 0kb, always.... :(
Type "swapon -sv", that should list your available swap space. If nothing shows, you don't have your swap partitions listed in fstab. You should have something like this: /dev/hdb5 swap swap pri=42 0 0 Then you can enable them with ""swapon -av". They should be automatically mounted at boot next time. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Jonathan Brooks
-
Ken Schneider