Jump to content

System hangs after about 5-10mins of use [solved]


dh2k
 Share

Recommended Posts

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 by SoulSe
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...