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
> 

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

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

Reply via email to