Max table entries does not go above 1 million regardless of what it is set to

Started by Jargriddle, February 12, 2026, 02:04:17 AM

Previous topic - Next topic
When I have tried to increase max table entries above 1 million, they do not increase and when I go back to the settings page it is still at 1 million. Has a limit been implemented?

I don't think so.  I'm able to go back and forth between 1M and 2M under "Firewall->Settings->Advanced->Firewall Maximum Table Entries" and that's being reflected in the Aliases UI.

You cannot view this attachment.

Are you seeing any errors logged and/or memory limitation?

N5105/8GB/4xi226-V (local), J4125/8GB/4xi210 (remote)
26.1 Community

Update...

Quote from: Jargriddle on February 12, 2026, 02:04:17 AMHas a limit been implemented?
Turns out, yes!  (kind of)

This commit was added in 25.7.5.

Based on the formula, you would be capped at 1M as the default table size on systems with very small installed memory (hw.physmem < 667 MiB).

A few points though:

1) OPNsense minimum memory requirement is 3GB, so if you're hitting this 1M limit then you are well below the requirement and need more RAM.

2) There could be a bug.  I don't know under what conditions you might be prevented from increasing the value.  Is low memory one of them?  (Better question for @franco).

3) For most systems with decent RAM the new default is 10M.  Maybe you are actually seeing 10000000 and just miscounted the zeros?  In any case you should still be able to change the default, so probably still a bug if you have enough RAM.

Hope this helps
N5105/8GB/4xi226-V (local), J4125/8GB/4xi210 (remote)
26.1 Community