2 minute drop outs and resource leaks are back

There’s a number of us here that have had a different experience. It’s extremely simple to implement, the only thing is the waiting time to see the outcome.

Which suggests that setting swappiness = 0 is addressing a symptom, not the root cause. I’ve noticed that some of these reports are accompanied by suggestions of network issues. I wonder if memory objects for network connections keep being created but are not freed when a connection times out.

1 Like

I don’t have any network timeouts.

Also, I found multiple resources on tuning Linux for LevelDB installations that strongly recommend a swappiness of zero to be set.

It is still happening. It just took nearly 3 full minutes for Roon to start playback (Startling me again, because at some point you forget you tried)



Notable points: memory is actually ever-so-slightly down ¯\(ツ)
Note the ominous stepwise increase of idle CPU load. This gonna be droppy as hell again shortly.

@Robem Swap is still nonexistent as it should:

. Of course the swappiness cannot be the problem, and shouldn’t be required on a 16GiB dedicated box. It wouldn’t explain any of the symptoms either - unless you ignore the root cause (resource leaks) and wait for it to become so bad that swap is actually starting to be used. Even then, it would merely affect secondary symptoms.

No time-correlated (network) events that I can see.

Hi @S_Heeren ,

Thanks for the additional details and testing you’ve done here. I am still in active communication with our developers trying to get to the bottom of what is causing this behavior for some of our users. Our devs have asked if you could kindly share the output from the following Terminal commands with us:

sysctl net.ipv6
ifconfig

@noris much appreciated

Here it is:

