forked from c3d2/nix-config
microvm-defaults: also increase conntrack table for 2G RAM
This commit is contained in:
parent
9999999b65
commit
120981064b
|
@ -13,7 +13,7 @@
|
|||
let
|
||||
mem = if (config?microvm) then config.microvm.mem else config.deployment.mem;
|
||||
in
|
||||
lib.optionalAttrs (mem <= 1024) {
|
||||
lib.optionalAttrs (mem <= 2*1024) {
|
||||
# table overflow causing packets from nginx to the service to drop
|
||||
# nf_conntrack: nf_conntrack: table full, dropping packet
|
||||
"net.netfilter.nf_conntrack_max" = "65536";
|
||||
|
|
Loading…
Reference in New Issue
Block a user