kern/84908: filesystem full and reboot (crash)

Marcus Grando marcus at corp.grupos.com.br
Sun Aug 14 13:40:04 GMT 2005


>Number:         84908
>Category:       kern
>Synopsis:       filesystem full and reboot (crash)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 14 13:40:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marcus Grando
>Release:        FreeBSD 6.0-BETA2 i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #8: Fri Aug 12 19:43:58 BRT 2005 root at marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386


	
>Description:

I write a litte program. This program full /tmp filesystem after that, many messages about filesystem full and FreeBSD reboot directly, without debug console.

I think that dd reproduce same thing.

# uname -a
FreeBSD marcus.grupos.com.br 6.0-BETA2 FreeBSD 6.0-BETA2 #8: Fri Aug 12 19:43:58 BRT 2005 root at 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 

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list