Mercurial > hg > nginx
view src/os/unix/ngx_user.h @ 4340:4533d7684e14
Cache: only complain on long locked entries.
There have been multiple reports of cases where a real locked entry was
removed, resulting in a segmentation fault later in a worker which locked
the entry. It looks like default inactive timeout isn't enough in real
life.
For now just ignore such locked entries, and move them to the top of the
inactive queue to allow processing of other entries.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 12 Dec 2011 10:49:14 +0000 |
parents | 9c057d5e1c27 |
children | d620f497c50f |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev */ #ifndef _NGX_USER_H_INCLUDED_ #define _NGX_USER_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> typedef uid_t ngx_uid_t; typedef gid_t ngx_gid_t; ngx_int_t ngx_libc_crypt(ngx_pool_t *pool, u_char *key, u_char *salt, u_char **encrypted); #endif /* _NGX_USER_H_INCLUDED_ */