# CrateDB and sysctl max\_map\_count

**URL:** <https://forums.balena.io/t/cratedb-and-sysctl-max-map-count/365407>\
**Category:** Product support\
**Created:** [November 12, 2022, 8:42pm UTC](https://forums.balena.io/t/cratedb-and-sysctl-max-map-count/365407 "2022-11-12T20:42:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![netliteIT](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@netliteIT](https://forums.balena.io/u/netliteIT)\
**Post date:** [November 12, 2022, 8:42pm UTC](https://forums.balena.io/t/cratedb-and-sysctl-max-map-count/365407/1 "2022-11-12T20:42:26Z")

</div>

I would like to test cratedb on balena but it needs to set mx\_map\_count to at least 262142.  
sysctl -w fro host works fine but it is impossible to set at container level and host sysctl.conf is not writable.  
Is there an elegant way to set it at boot time?
