From: "Roberto De Ioris" <roberto@unbit.it>
To: netdev@vger.kernel.org
Subject: [RFC] add SIOBKLGQ command to unix socket ioctl
Date: Fri, 16 Mar 2012 07:49:18 +0100 [thread overview]
Message-ID: <2f0e25f9694e236485bd5c6736ba314e.squirrel@manage.unbit.it> (raw)
Hi everyone, in the uWSGI project we use TCP_INFO
datas to know the status of the socket backlog queue (this helps
the master process identifying overloads)
http://projects.unbit.it/uwsgi/browser/master.c#L202
We would like to have a similar feature in unix sockets.
After a bit of investigation we decided to add an ioctl to get the backlog
size. This has been applied only to unix socket but i suppose it could be
used for other network families.
Patch follow
--
Roberto De Ioris
http://unbit.it
reply other threads:[~2012-03-16 6:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f0e25f9694e236485bd5c6736ba314e.squirrel@manage.unbit.it \
--to=roberto@unbit.it \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).