Welcome! Log In Create A New Profile

Advanced

Re: Compiling and using NGINX in multi thread mode

Maxim Dounin
March 24, 2015 12:52PM
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".

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compiling and using NGINX in multi thread mode

niteshnarayanlal March 24, 2015 03:34AM

Re: Compiling and using NGINX in multi thread mode

Maxim Dounin March 24, 2015 12:52PM

Re: Compiling and using NGINX in multi thread mode

niteshnarayanlal March 25, 2015 02:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 240
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready