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

It often leads memory leak on nginx reload #2545

Closed
Hello-Linux opened this issue Mar 31, 2021 · 2 comments
Closed

It often leads memory leak on nginx reload #2545

Hello-Linux opened this issue Mar 31, 2021 · 2 comments
Labels
3.x Related to ModSecurity version 3.x duplicate Ops. Somebody else already hit that bump

Comments

@Hello-Linux
Copy link

Hello-Linux commented Mar 31, 2021

@zimmerle It often leads memory leak on nginx reload using modsecurity branch 3.1-experimental and master,I hope that the official will fix this problem as soon as possible, which has a serious impact on the production environment.

And There is also why this problem #2381 was closed without being resolved!!!

I suggest that you officially do a test yourself. First, create a lot of virtual hosts, each virtual host quotes the modsecurity rules separately, and then constantly reload, the memory leak should be reproduced!
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)
@martinhsv
Copy link
Contributor

Hi @Hello-Linux ,

What is this issue meant to convey that is different from your issue #2502 ?

@zimmerle
Copy link
Contributor

zimmerle commented Apr 6, 2021

Duplicate of #2502.

@zimmerle zimmerle closed this as completed Apr 6, 2021
@zimmerle zimmerle added duplicate Ops. Somebody else already hit that bump 3.x Related to ModSecurity version 3.x labels Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x duplicate Ops. Somebody else already hit that bump
Projects
None yet
Development

No branches or pull requests

3 participants