Welcome! Log In Create A New Profile

Advanced

Re: unknown directive "thread_pool"

Anatoli Marinov
June 24, 2015 09:08AM
I am not sure you need threads with freebsd because it has native aio
support.

2015-06-24 15:11 GMT+03:00 bagas <nginx-forum@nginx.us>:

> Добрый день.
> Не понятно мне, куда помещать настройку по пулам.
> # 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 ?
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,259166,259836#msg-259836
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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"

tarikislam8091 March 07, 2021 04:02AM

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: 269
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