unknown directive "thread_pool"
Richard Kearsley
richard at kearsley.me
Wed May 27 14:57:23 UTC 2015
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 at 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 at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
More information about the nginx
mailing list