On 10-6-12 下午7:58, Samuel Thibault wrote:
> Hello,
> 
> Da Zheng, le Sat 12 Jun 2010 19:46:49 +0800, a écrit :
>> Here is what I did. I scp a big file from the Hurd (in the virtual machine) 
>> to
>> the host OS. I check the memory statics with vmstat constantly. After a 
>> while, I
>> can see the physical memory in the hurd system is exhausted and then a 
>> defpager
>> error message. see the picture http://a.imagehost.org/view/0824/Picture_2.
> 
> Mmm, this could just be gnumach not writing back the cached data that
Why does gnumach need to write back the data? the data should have been freed. I
don't know which program used most memory, but the memory should be considered
as free after it is used, instead of being put in the inactive queue.
> you transfer through scp soon enough. Really, gnumach is bad at memory
> management without some swap to help it when it gets wrong, do give him
> some :)
I have a swap partition and in /etc/fstab, there is a line:
/dev/hd0s2              none            swap    sw              0       0
The swap should have been enabled, right? I don't know why swapping still
doesn't work. I tried swapon -a, and get a message:
swapon: /dev/hd0s2: short read 1024 reading Linux swap signature page
Is it an error?

Zheng Da

Reply via email to