Date: Fri, 12 Aug 2005 19:56:55 -0300 From: Marcus Grando <marcus@corp.grupos.com.br> To: freebsd-current@freebsd.org Subject: filesystem full and reboot (crash), without debug console Message-ID: <42FD2937.5090305@corp.grupos.com.br>
next in thread | raw e-mail | index | archive | help
Hi list, I write a litte program. This program full filesystem and FreeBSD reboot after that, without debug console. # uname -a FreeBSD marcus.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #8: Fri Aug 12 19:43:58 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386 # cat /tmp/lixo.c #include <stdio.h> int main() { int i; char *w = "abcdefghijklmnopqrstuvxz0123456789\n"; FILE *f; f = fopen("test", "wb"); for (i=0; i<100000000; i++) fwrite(w, 1, 35, f); fclose(f); exit(0); } /var/log/messages: Aug 12 19:47:06 marcus last message repeated 2 times Aug 12 19:47:06 marcus kernel: on : filesystem full Aug 12 19:47:06 marcus kernel: pid 703 (lixo), uid 0 inumber 14 on : filesystem full Aug 12 19:47:06 marcus last message repeated 574 times Aug 12 19:47:06 marcus kernel: on : filesystem full Aug 12 19:47:06 marcus kernel: pid 703 (lixo), uid 0 inumber 14 on : filesystem full Aug 12 19:47:06 marcus last message repeated 574 times Aug 12 19:47:06 marcus kernel: on : filesystem full Aug 12 19:47:06 marcus kernel: pid 703 (lixo), uid 0 inumber 14 on : filesystem full -- Marcus Grando Grupos Internet S/A marcus(at)corp.grupos.com.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FD2937.5090305>