Ah! That was my next guess. I’m glad you sorted it. If you have this problem 
again there is a way to do a rolling upgrade without a start/stop, see this 
link for more info:

http://nginx.org/en/docs/control.html#upgrade

Kind Regards
Andrew

> On 27 May 2015, at 15:57, Richard Kearsley <[email protected]> wrote:
> 
> 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 <[email protected]> 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
>>> [email protected]
>>> http://mailman.nginx.org/mailman/listinfo/nginx
>>> 
> 
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx

-- 
Andrew Hutchings (LinuxJedi)
Senior Developer Advocate
Nginx Inc.

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to