IPSet hash is full csf

When blocking or allowing a large number of IPs with csf and ipset, you may have come across this error:

ipset v7.15: Error in line 65537: Hash is full, cannot add more elements

To increase this you can edit the following file:

nano /etc/csf/csf.conf

Increase the value LF_IPSET_MAXELEM to a higher number and restart csf with:

csf -r