1

I'm using Debian 9.11 with Cinnamon 3.2.7. The log file at ~/.xsession-errors is flooded pretty much every second with this, repeated over and over:

glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/rx_packets": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/tx_packets": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/rx_bytes": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/tx_bytes": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/rx_errors": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/tx_errors": No such file or directory
glibtop(c=1250): [WARNING] Failed to open "/sys/class/net/ttyUSB0/statistics/collisions": No such file or directory

Is this something to worry about? How do I get rid of this log spam? I don't know if it's causing any actual issues, but it's always better to be safe.

2 Answers 2

1

I had very similar warnings. I realized that I was asking the xfce "hardware monitor" to pull info from a device -- in my case it's an ethernet interface. Removing the corresponding entry in the monitoring tool configuration stopped printing the warnings.

1
  • That surely wasn't it in my case at least. BTW, I switched to a different distribution once and a different desktop environment twice since asking that question, so I can't check anything related to it anymore. Commented Jul 11, 2020 at 17:40
1

It happened to me with a USB-C wifi dongle. The problem is that somehow the software that collects the new Network's device stats, is reading the stats files from /sys/ before it has finished loading the activation process.

I run Mint 21 and all I had to do, was restart the NetworkManager:

sudo systemctl restart NetworkManager

Here's my distro info:

Distributor ID: Linuxmint
Description:    Linux Mint 21
Release:    21
Codename:   vanessa
Linux afg7 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .