On Tue, Jan 03, 2006 at 12:27:01AM +0100, Carl-Adam Brengesjö wrote:
> I have a problem on two of my machines, the only similarity in hardware 
> is being Intel based, not the same processors, not the same mainboard, 
> not the same brand of harddisks, etc.
> 
> On both machines, any swap space allocated for linux isn't used at all. 
> The RAM usage goes up to about 95-98% and can stay there for a couple of 
> days.
> 
> Then suddenly the system hangs. My guess is that the RAM usage has gone 
> 100% and a deadlock of some kind has occured. I have no knowledge in a 
> way to actually confirm this, as I cant access anything from the compuer 
> as soon as it hangs.

The top command should show all available swap. And the oom killer should kill
the process that uses the most memory, if it hasn't been removed in recent
kernels.

> However, any mp3/ogg song being currently played is played until the 
> end, but the player doesn't start playing a new one (mpd/gmpc & xmms).

It probably doesn't allocate new memory untill it changes songs.

> At first, I figured (with some hinting after a google search) that it 
> may be too large swap devices, although the documentation states that 
> linux can handle 1GB devices with no problem, IIRC 2 GB may be the limit 
> on a single drive.
> So based on this, I tried to split the parts into several small ones 
> instead, using 128,256,512 and 1024 sizes, one of each listed.
> But still same problem.

I have a 1GB swap partition without problem.
Are your partitions in fstab, or have you activated them with swapon?

> Only, to me, relevant google hit on my problem is:
> http://www.linuxforum.com/forums/index.php?showtopic=138211
> 
> But here they say that this is normal, not using the swap. But that 
> cannot be true as physical memory usage is near it's limit, and still no 
> swap activity. Plus the system hangs, which in no way can be considered 
> normal.
>
> Cheers, C-A. B.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to