kmem_malloc(4096): kmem_map too small: 536870912 total allocated

Kris Kennaway kris at obsecurity.org
Sun Oct 23 01:29:49 PDT 2005


On Sun, Oct 23, 2005 at 11:21:10AM +0300, Vladimir Sharun wrote:
> Kris Kennaway wrote:
>  KK> On Sun, Oct 23, 2005 at 10:43:42AM +0300, Vladimir Sharun wrote:
> >> We have 2xOpteron/2Gb RAM server with extrensive disk load. Every week or two
> >> it suddenly hangs with "kmem_malloc(4096): kmem_map too small 335bla-bla allocated". 
> >> I look onto handbook and put vm.kmem_size_max="536870912" onto /boot/loader.conf.
> >> Today was the same with the new parameters. Is there any other solutions ?
> 
>  KK> If that's not enough, try making it larger.
> 
> On what size we can be sure, that "that's enough" ?

It depends on your workload, so keep increasing it until the problem
stops or you discover that you need more RAM to handle your workload.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051023/be59c186/attachment.bin


More information about the freebsd-stable mailing list