Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2025 22:03:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289869] if_io_tqg_* threads get stuck taking CPU time while doing nothing.
Message-ID:  <bug-289869-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289869

            Bug ID: 289869
           Summary: if_io_tqg_* threads get stuck taking CPU time while
                    doing nothing.
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: iasen.kostov@gmail.com

I had a torrent client running which I stopped and I had a dummynet rule (one)
which I removed After about a day I get this

PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11 root 187 ki31 0B 128K CPU3 3 23.3H 99.22% idle{idle: cpu3}
11 root 187 ki31 0B 128K CPU1 1 23.4H 98.42% idle{idle: cpu1}
11 root 187 ki31 0B 128K CPU7 7 23.1H 93.29% idle{idle: cpu7}
11 root 187 ki31 0B 128K CPU5 5 23.2H 78.88% idle{idle: cpu5}
11 root 187 ki31 0B 128K CPU0 0 18.9H 70.56% idle{idle: cpu0}
11 root 187 ki31 0B 128K RUN 4 19.8H 59.63% idle{idle: cpu4}
11 root 187 ki31 0B 128K RUN 6 19.5H 55.49% idle{idle: cpu6}
0 root -60 - 0B 4192K CPU2 2 286:24 55.31% kernel{if_io_tqg_2}
2 root -60 - 0B 128K WAIT 1 135:59 43.55% clock{clock (0)}
11 root 187 ki31 0B 128K RUN 2 19.7H 42.47% idle{idle: cpu2}
0 root -60 - 0B 4192K CPU4 4 276:29 37.38% kernel{if_io_tqg_4}
0 root -60 - 0B 4192K - 6 291:41 32.63% kernel{if_io_tqg_6}
0 root -60 - 0B 4192K - 0 333:39 29.25% kernel{if_io_tqg_0}
5478 975 20 0 3205M 534M uwait 3 0:49 0.33% java{inform_stat-1}
58484 root 20 0 18M 5832K CPU6 6 0:00 0.24% top
5478 975 20 0 3205M 534M uwait 7 0:27 0.23% java{inform-4}
0 root -64 - 0B 4192K - 1 56:32 0.22% kernel{dummynet} 

Those if_io_tqg_* threads are consuming insane amount of CPU but the traffic on
the only card that is used is minuscule:

#:> netstat -w1 -I igb2
input igb2 output
packets errs idrops bytes packets errs bytes colls
157 0 0 26596 189 0 29204 0
172 0 0 20925 213 0 24107 0
172 0 0 21902 205 0 24046 0
151 0 0 26745 185 0 29283 0
152 0 0 36214 177 0 38217 0
192 0 0 47249 229 0 49835 0
^C 

#:> vmstat -i
interrupt total rate
irq4: uart0 4 0
cpu0:timer 95672404 1037
cpu1:timer 13136101 142
cpu2:timer 28552867 309
cpu3:timer 14787428 160
cpu4:timer 28458940 308
cpu5:timer 15361293 166
cpu6:timer 29538539 320
cpu7:timer 14930294 162
irq32: arcmsr0 9262893 100
irq33: arcmsr0 4361 0
irq34: arcmsr0 5192 0
irq35: arcmsr0 18437 0
irq36: xhci0 116361 1
irq47: igb2:rxq0 81644748 885
irq48: igb2:rxq1 21104606 229
irq49: igb2:rxq2 20460502 222
irq50: igb2:rxq3 22357461 242
irq51: igb2:aq 5 0
Total 395412436 4285 

Those threads appear stuck and none of down/up on the interface, reloading the
IPFW rules, stopping processes fixed it. Rebooting does fix it for few hours.

The last reboot I didn't let the torrent client (transmission) run and it was
all fine until I started it by hand for a test. And it all happened again after
few hours. Stopping the client again didn't fix it and it get worse with time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289869-227>