Not all interfaces display when >~30 interfaces

Bug #1487190 reported by JuanJo Ciarlante on 2015-08-20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nicstat (Debian)
nicstat (Ubuntu)

Bug Description

nicstat falsely assumes that a single read from /proc/net/dev
will return all its content (even if using a ~large buffer, 128K)

JuanJo Ciarlante (jjo) wrote :

fixed by,
see strace comparison (stock vs compiled with above) at a host
with ~270 interfaces:

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nicstat (Ubuntu):
status: New → Confirmed
Robie Basak (racb) wrote :

This should get fixed in Debian and then we can sync. Since >30 interfaces is presumably an uncommon use case, Importance -> Low.

tags: added: needs-upstream-report
Changed in nicstat (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Joshua Powers (powersj) wrote :
Changed in nicstat (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Joshua Powers (powersj)
tags: added: patch
Joshua Powers (powersj) on 2016-12-06
summary: - nicstat fails on more than ~30 interfaces
+ Not all interfaces display when >~30 interfaces
Joshua Powers (powersj) on 2016-12-06
tags: removed: needs-upstream-report
Changed in nicstat (Debian):
status: Unknown → New

The attachment "buffer_increase.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Joshua Powers (powersj) on 2017-04-05
Changed in nicstat (Ubuntu):
status: In Progress → Confirmed
assignee: Joshua Powers (powersj) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.