Re: Reproducable panic under heavy disk I/O on 5.4-latestandthegreatest

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 09/08/05

  • Next message: Mike Adewole: "syscons and SC_NO_CUTPASTE issue"
    Date: Wed, 7 Sep 2005 19:32:41 -0400
    To: Vasil Dimov <vd@datamax.bg>
    
    
    

    On Wed, Sep 07, 2005 at 09:46:43PM +0300, Vasil Dimov wrote:
    > The command that causes the panic is:
    >
    > # duplicity / rsync://backuphost:873/kutelo1
    >
    > It generally traverses the whole FS. When 500-600M are uploaded to
    > backuphost, the machine (the one that runs duplicity command) panics.
    >
    > Below I have attached "uname -a" and "ident /boot/kernel/kernel"
    > commands output, the kernel config file, dmesg output and backtraces
    > with WITNESS_COUNT set to 200 (default) and 20000.
    >
    > Note that I get different panic 'reasons' with WITNESS_COUNT=200 vs.
    > WITNESS_COUNT=20000.
    >
    > Should I submit a PR (without a fix :/)?

    > Unread portion of the kernel message buffer:
    > panic: kmem_malloc(4096): kmem_map too small: 40886272 total allocated

    This indicates you're running your kernel out of memory. Try tuning
    VM_KMEM_SIZE_MAX, e.g.

    options VM_KMEM_SIZE_MAX=524288000 #500MB

    > lock order reversal
    > 1st 0xc15aa798 inp (tcpinp) @ netinet/tcp_usrreq.c:371
    > 2nd 0xc071ae00 ipf filter rwlock (ipf filter rwlock) @ contrib/ipfilter/netinet/fil.c:1107

    This indicates that ipf is broken on SMP, as is well-known.

    Kris

    
    


    • application/pgp-signature attachment: stored

  • Next message: Mike Adewole: "syscons and SC_NO_CUTPASTE issue"

    Relevant Pages

    • Re[2]: ULE status, invalid load, buildkernel times.
      ... using command: ... mail# sysctl dev.cpu.0.freq=1596 ... the problem Jeff trying to resolve is why a ULE3(+last patch) ... produces panics when a process touches cpufreqcontext. ...
      (freebsd-current)
    • Re: Adding tun0 to kernel?
      ... you'd need to make sure device tun is in the kernel config file. ... This is the preferred method of creat- ... use the ``ifconfig tunN destroy'' command. ...
      (comp.unix.bsd.freebsd.misc)