Welcome! Log In Create A New Profile

Advanced

Re: unknown directive "thread_pool"

June 24, 2015 08:11AM
Добрый день.
Не понятно мне, куда помещать настройку по пулам.
# uname -orm
FreeBSD 10.1-RELEASE-p12 amd64
nginx -v
nginx version: nginx/1.8.0
nginx собран с оцией --with-threads
Далее.
nginx.conf в секцию http добавил:
thread_pool one threads=32;
thread_pool cen threads=32;
После делаю проверку.
# nginx -t
nginx: [emerg] "thread_pool" directive is not allowed here in /usr/local/etc/nginx/nginx.conf:46
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Как в инструкиях сказано, что в секцию http добавляется настройка по пулам, а после проверки конфига мне говорится, что опции theread_pool тут не место.
Как быть в этом случае.
Хочу реализовать отдачу картинок на обном из нагруженных проектов.
И есть ли смысл использовать пулы от nginx на системе FreeBSD 10.1 ?
Subject Author Posted

unknown directive "thread_pool"

Richard Kearsley May 27, 2015 08:24AM

Re: unknown directive "thread_pool"

Andrew Hutchings May 27, 2015 09:36AM

Re: unknown directive "thread_pool"

Richard Kearsley May 27, 2015 10:58AM

Re: unknown directive "thread_pool"

Andrew Hutchings May 27, 2015 03:28PM

Re: unknown directive "thread_pool"

bagas June 24, 2015 08:11AM

Re: unknown directive "thread_pool"

Anatoli Marinov June 24, 2015 09:08AM

Re: unknown directive "thread_pool"

bagas June 24, 2015 09:32AM

Re: unknown directive "thread_pool"

Anatoli Marinov June 24, 2015 09:40AM

Re: unknown directive "thread_pool"

Anatoli Marinov June 24, 2015 09:42AM

Re: unknown directive "thread_pool"

bagas June 24, 2015 10:03AM

Re: unknown directive "thread_pool"

Valentin V. Bartenev June 24, 2015 12:06PM

Re: unknown directive "thread_pool"

bagas June 24, 2015 01:18PM

Re: unknown directive "thread_pool"

Francis Daly June 24, 2015 11:38AM

Re: unknown directive "thread_pool"

Maxim Konovalov June 24, 2015 11:56AM

Re: unknown directive "thread_pool"

Francis Daly June 25, 2015 01:22PM

Re: unknown directive "thread_pool"

Maxim Konovalov June 26, 2015 03:24AM

Re: unknown directive "thread_pool"

Valentin V. Bartenev June 30, 2015 10:54AM

Re: unknown directive "thread_pool"

bagas June 24, 2015 01:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 54
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready