Compiling and using NGINX in multi thread mode

Hi,

I hope that I am posting at the right place.
I am trying to figure out if multi-thread mode is supported with the
latest release, and if so then what I need to do for using it?
I am trying to compile it from its source code for PowerPC architecture.
But I have seen that the following is been commented out in the
auto/options file.
#–with-threads=*) USE_THREADS=“$value” ;;
#–with-threads) USE_THREADS=“pthreads” ;;
Due to which I am bit confused if its supported or not!

Regards
Nitesh Narayan Lal
http://www.niteshnarayanlal.org/

Hello!

On Tue, Mar 24, 2015 at 01:03:11PM +0530, nitesh narayan lal wrote:

Due to which I am bit confused if its supported or not!
There is no support for threads in previous releases of nginx -
only some obsolete code from previous experiments.

In just released 1.7.11 an experimental support for thread pools
was introduced though. More details can be found here:

http://nginx.org/r/aio

In short: you have to compile nginx with --with-threads (which is
supported now), and then use “aio threads”.


Maxim D.
http://nginx.org/

Hi Maxim,

On Tue, Mar 24, 2015 at 10:20 PM, Maxim D. [email protected]
wrote:

But I have seen that the following is been commented out in the

Module ngx_http_core_module

In short: you have to compile nginx with --with-threads (which is
supported now), and then use “aio threads”.

Thanks a bunch for informing this.


Maxim D.
http://nginx.org/


nginx mailing list
[email protected]
nginx Info Page

Regards
Nitesh Narayan Lal
http://www.niteshnarayanlal.org/