Skip to content

Nginx with modsecurity enabled stop to process request #4640

Closed
@nithril

Description

@nithril

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.): BUG

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG

NGINX Ingress controller version: 0.26.1

Kubernetes version (use kubectl version): 1.14.4

Environment:

  • Cloud provider or hardware configuration: Azure
  • OS (e.g. from /etc/os-release): Centos 7.6

What happened:

Nginx is installed with helm. When enable-modsecurity is enabled, after some time, especially under load, nginx stops to process requests but it still accepts connection. The issue happens that the request comes from the outside or even when performing a curl from inside the controller container (eg. curl localhost:80) but not from the status port.

Killing workers manually resolves the issue.

How to reproduce it (as minimally and precisely as possible):

I do not have yet a minimal scenario

Anything else we need to know:

Can it relate to that issue?
owasp-modsecurity/ModSecurity#1927

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