cache manager worker_connections not enough
Maxim Dounin
mdounin at mdounin.ru
Wed Nov 5 12:55:57 UTC 2014
Hello!
On Wed, Nov 05, 2014 at 04:33:16AM -0500, zhijianpeng wrote:
> I am using proxy_cache as a cache server, about 20-30k requests /s. It
> sometimes gets slow,and I find lots of such messages:
>
> 2014/11/05 17:01:32 [alert] 22169#0: 512 worker_connections are not enough
> 2014/11/05 17:01:32 [alert] 22169#0: 512 worker_connections are not enough
> 2014/11/05 17:04:12 [alert] 22169#0: 512 worker_connections are not enough
> 2014/11/05 17:04:12 [alert] 22169#0: 512 worker_connections are not enough
> 2014/11/05 17:04:12 [alert] 22169#0: 512 worker_connections are not enough
>
> process 22169 is the "nginx: cache manager process" .
Do you use 3rd party modules/patches? What "nginx -V" shows?
> Should I modify the num of cache_manager_process_cycle->connection_n in
> src/os/unix/ngx_process_cycle.c, and rebuild nginx ?
While this may help in your particular case, it's wrong in general
as cache manager isn't expected to use many connections. It would
be better to find out what goes on here.
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list