dh2k Posted August 14, 2006 Report Share Posted August 14, 2006 (edited) Hi all - I'm experiencing problems with my mandriva system hanging after about 5-10mins of usage. My system just locks up completey to the point I can't even <ctrl><alt><F1> to another terminal from F7 GUI. This occurs in both KDE and Gnome environments. I was told to check my swappiness but what is the best level (0-100) for Mandriva 2006. Currently I'm at 95. Systems details: Distro: Mandriva 2006 P3-1000Mhz / 256MB RAM / Swap partition: 400MB Edited August 15, 2006 by SoulSe Quote Link to comment Share on other sites More sharing options...
SoulSe Posted August 14, 2006 Report Share Posted August 14, 2006 What graphics card do you have and which driver are you using for it? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 14, 2006 Report Share Posted August 14, 2006 Woow, 95 is a bit high isn't it? Default is normally 60! Go to /etc/sysctl.conf and change this line: vm.swappiness=95 to: vm.swappiness=10 that's supposed to help. Then do: sysctl -p for changes to become active. Quote Link to comment Share on other sites More sharing options...
dh2k Posted August 14, 2006 Author Report Share Posted August 14, 2006 What graphics card do you have and which driver are you using for it? I am using an onboard intel810 graphics chipset Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 14, 2006 Report Share Posted August 14, 2006 The other thing I've thought of, is are you using gdkm or kdm as your login manager? I've noticed that when using gdm, my system eats memory and my system is unresponsive in 15-20 minutes, but my swappiness is set to 10 as per my previous post. Go into System/Configuration/Configure Your Computer/System/Display Manager to check and change where necessary. Quote Link to comment Share on other sites More sharing options...
dh2k Posted August 14, 2006 Author Report Share Posted August 14, 2006 The other thing I've thought of, is are you using gdkm or kdm as your login manager? I've noticed that when using gdm, my system eats memory and my system is unresponsive in 15-20 minutes, but my swappiness is set to 10 as per my previous post. Go into System/Configuration/Configure Your Computer/System/Display Manager to check and change where necessary. Will make sure I am using kdm and will update this post .. thanks for the support! Quote Link to comment Share on other sites More sharing options...
Gowator Posted August 14, 2006 Report Share Posted August 14, 2006 What is the weather like? Could be temp related? Quote Link to comment Share on other sites More sharing options...
dh2k Posted August 15, 2006 Author Report Share Posted August 15, 2006 (edited) Right, here is what I have done: set swappiness to 10 and made sure that KDM is the login manager [as above - post#3]. Result: system now runs like a dream .. Best regards to all! Edited August 15, 2006 by dh2k Quote Link to comment Share on other sites More sharing options...
Helmut Posted August 17, 2006 Report Share Posted August 17, 2006 (edited) WTF is swappiness? Edited August 17, 2006 by Helmut Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 18, 2006 Report Share Posted August 18, 2006 The value is normally set to a default of 60. If you increase it, your system is likely to use your swap file too easily. If you decrease it, say to 10 like in my example, it will tend to only use it if it really needs to. Quote Link to comment Share on other sites More sharing options...
noranthon Posted August 18, 2006 Report Share Posted August 18, 2006 Well, this is a worry. I've just checked my /etc/sysctl.conf and "swappiness" is not even mentioned. :huh: Quote Link to comment Share on other sites More sharing options...
SilverSurfer60 Posted August 18, 2006 Report Share Posted August 18, 2006 Well, this is a worry. I've just checked my /etc/sysctl.conf and "swappiness" is not even mentioned. :huh: :o I don't have one either. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 18, 2006 Report Share Posted August 18, 2006 You don't, by default it's not there. However, do this: cat /proc/sys/vm/swappiness and you'll see it's set to 60. To add it, edit sysctl.conf as mentioned previously. Then your system will run better. And, just to say, it's nothing to be worried about that it's not in the file. Quote Link to comment Share on other sites More sharing options...
SilverSurfer60 Posted August 18, 2006 Report Share Posted August 18, 2006 it's nothing to be worried about that it's not in the file. I feel much better now ianw1974, I wasn't really worried, that was my sense of humour showing through. ;) Many thanks anyway, I have inserted the line as suggested and now I'll see if it makes a difference. Always handy to know these tidbits. Quote Link to comment Share on other sites More sharing options...
noranthon Posted August 20, 2006 Report Share Posted August 20, 2006 Is the figure a percentage and, if so, a percentage of what? Please don't tell me to read the fine manual (in Linux that means the internet): No manual entry for swappiness Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.