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

a problem #1

Open
labanyd opened this issue Apr 28, 2014 · 2 comments
Open

a problem #1

labanyd opened this issue Apr 28, 2014 · 2 comments

Comments

@labanyd
Copy link

labanyd commented Apr 28, 2014

node = ngx_slab_alloc(shpool, n);
i think that it's wrong

@labanyd
Copy link
Author

labanyd commented Apr 28, 2014

ngx_shmtx_lock(&shpool->mutex); // 452:ngx_white_black_list.c
ngx_shmtx_lock(&pool->mutex); // 142:src/core/ngx_slab.c

it's a deadlock

@labanyd
Copy link
Author

labanyd commented Apr 28, 2014

ngx_shmtx_lock(&shpool->mutex);
I delete this line and other unlock , the process run success!!

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

1 participant