Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up



On Tue, Feb 27, 2007 at 02:48:11PM -0500, Mikhail Teterin wrote:
On Tuesday 27 February 2007 11:41, Alex Kozlov wrote:
= On Tue, Feb 27, 2007 at 10:59:08AM -0500, Mikhail Teterin wrote:
= > /tmp's space allocation (after reboot) is as follows:
= >
= > Filesystem 1K-blocks Used Avail Capacity Mounted on
= > /dev/md0 2026030 3552 1860396 0% /tmp
= >
= > Note, that it is supposed to hold 2Gb, but was filled up and paniced
= > holding about 300Mb... Probably, because it is created with ``-M''
= > by default -- but it is not supposed to panic anyway!
= You may want to set -o reserve option. Or better, switch to a swap backed
= md.

Yes, I switched to swap-backed md already. But the malloc-based variety is
currently the _default_ (see /etc/defaults/rc.conf)...
Bad default.
Anyway, you may wish to change tmpmfs_flags on something like that:
"-S -m0 -o async,nosymfollow,nosuid"

Creation of a 2Gb malloc-based md should've failed on a machine with 768Mb of
RAM, shouldn't it have?
Only if you set '-o reserve'. Memory for malloc-based md was allocated
dynamically.


--
Adios
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Word slow when switching between documents
    ... I will check the RAM availability. ... I see a huge spike of activity (20-40% CPU used for 1-2 seconds each ... it should still switch windows briskly. ... Please reply to the newsgroup to maintain the thread. ...
    (microsoft.public.word.docmanagement)
  • Re: Usable RAM
    ... Photoshop says that the available RAM is 1.711GB. ... Surely many thousands of others (non-Mac users) have had this same ... I read the switch article, as did my computer builder, and it seems to ... you will never get to use the full 4gb virtual memory because the ...
    (microsoft.public.windowsxp.general)
  • Re: 4GBs of RAM Miscount
    ... OS still shows RAM to 2.87 GB ... Most of my sites are <20 users and the only heavy SQL site is still on SBS ... have you ever applied the switch to a SBS 2003 box? ... increases the 'pointers' for memory handling to allow 32b systems to ...
    (microsoft.public.windows.server.sbs)
  • Re: Added more RAM but not all is listed on My Computer > Properties
    ... Furthermore, whoever wrote that post didn't know what they were talking about, the /3GB switch deals with Virtual Address Space available to applications, it doesn't have anything to do with Physical Memory. ... Perhaps SP3 will change that but I don't know, I haven't heard reports of any changes to the XP PAE kernel with SP3 so I kind of doubt that it will be changed to allow for use of RAM above the 4GB barrier. ... You will need to use a 64-bit workstation to use all that RAM, or one of the 32-bit 2003 Server version. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Virtual Memory Error
    ... One thing he could, according to that article is upgrade to 2003, which does have the /3GB switch in all versions. ... than 1GB of RAM it thinks that it hit the jackpot all will try to grab as much RAM as it can. ... If you have an Advanced Server you can us the /3GB switch in the boot.ini file and it helps keep things under control. ... The problem is, a few hours after a reboot, the following error appears: "Your system is low on virtual memory. ...
    (microsoft.public.win2000.general)