panic with kmem_map too small: 335544320 total allocated

Eduardo <[email protected]>
Newsgroups gmane.os.freebsd.chat
Message-ID <CADPo_jtiQbgVrK4R4azYKgW=W0KHa1Hj-k-vczqYWNS=Vy==UQ@mail.gmail.com>
Hello folks,

my server is FreeBSD 8.3-p1 i386, with 3.2 GB and no PAE enable, no
ZFS either, just running mysql+apache with PF

I had a reboot with this message: reboot after panic:
kmem_malloc(4096): kmem_map too small: 335544320 total allocated


>From what I have read I need to set vm.kmem_size to half of the
available RAM, is this correct?

do I need to change KVA_PAGES ?


Current settings are below, any help is appreciated.

thanks in advance,
-Ed


# sysctl vm.kmem_size_min vm.kmem_size_max vm.kmem_size vm.kmem_size_scale
vm.kmem_size_min: 0
vm.kmem_size_max: 335544320
vm.kmem_size: 335544320
vm.kmem_size_scale: 3

# sysctl hw.physmem hw.usermem
hw.physmem: 3475800064
hw.usermem: 3128418304

# sysctl hw.machine_arch
hw.machine_arch: i386

# sysctl hw.pagesize hw.pagesizes hw.availpages
hw.pagesize: 4096
hw.pagesizes: 4096 0
hw.availpages: 848584
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.