Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on multiple IPFW rules #535

Open
chocosnat opened this issue Jul 28, 2020 · 0 comments
Open

Crash on multiple IPFW rules #535

chocosnat opened this issue Jul 28, 2020 · 0 comments

Comments

@chocosnat
Copy link

I use the latest (dev) branch f-stack, 1.21. I've configured f-stack with IPFW support. Nginx supports 32 worker_processes on 32-kernel host. System is configured with 13968 huge pages:
cat /proc/meminfo | grep Huge
AnonHugePages: 1724416 kB
ShmemHugePages: 0 kB
HugePages_Total: 13968
HugePages_Free: 12330
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 28606464 kB

With a short IPFW rules list everything works fine. But if I add more than 400 IPFW rules per each nginx process, ipfw will hang up, EAL allocation errors will be logged and traffic will not be handled. What is wrong? How can I fix this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant