Re: swsusp: fix error handling in "not enough swap space"

Grzegorz Piotr Jaskiewicz
2004-04-24T04:04:58Z

Nigel Cunningham wrote:

> Hi.
>
> Can we assume you've tried running mkswap again? Could you also show
> /proc/meminfo prior to suspending?

Looking into code, quite frankly I can assume that my computer would
have to eat up 900MB of swap. Very unquite as whole thing hangs whem
swap usage is twice memory. Simply due to slow HD, wait times are far
too long for him to cope with it.

with swap redone (swapoff /dev/hda1 && mkswap -v1 /dev/hda1 && swapon
/dev/hda1), still the same happends.

meminfo:

nalesnik:~# cat /proc/meminfo
MemTotal: 109568 kB
MemFree: 36544 kB
Buffers: 15576 kB
Cached: 30360 kB
SwapCached: 0 kB
Active: 36464 kB
Inactive: 19436 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 109568 kB
LowFree: 36544 kB
SwapTotal: 1172704 kB
SwapFree: 1172704 kB
Dirty: 16 kB
Writeback: 0 kB
Mapped: 16632 kB
Slab: 10672 kB
Committed_AS: 22584 kB
PageTables: 512 kB
VmallocTotal: 925656 kB
VmallocUsed: 4784 kB
VmallocChunk: 920548 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB