Re: nginx cache mounted on tmpf getting fulled

2017-01-16 Thread steve
Hi, On 01/17/2017 02:37 PM, Peter Booth wrote: I'm curious, why are you using tmpfs for your cache store? With fast local storage bring so cheap, why don't you devote a few TB to your cache? When I look at the techempower benchmarks I see that openresty (an nginx build that comes with lots o

Re: nginx cache mounted on tmpf getting fulled

2017-01-16 Thread Peter Booth
I'm curious, why are you using tmpfs for your cache store? With fast local storage bring so cheap, why don't you devote a few TB to your cache? When I look at the techempower benchmarks I see that openresty (an nginx build that comes with lots of lua value add) can serve 440,000 JSON responses p

Re: nginx ipv6

2017-01-16 Thread basti
Hello, there where an other problem, ssl_session_tickets where set to off. My config is some days old and this nedd nginx >1.5.9. Turn ssl_session_tickets on and all works fine. Best Regards, On 16.01.2017 14:46, Alarig Le Lay wrote: > Hi, > > On Mon Jan 16 14:31:49 2017, basti wrote: >> serve

Re: nginx ipv6

2017-01-16 Thread Alarig Le Lay
Hi, On Mon Jan 16 14:31:49 2017, basti wrote: > server { > #listen443 http2 reuseport; > listen 443; ## listen for ipv4 > listen [::]:443 ipv6only=on; ## listen for ipv6 > > server_name ssl.example.com; > > access_log /var/log/nginx/https.access.log; > error_l

nginx ipv6

2017-01-16 Thread basti
Hello, I have installed nginx (debian package) and try ipv6. Connection to http over ipv6 works. Connection to https over ipv6 get protocol error. nginx -V nginx version: nginx/1.9.10 built with OpenSSL 1.0.2j 26 Sep 2016 TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -fPIE -

Re: Nginx record length during disk IO

2017-01-16 Thread Maxim Dounin
Hello! On Mon, Jan 16, 2017 at 07:10:41AM -0500, nicktgr15 wrote: > Thanks for the useful information Maxim! > > We ended up using strace to monitor the system calls and it looks like that > with our current setup (i.e. default buffer size) the record length is 65536 > bytes. > > read(17, "\35

Re: Nginx record length during disk IO

2017-01-16 Thread oscaretu .
When a call to rename(2) returns -1 and in errno the value es EXDEV, it means the system file doesn't support the rename feature, so the application is supposed to be able to solve this creating a file in the new filesystem and deleting the old file. This is something that I read recently about auf

Re: Nginx record length during disk IO

2017-01-16 Thread nicktgr15
Thanks for the useful information Maxim! We ended up using strace to monitor the system calls and it looks like that with our current setup (i.e. default buffer size) the record length is 65536 bytes. read(17, "\355\247=^\256\36\361\235~\356z"..., 65536) = 65536 write(18, "\355\247=^\256\36\361\

Re: nginx cache mounted on tmpf getting fulled

2017-01-16 Thread Igor A. Ippolitov
Hello, Your cache have 200m space for keys. This is around 1.6M items, isn't it? How much files do you have in your cache? May we have a look at `df -i ` and `du -s /cache/123` output, please? On 06.01.2017 08:40, omkar_jadhav_20 wrote: Hi, I am using nginx as webserver with nginx version: ngi