19.1 rc2 and igmpproxy - 10 sec. freeze every 30 minutes on IPTV

Started by jpatriarca, January 27, 2019, 11:38:00 PM

Previous topic - Next topic
Hi team,

I've detected that after upgrading from 18.7.10 to 19.1 (rc1 and rc2) my IPTV service freezes for 10 seconds every 30 minutes. After some further investigation I've detected that after the rc.newwanip and rc.newwanipv6 scripts runs on the WAN interface, 1 second after igmpproxy services goes down and restore itself. Since that it runs in sequence, there are two igmpproxy service stops, as the following logs indicates (full activity in system.log related to the issue:


[b]Jan 27 20:38:31 igmpproxy[84421]: select() failure; Errno(4): Interrupted system call[/b]
Jan 27 20:38:30 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: (Success) patriarca.pt updated to <WAN IP>
Jan 27 20:38:30 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: updating cache file /var/cache/dyndns_wan_public.domain_0.cache: <WAN IP>
Jan 27 20:38:30 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain): <WAN IP> extracted
Jan 27 20:38:30 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain): Current Service: cloudflare
Jan 27 20:38:30 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain): _checkStatus() starting.
Jan 27 20:38:28 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain via CloudFlare): _update() starting.
Jan 27 20:38:28 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain): running get_failover_interface for wan. found igb0_vlan12
Jan 27 20:38:28 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS (public.domain): <WAN IP> extracted
Jan 27 20:38:28 opnsense: /usr/local/etc/rc.newwanipv6: Dynamic DNS: updatedns() starting
[b]Jan 27 20:38:25 igmpproxy[36326]: select() failure; Errno(4): Interrupted system call[/b]
Jan 27 20:38:24 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS: (Success) public.domain updated to <WAN IP>
Jan 27 20:38:24 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS: updating cache file /var/cache/dyndns_wan_patriarca.pt_0.cache: <WAN IP>
Jan 27 20:38:24 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain): <WAN IP> extracted
Jan 27 20:38:24 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain): Current Service: cloudflare
Jan 27 20:38:24 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain): _checkStatus() starting.
Jan 27 20:38:22 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain via CloudFlare): _update() starting.
Jan 27 20:38:22 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain): running get_failover_interface for wan. found igb0_vlan12
Jan 27 20:38:22 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS (public.domain): <WAN IP> extracted
Jan 27 20:38:22 opnsense: /usr/local/etc/rc.newwanip: Dynamic DNS: updatedns() starting
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: skipping IPv6 default route
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: keeping current default gateway 'WAN router'
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: setting IPv4 default route to WAN router
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: no IPv6 default gateway set, assuming wan
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: IPv4 default gateway set to wan
Jan 27 20:38:20 opnsense: /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using 'wan'
Jan 27 20:38:19 opnsense: /usr/local/etc/rc.newwanipv6: On (IP address: <Local IPV6 IP>) (interface: WAN_Meo[wan]) (real interface: igb0_vlan12).
Jan 27 20:38:19 opnsense: /usr/local/etc/rc.newwanipv6: IP renewal is starting on 'igb0_vlan12'
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: skipping IPv6 default route
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: keeping current default gateway 'WAN router'
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: setting IPv4 default route to <WAN router>
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: no IPv6 default gateway set, assuming wan
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: IPv4 default gateway set to wan
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: ROUTING: entering configure using 'wan'
Jan 27 20:38:16 opnsense: /usr/local/etc/rc.newwanip: Accept router advertisements on interface igb0_vlan12
Jan 27 20:38:15 opnsense: /usr/local/etc/rc.newwanip: On (IP address: <WAN IP>) (interface: WAN_Meo[wan]) (real interface: igb0_vlan12).
Jan 27 20:38:15 opnsense: /usr/local/etc/rc.newwanip: IP renewal is starting on 'igb0_vlan12'


Tried to disable DDNS service since that was my first assumption on the error but with no results.

WAN interfaces are both configured for DHCP/DHCP6.

Require your help and knowledge about this to solve this problem when possible. Let me know if you needfurther debug, logs or commands to be executed.

PS - I remember on a equivalent error in OpenWRT and igmpproxy also related with this automatic script a couple of years ago. If it helps...

Hi all,
Just an update to inform that this situation still happens in 19.1 release and 19.1.1 upgrade.

There's anyone that could help on this to try to resolve this issue?

Thank you

Not sure but could be related to this issue...
https://forum.opnsense.org/index.php?topic=11456.30

particularly this part...
"Firewall: Settings: Advanced: Dynamic state reset" active (Reset all states when a dynamic IP address changes.This option flushes the entire state table on IPv4 address changes in dynamic setups to e.g. allow VoIP servers to re-register.)

The same ticket was raised on GitHub, sadly no link between forum and it in any direction. I noted the same thing there:

https://github.com/opnsense/plugins/issues/1152


Cheers,
Franco