# Allocating host hash failed: max host memcap is smaller than projected hash size

**URL:** <https://forum.suricata.io/t/allocating-host-hash-failed-max-host-memcap-is-smaller-than-projected-hash-size/2298>\
**Category:** Help\
**Tags:** suricata\
**Created:** [March 8, 2022, 10:59am UTC](https://forum.suricata.io/t/allocating-host-hash-failed-max-host-memcap-is-smaller-than-projected-hash-size/2298 "2022-03-08T10:59:30Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Grommish](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/grommish/32/255_2.png) [@Grommish](https://forum.suricata.io/u/Grommish)\
**Post date:** [March 17, 2022, 12:17pm UTC](https://forum.suricata.io/t/allocating-host-hash-failed-max-host-memcap-is-smaller-than-projected-hash-size/2298/18 "2022-03-17T12:17:15Z")

</div>

This is running on an Itus Networks Shield ([ITUS Networks Shield Pro - TechInfoDepot](http://en.techinfodepot.shoutwiki.com/wiki/ITUS_Networks_Shield_Pro)) running Kernel 5.4 MIPS64be (`mips64-openwrt-linux-musl`) on the OpenWrt `master` branch, which is probably going to make it an issue for you to test ☹

Currently, my goal is to get Suricata working across the various build-tree targets available to OpenWrt. I posted in the `dev` section about an issue I’m having with `x86_64` ([Passing CFLAGS=-fPIE to rust build system](https://forum.suricata.io/t/passing-cflags-fpie-to-rust-build-system/2328)) and upstream to `rust-lang` the tuples required (currently, I patch in the tuples locally to the `rust-lang` toolchain), so while I can do some additional testing for things like rules use, etc, I’m not looking to actually _use_ Suricata at the moment until after I clear through all the testing I have to do.

You, @ish, and @vjulien been an immense resource throughout my entire journey on this, and I can’t thank you all enough. I am at your disposal for any testing you need. The patch format you’ve sent me is perfect as I literally just drop it into a directory and the build-system takes care of the rest

```auto
grommish@DESKTOP-AW:~/openwrt/feeds/packages/net/suricata6/patches$ ls
00-fix-soft-float.patch 01-fix_log.patch
grommish@DESKTOP-AW:~/openwrt/feeds/packages/net/suricata6/patches$

```

So, whatever you need, feel free to impose!

Edit: This is not my production device, so testing is not an issue for this platform, at least

---

_[View the full topic](https://forum.suricata.io/t/allocating-host-hash-failed-max-host-memcap-is-smaller-than-projected-hash-size/2298)._
