Compiling and using NGINX in multi thread mode

nitesh narayan lal niteshnarayanlalleo at gmail.com
Wed Mar 25 06:00:01 UTC 2015


Hi Maxim,

On Tue, Mar 24, 2015 at 10:20 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Tue, Mar 24, 2015 at 01:03:11PM +0530, nitesh narayan lal wrote:
>
> > 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!
>
> 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".
>

Thanks a bunch for informing this.


>
> --
> Maxim Dounin
> http://nginx.org/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


Regards
Nitesh Narayan Lal
http://www.niteshnarayanlal.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150325/8ae3ece3/attachment.html>


More information about the nginx mailing list