Nginx access log / logrotate, tailing and td-agent

2017-05-04 Thread nicktgr15
Hi, We are using td-agent to tail nginx logs and push them to s3 (every minute). We are rotating access logs every 10 minutes and we've noticed that when a log rotation happens log lines still go to the rotated log file for up to a minute after the rotation. Because of this we are losing some log

Re: listen fastopen

2017-05-04 Thread beatnut
Thank you, now i understand. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,274066,274070#msg-274070 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: listen fastopen

2017-05-04 Thread Maxim Dounin
Hello! On Thu, May 04, 2017 at 04:10:33AM -0400, beatnut wrote: > Hello, > Does anybody know what this warning which i found in the docs > http://nginx.org/en/docs/http/ngx_http_core_module.html#listen in the > context of fastopen means? > > "Do not enable this feature unless the server can han

Re: Limiting total disk space used by cache + temp files

2017-05-04 Thread Maxim Dounin
Hello! On Thu, May 04, 2017 at 02:50:53AM -0400, Michael Corn wrote: > I'm trying to limit the overall disk usage for the cache + any temp files. > > I have specified: > proxy_cache_path /tmp/cache max_size=50m > use_temp_path=off; > proxy_max_te

listen fastopen

2017-05-04 Thread beatnut
Hello, Does anybody know what this warning which i found in the docs http://nginx.org/en/docs/http/ngx_http_core_module.html#listen in the context of fastopen means? "Do not enable this feature unless the server can handle receiving the same SYN packet with data more than once." My kernel is 4.