Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 1997 10:17:37 -0700
From:      Joe McGuckin <joe@via.net>
To:        grog@lemis.com
Cc:        questions@freebsd.org
Subject:   Re: /: file system is full
Message-ID:  <199709091717.KAA29928@monk.via.net>

next in thread | raw e-mail | index | archive | help

I was trying to cause my system to crash. So, I thought that I'd use up all
the available memory.

I wrote a simple 'C' program to malloc a 1 MB chunk, then write into it to 
insure that the paged were allocated

while(1){
   p = (char *) malloc(1024*1024);
   *p = '1';
}

Very quickly, I get back a msg about "/: file system full"

What going on here?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709091717.KAA29928>