Menu

#250 Conky: too many interfaces used (limit is 16)

closed
Code (277)
5
2019-05-24
2009-10-04
Anonymous
No

When I try to run conky I get "Conky: too many interfaces used (limit is 16)" I think it might have something to do with the fact I have virtual networks. Can this limit be lifted or is there a way to filter out the other interfaces?

netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 305683397 0 0 0 462112313 0 0 0 BMRU
eth1 1500 0 207318029 0 0 0 179338304 0 0 0 BMRU
eth2 1500 0 231298929 0 0 0 185627809 0 0 0 BMRU
lo 16436 0 3035882539 0 0 0 3035882539 0 0 0 LRU
ltspbr0 1500 0 0 0 0 0 1002502 0 0 0 BMRU
ppp0 1492 0 39435191 0 0 0 19398518 0 0 0 MOPRU
ppp1 1492 0 3728969 0 0 0 2900604 0 0 0 MOPRU
ppp2 1492 0 42918895 0 0 0 41829551 0 0 0 MOPRU
ppp3 1492 0 41556499 0 0 0 41538442 0 0 0 MOPRU
virbr0 1500 0 28117319 0 0 0 42762274 0 0 0 BMRU
vnet0 1500 0 3005200 0 0 0 3462098 0 0 0 BMRU
vnet1 1500 0 954957 0 0 0 1204599 0 0 0 BMRU
vnet2 1500 0 32547 0 0 0 981080 0 0 0 BMRU
vnet3 1500 0 447066 0 0 0 1055029 0 0 0 BMRU

netstat -i | wc -l
16
/usr/bin/conky -c /etc/cf_conky/conky-left-fulldetail-rc
Conky: desktop window (1000235) is subwindow of root window (d6)
Conky: window type - normal
Conky: drawing to created window (0x4200001)
Conky: drawing to double buffer
Conky: too many interfaces used (limit is 16)

Discussion

  • Nikolas Garofil

    Nikolas Garofil - 2009-11-07

    I just placed a patch in git that uses a define for the maximum number of network devices, so try the version in git and set MAX_NET_INTERFACES in src/config.h to a higher number after running autogen.sh and ./configure

     
  • Nikolas Garofil

    Nikolas Garofil - 2009-11-07
    • assigned_to: nobody --> ngarofil
     
  • Nikolas Garofil

    Nikolas Garofil - 2009-11-19
    • status: open --> closed
     
  • Markos

    Markos - 2011-04-29

    Hi. I am having the same problem. Could you please consider raising the interface limit, lets say up to 32 or 64? It is really annoying to have to patch the package provided by my distribution in order to make conky work. Is there a reason why this limit is set to 16?

    Thank you

     
  • Duane Voth

    Duane Voth - 2017-11-02

    Raising the limit didn't solve the probelm, I now get "conky: too many interfaces used (limit is 64)" and then a crash. I've been running fine for years, but recently started using docker a lot (with the p4lang container), and now conky on the host tends to die.

     
  • Alex Efros

    Alex Efros - 2019-05-24

    I've the same issue, also with docker. Is only way to work around is manually patch this file and further increase limit to, say, 256?

     

Log in to post a comment.