Re: panic: kmem_malloc; Should I increase some setting?

From: Ronald Klop (ronald-freebsd7_at_klop.yi.org)
Date: 06/30/04

  • Next message: John Baldwin: "Re: kern/68442: panic - acquiring duplicate lock of same type: "sleepq chain""
    Date: Wed, 30 Jun 2004 03:35:07 +0200
    To: Doug White <dwhite@gumbysoft.com>
    
    

    On Tue, 29 Jun 2004 18:22:57 -0700 (PDT), Doug White
    <dwhite@gumbysoft.com> wrote:

    > On Wed, 30 Jun 2004, Ronald Klop wrote:
    >
    >> I get the following panics while untarring a 30MB archive on an md
    >> device
    >> create with:
    >> tmpmfs="YES"
    >> tmpsize="256m"
    >
    > This is a malloc-backed md disk, which consumes memory directly from KVM.
    > If you do a large extraction it will consume all of KVM and cause your
    > panic. Unless you're running diskless and this is your only option
    > besides NFS, either don't use tmpmfs or avoid extracting large amounts of
    > data to /tmp.

    Thanks, I read this a few moments ago in the manual page.
    Isn't there a way to prevent or warn people when they create a malloc
    backed disk that is larger than KVM? I think a panic isn't very user
    friendly and it took me quite some time to figure this out.

    Ronald.

    -- 
      Ronald Klop
      Amsterdam, The Netherlands
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: John Baldwin: "Re: kern/68442: panic - acquiring duplicate lock of same type: "sleepq chain""

    Relevant Pages

    • Re: FreeBSD 5.2R+C: panic: kmem_malloc(4096): kmem_map too small
      ... small allocations. ... The kernel has a rather small malloc pool (this is ... is much more appropriate to use the 'swap' disk type of mdconfig. ... panics. ...
      (freebsd-current)
    • Panic and reboot with USB hard disk
      ... A 2.5" USB hard disk I recently got has been giving me a lot of trouble. ... I routinely get panics or random data corruption. ... A kernel with no debugger simply reboots when it encounters the error, ... When KDB and DDB are compiled in, I end up in the debugger prompt where "trace" points to a routine apparently handling USB interrupts. ...
      (freebsd-stable)
    • Re: Missing Word files after crash
      ... Word document -- I got a gray screen ordering me to restart the ... immediately repaired the hard disk and permissions with Disk Utility, ... By far the most common cause of panics in unadorned OS X are caused by ... memory and perhaps the power supply. ...
      (microsoft.public.mac.office.word)
    • Re: FreeBSD Crash without Errors, Warnings, or Panics
      ... The only glimmer of information I have is that *one* time there was an error on the console about there not being any RAID controller available. ... If a controller like that was failing, I would certainly hope to see some serious error messages or panics going on. ... In every case the cause has been either a flaky disk or a flaky disk controller, ... The Web server and PHP scripts probably are cached in RAM if they are called frequently so you might well see lots of postgres processes stacked up. ...
      (freebsd-hackers)
    • Re: [PATCH 2.4] blacklist a device in usb-storage
      ... This particular disk can lead to panics as I said. ... If someone ever writes a driver specific to this device (I ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)