panic: kmem_map too small

Stefan Bethke stb at lassitu.de
Wed Oct 25 22:36:29 UTC 2006


Am 25.10.2006 um 19:31 schrieb Jeremy Chadwick:

> Try tuning memory parameters via loader.conf:
>
> $ cat /boot/loader.conf
> # Increase maximum allocatable memory on a process to 768MB.
> # We don't choose 2GB (our amount of RAM) since that would
> # exhaust all memory, and result in a kernel panic.  Maximum
> # stack size is still set to 128MB.  One can view these
> # settings using limits(1).
> #
> kern.maxdsiz="805306368"
> kern.dfldsiz="805306368"
> kern.maxssiz="134217728"
>
> Adjusting kern.maxfiles and kern.maxfilesperproc might also help.

Sorry, I'm not sure I understand correctly.  How would increasing the  
per-process limits help with memory exhaustion in the kernel?


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 170 346 0140




More information about the freebsd-stable mailing list