Skip to content

It often leads memory leak on nginx reload #2502

Closed
@Hello-Linux

Description

@Hello-Linux

Describe the bug

We publish more frequently every day, and often reload nginx,every few days nginx has a memory leak,How to fix it?

Logs and dumps

Output of:

2021/01/21 11:04:08 [alert] 25264#25264: fork() failed while spawning "worker process" (12: Cannot allocate memory)
2021/01/21 11:04:08 [alert] 25264#25264: sendmsg() failed (9: Bad file descriptor)
2021/01/21 11:04:08 [alert] 25264#25264: sendmsg() failed (9: Bad file descriptor)
2021/01/21 11:04:08 [alert] 25264#25264: sendmsg() failed (9: Bad file descriptor)

Expected behavior

A clear and concise description of what you expected to happen.

Server (please complete the following information):

  • Modsecurity: v3.0.4-92-gd72be1c for Linux with nginx-connector v1.0.1
  • WebServer: nginx-1.17.8
  • OS: Centos7.6

Metadata

Metadata

Assignees

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