Welcome! Log In Create A New Profile

Advanced

Re: unknown directive "thread_pool"

Richard Kearsley
May 27, 2015 10:58AM
Thanks Andrew
I figured this out but it was not a duplicate binary
It was because I was issuing -HUP to reload nginx rather than proper
start/stop :-[

Cheers
Richard

On 27/05/15 14:34, Andrew Hutchings wrote:
> Hi Richard,
>
> Do you have an Ubuntu package for Nginx installed also (usually installed in /usr/sbin)? Depending on how you are starting it the wrong executable may be being used.
>
> Kind Regards
> Andrew
>
>> On 27 May 2015, at 13:22, Richard Kearsley <richard@kearsley.me> wrote:
>>
>> Hi
>> First time trying aio threads on linux, and I am getting this error
>>
>> [emerg] 19909#0: unknown directive "thread_pool" in /usr/local/nginx/conf/nginx.conf:7
>>
>> Line7 reads:
>> thread_pool testpool threads=64 max_queue=65536;
>>
>> Everything indicates it was built --with-threads, so I'm not sure where to go from here
>>
>> nginx -V:
>> /usr/local/nginx/sbin/nginx -V
>> nginx version: nginx/1.9.1 built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1) configure arguments: --with-debug --with-file-aio --with-threads
>>
>> from configure output:
>> Configuration summary
>> + using threads
>>
>> Any help appreciated
>> Thanks
>> Richard
>>
>> _______________________________________________
>> 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: 55
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