Welcome! Log In Create A New Profile

Advanced

Identifying "Writing" connections in status stub

Vlad K.
July 26, 2017 06:16AM
Hello list,

I'm graphing information from the nginx status page, and have noticed
something odd. The "Writing" connections are flat over time, not
correlated to the Active/Reading/Waiting connections and are steadily
increasing over time. Example for the past week:

https://pasteboard.co/GCHKB3B.png

Where it drops, is where I've restarted (not reloaded) the service, and
starts growing up after a short while. This server FreeBSD but I've
noticed it also in Debian.

Is there a way to find out which connections are these, which remote IPs
they are so I can track them with netstat or sockstat? This looks to me
like connection FD or something has been leaking. If this is a bug, I'm
not sure what to report.

I've also noticed, from time to time, connections lingering for long
time in "CLOSED" state (as reported by netstat), googling for which
seems to suggest a bug in application, where it doesn't release the FD
after the remote has closed.


Thanks.


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

Identifying "Writing" connections in status stub

Vlad K. July 26, 2017 06:16AM

Re: Identifying "Writing" connections in status stub

pbooth July 26, 2017 07:38AM

Re: Identifying "Writing" connections in status stub

Vlad K. July 26, 2017 12:08PM

Re: Identifying "Writing" connections in status stub

Maxim Dounin July 29, 2017 07:50PM

Re: Identifying "Writing" connections in status stub

Vlad K. July 30, 2017 04:12AM

Re: Identifying "Writing" connections in status stub

pbooth July 30, 2017 05:18AM

Re: Identifying "Writing" connections in status stub

pbooth July 30, 2017 05:28AM

Re: Identifying "Writing" connections in status stub

Vlad K. July 30, 2017 06:14AM

Re: Identifying "Writing" connections in status stub

pbooth July 30, 2017 07:32AM

Re: Identifying "Writing" connections in status stub

Vlad K. July 30, 2017 09:34AM

Re: Identifying "Writing" connections in status stub

pbooth July 30, 2017 02:04PM

Re: Identifying "Writing" connections in status stub

Vlad K. July 31, 2017 04:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready