I have a listening socket on port 80 on ubuntu linux.
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 12248/nginx
Is there any way to get backlog value of that socket (backlog value that was sent to listen() call)?
I know that I could view the nginx configuration but configuration file could be changed without reloading nginx with new configuration, so the backlog argument in configuration and in actual LISTEN call could be different.
user133831 :
ss -lt gives this value in the Send-Q column.",
2013-11-28T17:44:08
Leon :
id use the current backlog information to manage the number of connections received BECAUSE I can respond to the incoming connections and tell the sender to modify their connection interval, thus reducing (or increasing) load. I cannot control how many incoming connections I get but I can control how frequently they connect, hence keeping the backlog down and preventing timeouts on incoming connections.\n\nin my case this happens to be a feature of the incoming connection source firmware, so it might be unique to my situation and not relevant to others. ",
2018-12-27T09:57:32