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

limit_traffic_rate_filter issues #11

Open
evely211 opened this issue Nov 28, 2017 · 1 comment
Open

limit_traffic_rate_filter issues #11

evely211 opened this issue Nov 28, 2017 · 1 comment

Comments

@evely211
Copy link

2017/11/28 09:52:35 [alert] 103990#0: shared memory zone "rate" was locked by 49547
2017/11/28 09:52:43 [crit] 49552#0: ngx_slab_alloc() failed: no memory in limit_traffic_rate_filter "rate"
2017/11/28 09:52:43 [alert] 103990#0: worker process 49552 exited on signal 11
2017/11/28 09:52:43 [alert] 103990#0: shared memory zone "rate" was locked by 49552

@haorenfsa
Copy link

Hi friend, I believe the problem lies below:
the node here should be change to req
because if you alloc so many nodes for a small share memory, it will run out of free space. and ngx_slab_alloc() fail cause req == NULL, and using req->xxx causing segment fault.
@bigplum is it ?
default

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

2 participants