Welcome! Log In Create A New Profile

Advanced

Re: cache manager worker_connections not enough

Maxim Dounin
November 05, 2014 07:58AM
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/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

cache manager worker_connections not enough

zhijianpeng November 05, 2014 04:33AM

Re: cache manager worker_connections not enough

Maxim Dounin November 05, 2014 07:58AM

Re: cache manager worker_connections not enough

zhijianpeng November 10, 2014 10:16AM

Re: cache manager worker_connections not enough

Maxim Dounin November 10, 2014 11:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready