Skip to content

Crash on multiple IPFW rules #535

Description

@chocosnat

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions