unknown directive "thread_pool"

Maxim Konovalov maxim at nginx.com
Wed Jun 24 15:55:05 UTC 2015


Hi Francis,

it seems that you start to learn Russian! :-)

On 6/24/15 6:36 PM, Francis Daly wrote:
> On Wed, Jun 24, 2015 at 08:11:28AM -0400, bagas wrote:
>> Добрый день.
> 
> "unknown directive" != "directive is not allowed here"
> 
>> Не понятно мне, куда помещать настройку по пулам.
> 
> http://nginx.org/ru/docs/ngx_core_module.html#thread_pool
> 
> """
> Контекст: 	main
> """
> 
> nginx.conf:
> 
> ==
>   thread_pool ...;
>   events {
>   }
>   http {
>     server {
>     }
>   }
> ==
> 
> 	f
> 
Valentin wrote a good blog post about threads:

http://nginx.com/blog/thread-pools-boost-performance-9x/

There is a complete and simple configuration in the "Configuring
Thread Pools" section, near the end of the post.

Also, there is a russian version of this article on habrahabr.ru.

-- 
Maxim Konovalov
http://nginx.com



More information about the nginx mailing list