Re: $connections_waiting ever increasing

2016-12-01 Thread nemster
i think i solved it, it was due to processes crashing. i ran on an non optimized kernel on ec2. booting with the appropriate kernel seems to have solved it Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271269,271283#msg-271283 ___ nginx ma

Re: $connections_waiting ever increasing

2016-12-01 Thread nemster
TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf --sbin-path=/usr/bin/nginx --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --user=http --group=http --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --http-client-body-temp

$connections_waiting ever increasing

2016-12-01 Thread nemster
hi all! i see ever increasing numbers for $connections_waiting in the status plugin. nginx06% curl 'localhost/status' Active connections: 480810 server accepts handled requests 53456157 53456157 92142205 Reading: 5 Writing: 8435 Waiting: 471206 nginx06% sudo netstat -alpn | grep "^tcp" | wc -l 28

Re: custom logic after connection is closed

2016-11-14 Thread nemster
Hi Maxim, Maxim Dounin Wrote: --- > Hello! > > On Mon, Nov 14, 2016 at 05:08:33AM -0500, nemster wrote: > > > Hi! > > Is it possible to write a plugin that does some additional stuff > after a TLS > > (h

custom logic after connection is closed

2016-11-14 Thread nemster
Hi! Is it possible to write a plugin that does some additional stuff after a TLS (http/1.1, http/2.0) TCP connection. I would want to keep some extra struct for each TLS connection and manipulated it with every request, then once the TLS (or TCP) connection closes i would want to do some processin