net.ipv6.anycast_src_echo_reply = 0
net.ipv6.auto_flowlabels = 1
net.ipv6.bindv6only = 0
net.ipv6.calipso_cache_bucket_size = 10
net.ipv6.calipso_cache_enable = 1
net.ipv6.conf.all.accept_dad = 0
net.ipv6.conf.all.accept_ra = 1
net.ipv6.conf.all.accept_ra_defrtr = 1
net.ipv6.conf.all.accept_ra_from_local = 0
net.ipv6.conf.all.accept_ra_min_hop_limit = 1
net.ipv6.conf.all.accept_ra_mtu = 1
net.ipv6.conf.all.accept_ra_pinfo = 1
net.ipv6.conf.all.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.all.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.all.accept_ra_rtr_pref = 1
net.ipv6.conf.all.accept_redirects = 1
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.all.addr_gen_mode = 0
net.ipv6.conf.all.autoconf = 1
net.ipv6.conf.all.dad_transmits = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.all.disable_policy = 0
net.ipv6.conf.all.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.all.drop_unsolicited_na = 0
net.ipv6.conf.all.enhanced_dad = 1
net.ipv6.conf.all.force_mld_version = 0
net.ipv6.conf.all.force_tllao = 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.all.hop_limit = 64
net.ipv6.conf.all.ignore_routes_with_linkdown = 0
net.ipv6.conf.all.ioam6_enabled = 0
net.ipv6.conf.all.ioam6_id = 65535
net.ipv6.conf.all.ioam6_id_wide = 4294967295
net.ipv6.conf.all.keep_addr_on_down = 0
net.ipv6.conf.all.max_addresses = 16
net.ipv6.conf.all.max_desync_factor = 600
net.ipv6.conf.all.mc_forwarding = 0
net.ipv6.conf.all.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.all.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.all.mtu = 1280
net.ipv6.conf.all.ndisc_notify = 0
net.ipv6.conf.all.ndisc_tclass = 0
net.ipv6.conf.all.proxy_ndp = 0
net.ipv6.conf.all.ra_defrtr_metric = 1024
net.ipv6.conf.all.regen_max_retry = 3
net.ipv6.conf.all.router_probe_interval = 60
net.ipv6.conf.all.router_solicitation_delay = 1
net.ipv6.conf.all.router_solicitation_interval = 4
net.ipv6.conf.all.router_solicitation_max_interval = 3600
net.ipv6.conf.all.router_solicitations = -1
net.ipv6.conf.all.rpl_seg_enabled = 0
net.ipv6.conf.all.seg6_enabled = 0
net.ipv6.conf.all.seg6_require_hmac = 0
net.ipv6.conf.all.suppress_frag_ndisc = 1
net.ipv6.conf.all.temp_prefered_lft = 86400
net.ipv6.conf.all.temp_valid_lft = 604800
net.ipv6.conf.all.use_oif_addrs_only = 0
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.accept_dad = 1
net.ipv6.conf.default.accept_ra = 1
net.ipv6.conf.default.accept_ra_defrtr = 1
net.ipv6.conf.default.accept_ra_from_local = 0
net.ipv6.conf.default.accept_ra_min_hop_limit = 1
net.ipv6.conf.default.accept_ra_mtu = 1
net.ipv6.conf.default.accept_ra_pinfo = 1
net.ipv6.conf.default.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.default.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.default.accept_ra_rtr_pref = 1
net.ipv6.conf.default.accept_redirects = 1
net.ipv6.conf.default.accept_source_route = 0
net.ipv6.conf.default.addr_gen_mode = 0
net.ipv6.conf.default.autoconf = 1
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.default.disable_policy = 0
net.ipv6.conf.default.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.default.drop_unsolicited_na = 0
net.ipv6.conf.default.enhanced_dad = 1
net.ipv6.conf.default.force_mld_version = 0
net.ipv6.conf.default.force_tllao = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.hop_limit = 64
net.ipv6.conf.default.ignore_routes_with_linkdown = 0
net.ipv6.conf.default.ioam6_enabled = 0
net.ipv6.conf.default.ioam6_id = 65535
net.ipv6.conf.default.ioam6_id_wide = 4294967295
net.ipv6.conf.default.keep_addr_on_down = 0
net.ipv6.conf.default.max_addresses = 16
net.ipv6.conf.default.max_desync_factor = 600
net.ipv6.conf.default.mc_forwarding = 0
net.ipv6.conf.default.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.default.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.default.mtu = 1280
net.ipv6.conf.default.ndisc_notify = 0
net.ipv6.conf.default.ndisc_tclass = 0
net.ipv6.conf.default.proxy_ndp = 0
net.ipv6.conf.default.ra_defrtr_metric = 1024
net.ipv6.conf.default.regen_max_retry = 3
net.ipv6.conf.default.router_probe_interval = 60
net.ipv6.conf.default.router_solicitation_delay = 1
net.ipv6.conf.default.router_solicitation_interval = 4
net.ipv6.conf.default.router_solicitation_max_interval = 3600
net.ipv6.conf.default.router_solicitations = -1
net.ipv6.conf.default.rpl_seg_enabled = 0
net.ipv6.conf.default.seg6_enabled = 0
net.ipv6.conf.default.seg6_require_hmac = 0
net.ipv6.conf.default.suppress_frag_ndisc = 1
net.ipv6.conf.default.temp_prefered_lft = 86400
net.ipv6.conf.default.temp_valid_lft = 604800
net.ipv6.conf.default.use_oif_addrs_only = 0
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.docker0.accept_dad = 1
net.ipv6.conf.docker0.accept_ra = 0
net.ipv6.conf.docker0.accept_ra_defrtr = 1
net.ipv6.conf.docker0.accept_ra_from_local = 0
net.ipv6.conf.docker0.accept_ra_min_hop_limit = 1
net.ipv6.conf.docker0.accept_ra_mtu = 1
net.ipv6.conf.docker0.accept_ra_pinfo = 1
net.ipv6.conf.docker0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.docker0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.docker0.accept_ra_rtr_pref = 1
net.ipv6.conf.docker0.accept_redirects = 1
net.ipv6.conf.docker0.accept_source_route = 0
net.ipv6.conf.docker0.addr_gen_mode = 0
net.ipv6.conf.docker0.autoconf = 1
net.ipv6.conf.docker0.dad_transmits = 1
net.ipv6.conf.docker0.disable_ipv6 = 1
net.ipv6.conf.docker0.disable_policy = 0
net.ipv6.conf.docker0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.docker0.drop_unsolicited_na = 0
net.ipv6.conf.docker0.enhanced_dad = 1
net.ipv6.conf.docker0.force_mld_version = 0
net.ipv6.conf.docker0.force_tllao = 0
net.ipv6.conf.docker0.forwarding = 0
net.ipv6.conf.docker0.hop_limit = 64
net.ipv6.conf.docker0.ignore_routes_with_linkdown = 0
net.ipv6.conf.docker0.ioam6_enabled = 0
net.ipv6.conf.docker0.ioam6_id = 65535
net.ipv6.conf.docker0.ioam6_id_wide = 4294967295
net.ipv6.conf.docker0.keep_addr_on_down = 0
net.ipv6.conf.docker0.max_addresses = 16
net.ipv6.conf.docker0.max_desync_factor = 600
net.ipv6.conf.docker0.mc_forwarding = 0
net.ipv6.conf.docker0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.docker0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.docker0.mtu = 1500
net.ipv6.conf.docker0.ndisc_notify = 0
net.ipv6.conf.docker0.ndisc_tclass = 0
net.ipv6.conf.docker0.proxy_ndp = 0
net.ipv6.conf.docker0.ra_defrtr_metric = 1024
net.ipv6.conf.docker0.regen_max_retry = 3
net.ipv6.conf.docker0.router_probe_interval = 60
net.ipv6.conf.docker0.router_solicitation_delay = 1
net.ipv6.conf.docker0.router_solicitation_interval = 4
net.ipv6.conf.docker0.router_solicitation_max_interval = 3600
net.ipv6.conf.docker0.router_solicitations = -1
net.ipv6.conf.docker0.rpl_seg_enabled = 0
net.ipv6.conf.docker0.seg6_enabled = 0
net.ipv6.conf.docker0.seg6_require_hmac = 0
net.ipv6.conf.docker0.suppress_frag_ndisc = 1
net.ipv6.conf.docker0.temp_prefered_lft = 86400
net.ipv6.conf.docker0.temp_valid_lft = 604800
net.ipv6.conf.docker0.use_oif_addrs_only = 0
net.ipv6.conf.docker0.use_tempaddr = 2
net.ipv6.conf.enp1s0.accept_dad = 1
net.ipv6.conf.enp1s0.accept_ra = 0
net.ipv6.conf.enp1s0.accept_ra_defrtr = 1
net.ipv6.conf.enp1s0.accept_ra_from_local = 0
net.ipv6.conf.enp1s0.accept_ra_min_hop_limit = 1
net.ipv6.conf.enp1s0.accept_ra_mtu = 1
net.ipv6.conf.enp1s0.accept_ra_pinfo = 1
net.ipv6.conf.enp1s0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.enp1s0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.enp1s0.accept_ra_rtr_pref = 1
net.ipv6.conf.enp1s0.accept_redirects = 1
net.ipv6.conf.enp1s0.accept_source_route = 0
net.ipv6.conf.enp1s0.addr_gen_mode = 0
net.ipv6.conf.enp1s0.autoconf = 1
net.ipv6.conf.enp1s0.dad_transmits = 1
net.ipv6.conf.enp1s0.disable_ipv6 = 1
net.ipv6.conf.enp1s0.disable_policy = 0
net.ipv6.conf.enp1s0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.enp1s0.drop_unsolicited_na = 0
net.ipv6.conf.enp1s0.enhanced_dad = 1
net.ipv6.conf.enp1s0.force_mld_version = 0
net.ipv6.conf.enp1s0.force_tllao = 0
net.ipv6.conf.enp1s0.forwarding = 0
net.ipv6.conf.enp1s0.hop_limit = 64
net.ipv6.conf.enp1s0.ignore_routes_with_linkdown = 0
net.ipv6.conf.enp1s0.ioam6_enabled = 0
net.ipv6.conf.enp1s0.ioam6_id = 65535
net.ipv6.conf.enp1s0.ioam6_id_wide = 4294967295
net.ipv6.conf.enp1s0.keep_addr_on_down = 0
net.ipv6.conf.enp1s0.max_addresses = 16
net.ipv6.conf.enp1s0.max_desync_factor = 600
net.ipv6.conf.enp1s0.mc_forwarding = 0
net.ipv6.conf.enp1s0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.enp1s0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.enp1s0.mtu = 1500
net.ipv6.conf.enp1s0.ndisc_notify = 0
net.ipv6.conf.enp1s0.ndisc_tclass = 0
net.ipv6.conf.enp1s0.proxy_ndp = 0
net.ipv6.conf.enp1s0.ra_defrtr_metric = 1024
net.ipv6.conf.enp1s0.regen_max_retry = 3
net.ipv6.conf.enp1s0.router_probe_interval = 60
net.ipv6.conf.enp1s0.router_solicitation_delay = 1
net.ipv6.conf.enp1s0.router_solicitation_interval = 4
net.ipv6.conf.enp1s0.router_solicitation_max_interval = 3600
net.ipv6.conf.enp1s0.router_solicitations = -1
net.ipv6.conf.enp1s0.rpl_seg_enabled = 0
net.ipv6.conf.enp1s0.seg6_enabled = 0
net.ipv6.conf.enp1s0.seg6_require_hmac = 0
net.ipv6.conf.enp1s0.suppress_frag_ndisc = 1
net.ipv6.conf.enp1s0.temp_prefered_lft = 86400
net.ipv6.conf.enp1s0.temp_valid_lft = 604800
net.ipv6.conf.enp1s0.use_oif_addrs_only = 0
net.ipv6.conf.enp1s0.use_tempaddr = 0
net.ipv6.conf.lo.accept_dad = -1
net.ipv6.conf.lo.accept_ra = 1
net.ipv6.conf.lo.accept_ra_defrtr = 1
net.ipv6.conf.lo.accept_ra_from_local = 0
net.ipv6.conf.lo.accept_ra_min_hop_limit = 1
net.ipv6.conf.lo.accept_ra_mtu = 1
net.ipv6.conf.lo.accept_ra_pinfo = 1
net.ipv6.conf.lo.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.lo.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.lo.accept_ra_rtr_pref = 1
net.ipv6.conf.lo.accept_redirects = 1
net.ipv6.conf.lo.accept_source_route = 0
net.ipv6.conf.lo.addr_gen_mode = 0
net.ipv6.conf.lo.autoconf = 1
net.ipv6.conf.lo.dad_transmits = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.lo.disable_policy = 0
net.ipv6.conf.lo.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.lo.drop_unsolicited_na = 0
net.ipv6.conf.lo.enhanced_dad = 1
net.ipv6.conf.lo.force_mld_version = 0
net.ipv6.conf.lo.force_tllao = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.lo.hop_limit = 64
net.ipv6.conf.lo.ignore_routes_with_linkdown = 0
net.ipv6.conf.lo.ioam6_enabled = 0
net.ipv6.conf.lo.ioam6_id = 65535
net.ipv6.conf.lo.ioam6_id_wide = 4294967295
net.ipv6.conf.lo.keep_addr_on_down = 0
net.ipv6.conf.lo.max_addresses = 16
net.ipv6.conf.lo.max_desync_factor = 600
net.ipv6.conf.lo.mc_forwarding = 0
net.ipv6.conf.lo.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.lo.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.lo.mtu = 65536
net.ipv6.conf.lo.ndisc_notify = 0
net.ipv6.conf.lo.ndisc_tclass = 0
net.ipv6.conf.lo.proxy_ndp = 0
net.ipv6.conf.lo.ra_defrtr_metric = 1024
net.ipv6.conf.lo.regen_max_retry = 3
net.ipv6.conf.lo.router_probe_interval = 60
net.ipv6.conf.lo.router_solicitation_delay = 1
net.ipv6.conf.lo.router_solicitation_interval = 4
net.ipv6.conf.lo.router_solicitation_max_interval = 3600
net.ipv6.conf.lo.router_solicitations = -1
net.ipv6.conf.lo.rpl_seg_enabled = 0
net.ipv6.conf.lo.seg6_enabled = 0
net.ipv6.conf.lo.seg6_require_hmac = 0
net.ipv6.conf.lo.suppress_frag_ndisc = 1
net.ipv6.conf.lo.temp_prefered_lft = 86400
net.ipv6.conf.lo.temp_valid_lft = 604800
net.ipv6.conf.lo.use_oif_addrs_only = 0
net.ipv6.conf.lo.use_tempaddr = -1
net.ipv6.conf.virbr0.accept_dad = 1
net.ipv6.conf.virbr0.accept_ra = 0
net.ipv6.conf.virbr0.accept_ra_defrtr = 1
net.ipv6.conf.virbr0.accept_ra_from_local = 0
net.ipv6.conf.virbr0.accept_ra_min_hop_limit = 1
net.ipv6.conf.virbr0.accept_ra_mtu = 1
net.ipv6.conf.virbr0.accept_ra_pinfo = 1
net.ipv6.conf.virbr0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.virbr0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.virbr0.accept_ra_rtr_pref = 1
net.ipv6.conf.virbr0.accept_redirects = 1
net.ipv6.conf.virbr0.accept_source_route = 0
net.ipv6.conf.virbr0.addr_gen_mode = 0
net.ipv6.conf.virbr0.autoconf = 0
net.ipv6.conf.virbr0.dad_transmits = 1
net.ipv6.conf.virbr0.disable_ipv6 = 1
net.ipv6.conf.virbr0.disable_policy = 0
net.ipv6.conf.virbr0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.virbr0.drop_unsolicited_na = 0
net.ipv6.conf.virbr0.enhanced_dad = 1
net.ipv6.conf.virbr0.force_mld_version = 0
net.ipv6.conf.virbr0.force_tllao = 0
net.ipv6.conf.virbr0.forwarding = 0
net.ipv6.conf.virbr0.hop_limit = 64
net.ipv6.conf.virbr0.ignore_routes_with_linkdown = 0
net.ipv6.conf.virbr0.ioam6_enabled = 0
net.ipv6.conf.virbr0.ioam6_id = 65535
net.ipv6.conf.virbr0.ioam6_id_wide = 4294967295
net.ipv6.conf.virbr0.keep_addr_on_down = 0
net.ipv6.conf.virbr0.max_addresses = 16
net.ipv6.conf.virbr0.max_desync_factor = 600
net.ipv6.conf.virbr0.mc_forwarding = 0
net.ipv6.conf.virbr0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.virbr0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.virbr0.mtu = 1500
net.ipv6.conf.virbr0.ndisc_notify = 0
net.ipv6.conf.virbr0.ndisc_tclass = 0
net.ipv6.conf.virbr0.proxy_ndp = 0
net.ipv6.conf.virbr0.ra_defrtr_metric = 1024
net.ipv6.conf.virbr0.regen_max_retry = 3
net.ipv6.conf.virbr0.router_probe_interval = 60
net.ipv6.conf.virbr0.router_solicitation_delay = 1
net.ipv6.conf.virbr0.router_solicitation_interval = 4
net.ipv6.conf.virbr0.router_solicitation_max_interval = 3600
net.ipv6.conf.virbr0.router_solicitations = -1
net.ipv6.conf.virbr0.rpl_seg_enabled = 0
net.ipv6.conf.virbr0.seg6_enabled = 0
net.ipv6.conf.virbr0.seg6_require_hmac = 0
net.ipv6.conf.virbr0.suppress_frag_ndisc = 1
net.ipv6.conf.virbr0.temp_prefered_lft = 86400
net.ipv6.conf.virbr0.temp_valid_lft = 604800
net.ipv6.conf.virbr0.use_oif_addrs_only = 0
net.ipv6.conf.virbr0.use_tempaddr = 2
net.ipv6.conf.wlp2s0.accept_dad = 1
net.ipv6.conf.wlp2s0.accept_ra = 0
net.ipv6.conf.wlp2s0.accept_ra_defrtr = 1
net.ipv6.conf.wlp2s0.accept_ra_from_local = 0
net.ipv6.conf.wlp2s0.accept_ra_min_hop_limit = 1
net.ipv6.conf.wlp2s0.accept_ra_mtu = 1
net.ipv6.conf.wlp2s0.accept_ra_pinfo = 1
net.ipv6.conf.wlp2s0.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.wlp2s0.accept_ra_rt_info_min_plen = 0
net.ipv6.conf.wlp2s0.accept_ra_rtr_pref = 1
net.ipv6.conf.wlp2s0.accept_redirects = 1
net.ipv6.conf.wlp2s0.accept_source_route = 0
net.ipv6.conf.wlp2s0.addr_gen_mode = 0
net.ipv6.conf.wlp2s0.autoconf = 1
net.ipv6.conf.wlp2s0.dad_transmits = 1
net.ipv6.conf.wlp2s0.disable_ipv6 = 1
net.ipv6.conf.wlp2s0.disable_policy = 0
net.ipv6.conf.wlp2s0.drop_unicast_in_l2_multicast = 0
net.ipv6.conf.wlp2s0.drop_unsolicited_na = 0
net.ipv6.conf.wlp2s0.enhanced_dad = 1
net.ipv6.conf.wlp2s0.force_mld_version = 0
net.ipv6.conf.wlp2s0.force_tllao = 0
net.ipv6.conf.wlp2s0.forwarding = 0
net.ipv6.conf.wlp2s0.hop_limit = 64
net.ipv6.conf.wlp2s0.ignore_routes_with_linkdown = 0
net.ipv6.conf.wlp2s0.ioam6_enabled = 0
net.ipv6.conf.wlp2s0.ioam6_id = 65535
net.ipv6.conf.wlp2s0.ioam6_id_wide = 4294967295
net.ipv6.conf.wlp2s0.keep_addr_on_down = 0
net.ipv6.conf.wlp2s0.max_addresses = 16
net.ipv6.conf.wlp2s0.max_desync_factor = 600
net.ipv6.conf.wlp2s0.mc_forwarding = 0
net.ipv6.conf.wlp2s0.mldv1_unsolicited_report_interval = 10000
net.ipv6.conf.wlp2s0.mldv2_unsolicited_report_interval = 1000
net.ipv6.conf.wlp2s0.mtu = 1500
net.ipv6.conf.wlp2s0.ndisc_notify = 0
net.ipv6.conf.wlp2s0.ndisc_tclass = 0
net.ipv6.conf.wlp2s0.proxy_ndp = 0
net.ipv6.conf.wlp2s0.ra_defrtr_metric = 1024
net.ipv6.conf.wlp2s0.regen_max_retry = 3
net.ipv6.conf.wlp2s0.router_probe_interval = 60
net.ipv6.conf.wlp2s0.router_solicitation_delay = 1
net.ipv6.conf.wlp2s0.router_solicitation_interval = 4
net.ipv6.conf.wlp2s0.router_solicitation_max_interval = 3600
net.ipv6.conf.wlp2s0.router_solicitations = -1
net.ipv6.conf.wlp2s0.rpl_seg_enabled = 0
net.ipv6.conf.wlp2s0.seg6_enabled = 0
net.ipv6.conf.wlp2s0.seg6_require_hmac = 0
net.ipv6.conf.wlp2s0.suppress_frag_ndisc = 1
net.ipv6.conf.wlp2s0.temp_prefered_lft = 86400
net.ipv6.conf.wlp2s0.temp_valid_lft = 604800
net.ipv6.conf.wlp2s0.use_oif_addrs_only = 0
net.ipv6.conf.wlp2s0.use_tempaddr = 0
net.ipv6.fib_multipath_hash_fields = 7
net.ipv6.fib_multipath_hash_policy = 0
net.ipv6.fib_notify_on_flag_change = 0
net.ipv6.flowlabel_consistency = 1
net.ipv6.flowlabel_reflect = 0
net.ipv6.flowlabel_state_ranges = 0
net.ipv6.fwmark_reflect = 0
net.ipv6.icmp.echo_ignore_all = 0
net.ipv6.icmp.echo_ignore_anycast = 0
net.ipv6.icmp.echo_ignore_multicast = 0
net.ipv6.icmp.ratelimit = 1000
net.ipv6.icmp.ratemask = 0-1,3-127
net.ipv6.idgen_delay = 1
net.ipv6.idgen_retries = 3
net.ipv6.ioam6_id = 16777215
net.ipv6.ioam6_id_wide = 72057594037927935
net.ipv6.ip6frag_high_thresh = 4194304
net.ipv6.ip6frag_low_thresh = 3145728
net.ipv6.ip6frag_secret_interval = 0
net.ipv6.ip6frag_time = 60
net.ipv6.ip_nonlocal_bind = 0
net.ipv6.max_dst_opts_length = 2147483647
net.ipv6.max_dst_opts_number = 8
net.ipv6.max_hbh_length = 2147483647
net.ipv6.max_hbh_opts_number = 8
net.ipv6.mld_max_msf = 64
net.ipv6.mld_qrv = 2
net.ipv6.neigh.default.anycast_delay = 100
net.ipv6.neigh.default.app_solicit = 0
net.ipv6.neigh.default.base_reachable_time_ms = 30000
net.ipv6.neigh.default.delay_first_probe_time = 5
net.ipv6.neigh.default.gc_interval = 30
net.ipv6.neigh.default.gc_stale_time = 60
net.ipv6.neigh.default.gc_thresh1 = 128
net.ipv6.neigh.default.gc_thresh2 = 512
net.ipv6.neigh.default.gc_thresh3 = 1024
net.ipv6.neigh.default.locktime = 0
net.ipv6.neigh.default.mcast_resolicit = 0
net.ipv6.neigh.default.mcast_solicit = 3
net.ipv6.neigh.default.proxy_delay = 80
net.ipv6.neigh.default.proxy_qlen = 64
net.ipv6.neigh.default.retrans_time_ms = 1000
net.ipv6.neigh.default.ucast_solicit = 3
net.ipv6.neigh.default.unres_qlen = 101
net.ipv6.neigh.default.unres_qlen_bytes = 212992
net.ipv6.neigh.docker0.anycast_delay = 100
net.ipv6.neigh.docker0.app_solicit = 0
net.ipv6.neigh.docker0.base_reachable_time_ms = 30000
net.ipv6.neigh.docker0.delay_first_probe_time = 5
net.ipv6.neigh.docker0.gc_stale_time = 60
net.ipv6.neigh.docker0.locktime = 0
net.ipv6.neigh.docker0.mcast_resolicit = 0
net.ipv6.neigh.docker0.mcast_solicit = 3
net.ipv6.neigh.docker0.proxy_delay = 80
net.ipv6.neigh.docker0.proxy_qlen = 64
net.ipv6.neigh.docker0.retrans_time_ms = 1000
net.ipv6.neigh.docker0.ucast_solicit = 3
net.ipv6.neigh.docker0.unres_qlen = 101
net.ipv6.neigh.docker0.unres_qlen_bytes = 212992
net.ipv6.neigh.enp1s0.anycast_delay = 100
net.ipv6.neigh.enp1s0.app_solicit = 0
net.ipv6.neigh.enp1s0.base_reachable_time_ms = 30000
net.ipv6.neigh.enp1s0.delay_first_probe_time = 5
net.ipv6.neigh.enp1s0.gc_stale_time = 60
net.ipv6.neigh.enp1s0.locktime = 0
net.ipv6.neigh.enp1s0.mcast_resolicit = 0
net.ipv6.neigh.enp1s0.mcast_solicit = 3
net.ipv6.neigh.enp1s0.proxy_delay = 80
net.ipv6.neigh.enp1s0.proxy_qlen = 64
net.ipv6.neigh.enp1s0.retrans_time_ms = 1000
net.ipv6.neigh.enp1s0.ucast_solicit = 3
net.ipv6.neigh.enp1s0.unres_qlen = 101
net.ipv6.neigh.enp1s0.unres_qlen_bytes = 212992
net.ipv6.neigh.lo.anycast_delay = 100
net.ipv6.neigh.lo.app_solicit = 0
net.ipv6.neigh.lo.base_reachable_time_ms = 30000
net.ipv6.neigh.lo.delay_first_probe_time = 5
net.ipv6.neigh.lo.gc_stale_time = 60
net.ipv6.neigh.lo.locktime = 0
net.ipv6.neigh.lo.mcast_resolicit = 0
net.ipv6.neigh.lo.mcast_solicit = 3
net.ipv6.neigh.lo.proxy_delay = 80
net.ipv6.neigh.lo.proxy_qlen = 64
net.ipv6.neigh.lo.retrans_time_ms = 1000
net.ipv6.neigh.lo.ucast_solicit = 3
net.ipv6.neigh.lo.unres_qlen = 101
net.ipv6.neigh.lo.unres_qlen_bytes = 212992
net.ipv6.neigh.virbr0.anycast_delay = 100
net.ipv6.neigh.virbr0.app_solicit = 0
net.ipv6.neigh.virbr0.base_reachable_time_ms = 30000
net.ipv6.neigh.virbr0.delay_first_probe_time = 5
net.ipv6.neigh.virbr0.gc_stale_time = 60
net.ipv6.neigh.virbr0.locktime = 0
net.ipv6.neigh.virbr0.mcast_resolicit = 0
net.ipv6.neigh.virbr0.mcast_solicit = 3
net.ipv6.neigh.virbr0.proxy_delay = 80
net.ipv6.neigh.virbr0.proxy_qlen = 64
net.ipv6.neigh.virbr0.retrans_time_ms = 1000
net.ipv6.neigh.virbr0.ucast_solicit = 3
net.ipv6.neigh.virbr0.unres_qlen = 101
net.ipv6.neigh.virbr0.unres_qlen_bytes = 212992
net.ipv6.neigh.wlp2s0.anycast_delay = 100
net.ipv6.neigh.wlp2s0.app_solicit = 0
net.ipv6.neigh.wlp2s0.base_reachable_time_ms = 30000
net.ipv6.neigh.wlp2s0.delay_first_probe_time = 5
net.ipv6.neigh.wlp2s0.gc_stale_time = 60
net.ipv6.neigh.wlp2s0.locktime = 0
net.ipv6.neigh.wlp2s0.mcast_resolicit = 0
net.ipv6.neigh.wlp2s0.mcast_solicit = 3
net.ipv6.neigh.wlp2s0.proxy_delay = 80
net.ipv6.neigh.wlp2s0.proxy_qlen = 64
net.ipv6.neigh.wlp2s0.retrans_time_ms = 1000
net.ipv6.neigh.wlp2s0.ucast_solicit = 3
net.ipv6.neigh.wlp2s0.unres_qlen = 101
net.ipv6.neigh.wlp2s0.unres_qlen_bytes = 212992
net.ipv6.route.gc_elasticity = 9
net.ipv6.route.gc_interval = 30
net.ipv6.route.gc_min_interval = 0
net.ipv6.route.gc_min_interval_ms = 500
net.ipv6.route.gc_thresh = 1024
net.ipv6.route.gc_timeout = 60
net.ipv6.route.max_size = 4096
net.ipv6.route.min_adv_mss = 1220
net.ipv6.route.mtu_expires = 600
net.ipv6.route.skip_notify_on_dev_down = 0
net.ipv6.seg6_flowlabel = 0
net.ipv6.xfrm6_gc_thresh = 32768
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:cd:3e:67:c1  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.50.170  netmask 255.255.255.0  broadcast 192.168.50.255
        ether d8:c4:97:6a:ab:f2  txqueuelen 1000  (Ethernet)
        RX packets 141500971  bytes 119397919909 (119.3 GB)
        RX errors 0  dropped 8813  overruns 0  frame 0
        TX packets 97801864  bytes 68337825979 (68.3 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 32012106  bytes 263980293533 (263.9 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32012106  bytes 263980293533 (263.9 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:5a:cf:4b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.50.151  netmask 255.255.255.0  broadcast 192.168.50.255
        ether 74:e5:f9:7c:66:36  txqueuelen 1000  (Ethernet)
        RX packets 17352841  bytes 3975260998 (3.9 GB)
        RX errors 0  dropped 6973  overruns 0  frame 0
        TX packets 1112297  bytes 123511254 (123.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
1 Like

Sheepish grin: I notice that the wifi has become re-enabled. This is likely due to powerfailure that I forgot might have rebooted the thing. I don’t want to perma-disable wifi because it’s too convenient to have when troubleshooting. Disabled wifi again now:

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:cd:3e:67:c1  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.50.170  netmask 255.255.255.0  broadcast 192.168.50.255
        ether d8:c4:97:6a:ab:f2  txqueuelen 1000  (Ethernet)
        RX packets 142024386  bytes 120058828880 (120.0 GB)
        RX errors 0  dropped 8813  overruns 0  frame 0
        TX packets 97901485  bytes 68371271884 (68.3 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 32040390  bytes 264372157663 (264.3 GB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 32040390  bytes 264372157663 (264.3 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:5a:cf:4b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

1 Like

Came upon this thread looking for the culprit of my 12GB resident Roon server and high CPU every 15 minutes.

It seems to have started on upgrade to Debian 12 Bookworm, so potentially a library update or change of some kind there. Or it could have just been the restart.

Def some kind of process that takes a minute or two spinning up every 15 minutes, potentially with a memory leak in it.

My graph in Home Assistant that warned me:

And the culprit (p.s. love all the btop in this thread)

I’ll follow this thread as @noris has responded. I made a post a while back describing these issues, nothing I was able to do made a lasting fix. I use Linux Mint on a dedicated pc. I reduced the swappiness, as I learned this distro will use swap frequently. There shouldn’t be any need for swap with 16 GB memory IMO. So swap usage went down and I actually went 13 days without an involuntary stoppage. It’s back with a vengeance now.

I’ve been contemplating reinstalling a different OS. I tried ROCK once, but my Chromebook remote won’t connect to it. Maybe this is an excuse to buy an iPad Air M2, ha ha.

(I think I’m a new fan of btop btw.)

Unfortunately I seem to have joined this sad club after many months of flawless RoonServer operation on Ubuntu Server (two systems). No drop out yet, but unusually large memory use at 9.2GB after a few days of use since previous reboot. Now back to 2.1GB after reboot for software update, but in the past year or so I never saw more than 4GB however much I had been using Roon. Roon build 1292 (early access).

1 Like

@Fernando_Pereira @airdronian Out of curiosity, do you have local files? Via samba shares? Using DSP (like sample rate conversion or convolution?).

I’m using samba and some DSP on some devices (headphone and room correction). I stream Qobuz and samba content. ARC really doesn’t want to work but I don’t really care about it. It might still be a factor because I think it’s enabled

Yes, I have local files in a Seagate external drive, USB connected to the Core. Although I have in the past, there is no DSP currently in use.

I’m not so concerned with the memory use, it seems the dropouts occur when the CPU’s get pinned, or at least very high utilization.

1 Like

Mostly local, SSD inside the core server; some Qobuz as well. No DSP in Roon itself, all done in HQPlayer. As I noted, stable memory use until a few days ago.

Update: I’ve been running Roon build 1292 since earlier today on a slightly updated Ubuntu Server 22.04.2, playing from local files or Qobuz to HQPlayer headphone system or Linn Klimax DSM speaker system. RoonServer memory has stayed between 900M and 2.1GB. Hum…

1 Like

My ipv6 & ifconfig:

1 Like

Thanks for sending over those outputs @S_Heeren /@airdronian . I’ve forwarded your results to the dev team for further review, I will let you know once I have further feedback to share.

2 Likes

Sounds good. Let me know if I can supply anything else.

I should add that most of my listening is via Qobuz, but the issue also appears with local files as it did yesterday.

2 Likes

I did a bit of logs processing to get RoonServer physical memory size over the last month. Interesting spike on July 5th, which disappeared after I did a normal Ubuntu Server update. No obvious changes to anything that would trigger that spike.

1 Like

Another intriguing bit of data mining. I run two separate Roon core on two different locations. I have remote access to both via Tailscale and I keep them up to date regularly. Same hardware and OS (Zotac ZBOX CI662, 4TB SSD, Ubuntu Server 22.04.2). Same local music on SSDs, kept in sync with Syncthing. I recently wrote a teeny script to mine Roon memory reports from Roon Logs. You can see the memory traces below for the two servers. Both are on early access Roon build 1292, which was installed as soon as it came out, whenever that was. Curiously, both get physical memory bumps in early July, but then go back to normal around the time I rebooted them for various updates.

casablancamem
needlemen

1 Like

Bump to keep the thread from closing.

Just did a version update today, to Linux Mint 21.2 Victoria. Happy to say it was smooth sailing and Roon survived that without issues.

@airdronian Cheers! I lost patience a bit, and just ended up closing down Roon. Interestingly, during those weeks we had a power outage, so 12 days ago the box has seen a reboot.

What’s more interesting though, is that in the 12 days since we’ve not seen a huge increase in memory usage:

.

The bottom part shows that Roon restarted Friday 3:03am. I’m pretty sure I hit the “upgrade all” button on my phone, so it was probably a server upgrade as well. It also shows that I did use Roon a little bit, but way (wayyyyyyy) less intensively:

Perhaps the biggest difference would be that my Roon desktop client was closed during those times.