Re: Status of nginx

2014-10-28 Thread karu.pruun
How do you enable the so_reuseport options, is it the sysctl ones?

net.inet.tcp.reuseport_ext: 1
net.inet.udp.reuseport_ext: 1


Peeter

--




On Tue, Oct 21, 2014 at 12:26 PM, Sepherosa Ziehau sepher...@gmail.com wrote:
 I'd also suggest to enable so_reuseport global option, which makes
 your server much faster :)

 On Tue, Oct 21, 2014 at 7:18 AM, Benjamin Woolley tauto...@gmail.com wrote:
 Hi Konrad,

 If you don't want to try master, know that I am using that combination now, 
 even with a dragonfly release that has the bug. I disabled sendfile support, 
 and it is working great. The combination runs great even without sendfile 
 support, as long as your requirements can live without it. I use it on an 
 image heavy site which hits sendfile often, but it is low traffic, so the 
 system is usually idle, and the difference is not noticeable.

 Ben

 On Oct 20, 2014, at 11:48 AM, Joris Giovannangeli jo...@giovannangeli.fr 
 wrote:

 Hi
 On 20/10/2014 16:04, Konrad Neuwirth wrote:
 Dear reader,

 what is the current status of nginx/php_fpm on DragonflyBSD? I know that 
 there were some discussion about that combination a while ago -- and we 
 also had been bitten by the bug that scrambled uploaded files. I also 
 remember seing patches; but did they solve the problem? Is nginx/php_fpm 
 now a well-running combination?

 This particular issue with sendfile has been fixed on master. I'm not
 aware of any other issues at the moment.

 Regards,
 joris





 --
 Tomorrow Will Never Die




Re: Status of nginx

2014-10-28 Thread Peter Avalos

 On Oct 28, 2014, at 12:49 AM, karu.pruun karu.pr...@gmail.com wrote:
 
 How do you enable the so_reuseport options, is it the sysctl ones?
 
 net.inet.tcp.reuseport_ext: 1
 net.inet.udp.reuseport_ext: 1
 
 

Put this in nginx.conf:
so_reuseport on;



Re: Status of nginx

2014-10-20 Thread Samuel J. Greear
The release engineering crew has been discussing release timeline, but you
could expect to see a shiny new and fresh release incorporating this
sendfile fix as well as potentially other improvements that could benefit
nginx (anyone feel like patching it to use clock_gettime(2) instead of
gettimeofday(2)?) within the next month.

On Mon, Oct 20, 2014 at 5:18 PM, Benjamin Woolley tauto...@gmail.com
wrote:

 Hi Konrad,

 If you don't want to try master, know that I am using that combination
 now, even with a dragonfly release that has the bug. I disabled sendfile
 support, and it is working great. The combination runs great even without
 sendfile support, as long as your requirements can live without it. I use
 it on an image heavy site which hits sendfile often, but it is low traffic,
 so the system is usually idle, and the difference is not noticeable.

 Ben

  On Oct 20, 2014, at 11:48 AM, Joris Giovannangeli 
 jo...@giovannangeli.fr wrote:
 
  Hi
  On 20/10/2014 16:04, Konrad Neuwirth wrote:
  Dear reader,
 
  what is the current status of nginx/php_fpm on DragonflyBSD? I know
 that there were some discussion about that combination a while ago -- and
 we also had been bitten by the bug that scrambled uploaded files. I also
 remember seing patches; but did they solve the problem? Is nginx/php_fpm
 now a well-running combination?
 
  This particular issue with sendfile has been fixed on master. I'm not
  aware of any other issues at the moment.
 
  Regards,
  joris