Thread (5 messages) 5 messages, 4 authors, 2017-05-30

Re: 'iw events' stops receiving events after a while on 4.9 + hacks

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2017-05-17 13:30:38
Also in: linux-wireless

Possibly related (same subject, not in this thread)

On Wed, 2017-05-17 at 12:08 +0200, Bastian Bittorf wrote:
* Ben Greear [off-list ref] [17.05.2017 11:51]:
quoted
I have been keeping an 'iw events' program running with a perl
script gathering its
output and post-processing it.  This has been working for several
years on 4.7 and earlier
kernels, but when testing on 4.9 overnight, I notice that 'iw
events' is not showing any input.  'strace' shows
that it is waiting on recvmsg.  If I start a second 'iw events'
then it will get
wifi events as expected.
me too, also seen on 4.4 - i'am happy for debug ideas.
I've never seen this.

Does it happen when it's very long-running? Or when there are lots of
events?

Perhaps something in the socket buffer accounting is going wrong, so
that it's slowly decreasing to 0?

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help