nginx-modules / ngx_cache_purge

nginx module which support to purge ngx_http_(fastcgi|proxy|scgi|uwsgi)_module cache backend
Other
209 stars 34 forks source link

NGINX logs critical for inactive but purged cache entries #19

Open witrin opened 6 years ago

witrin commented 6 years ago

I know this is an common problem with NGINX (https://www.miklix.com/nginx/deleting-nginx-cache-puts-critical-unlink-errors-in-error-log/) but is it possible to sync with NGINX internals after PURGE so this "critical" error won't be logged?

denji commented 5 years ago

Yes, we need to study this question about how https://github.com/nginx-modules/nginx-selective-cache-purge-module/blob/805ca25/src/ngx_selective_cache_purge_module.c#L345-L386

painslie commented 4 years ago

@denji Are you looking at completing this enhancement some time this year? Would be really nice to sync NGINX's internal keystone with the PURGE.