miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

miniupnpd triggers 'Dropping frame due to full tx queue 2'

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
braveheartleo



Joined: 23 Dec 2014
Posts: 3

PostPosted: Tue Dec 23, 2014 2:59 pm    Post subject: miniupnpd triggers 'Dropping frame due to full tx queue 2' Reply with quote

Hi,

I'm running miniupnpd-1.9.20141209-1 on a router with OpenWRT CHAOS CALMER (Bleeding Edge, r43762).

Unfortunately, miniupnpd triggers this kernel message
Code:
ieee80211 phy0: rt2x00queue_write_tx_frame: Error - Dropping frame due to full tx queue 2

which results in my wireless clients unable to access the network.

Reverting to miniupnpd-1.8.20140523-4 does not exhibit the issue. I can tell this because miniupnpd is the only variable that changed, which triggered the error messages.

Would running a packet capture (tcpdump -i <ifname> -nnvvS -w <file> port 1900 or port 5000) suffice, to provide further troubleshooting info? Port 5000 is miniupnpd's configured http descriptions/soap port. miniupnpd is IPv6-enabled and active.

Here's my bug report on OpenWRT's github for reference: github .com / openwrt-routing / packages / issues / 72

Happy holidays. ^_^
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Wed Dec 24, 2014 10:57 am    Post subject: Reply with quote

that is strange... I don't know what changed that could cause this bug.
I will investigate further after chrismas
https://github.com/openwrt-routing/packages/issues/72
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
braveheartleo



Joined: 23 Dec 2014
Posts: 3

PostPosted: Thu Dec 25, 2014 12:39 am    Post subject: Reply with quote

Hi admin,

My other bug report [1] concerning miniupnpd might provide some more troubleshooting leads into this issue. From that bug report, upon every reboot of the router, those miniupnpd messages are logged. What's constant though, is the number of packets it tried to send from that log every reboot.

In miniupnpd-1.8.20140523-4, it is always
Code:
Thu Dec 25 04:24:45 2014 daemon.err miniupnpd[1558]: try_sendto failed to send 44 packets


While in miniupnpd-1.9.20141209-1, it is
Code:
Thu Dec 25 08:28:48 2014 daemon.err miniupnpd[1555]: try_sendto failed to send 88 packets


As you can see, it has doubled from 1.8.20140523-4 to 1.9.20141209-1. This may give an indication why miniupnpd might be causing the kernel message.

For reference, here is the configuration I'm using:
Code:
ext_ifname=eth0.2
listening_ip=eth0.1
listening_ip=wlan0
listening_ip=wlan0-1
port=5000
enable_natpmp=yes
enable_upnp=yes
secure_mode=yes
pcp_allow_thirdparty=no
system_uptime=yes
lease_file=/tmp/upnp.leases
bitrate_down=8388608
bitrate_up=4194304
uuid=<uuid>
allow 1024-65535 0.0.0.0/0 1024-65535
deny 0-65535 0.0.0.0/0 0-65535


Happy christmas.

[1] https://github.com/openwrt-routing/packages/issues/73
Back to top
View user's profile Send private message
braveheartleo



Joined: 23 Dec 2014
Posts: 3

PostPosted: Thu Jan 15, 2015 3:50 am    Post subject: Reply with quote

Hi Admin,

Do we have any updates on this issue? Please let me know if you need any further troubleshooting info.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1593

PostPosted: Sat Jan 17, 2015 11:10 am    Post subject: Reply with quote

can't you see what are the parameters of your kernel "tx queue" ?

also have a look at SendSSDPNotify() in minissdp.c
All SSDP Notify packets are sent twice : once schedule for send immediatly, and once 250ms later. Playing with that you may understand whats going on
https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/minissdp.c#L573
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.