SophistSolutions / WhyTheFuckIsMyNetworkSoSlow

WhyTheFuckIsMyNetworkSoSlow is a network performance analysis tool, making it easy to quickly examine a network and see what is wrong, and to evaluate longer term trends.
15 stars 1 forks source link

Sometimes on Linux, CPU-Usage goes to 1.0 (one thread spinning) #78

Closed LewisPringle closed 1 year ago

LewisPringle commented 1 year ago

sporadic spinning issue on hercules (1.0 CPU); build from github actions doe sthis (but maybe not immediately). TEST build from my source code with logging on.

(SO FAR CANNOT REPRODUCE - TRY BUILD FROM GITHUB ACTIONS AGAIN)
(TEST MORE AND THEN CLOSE)
(cannot reproduce when im loooking but still saw today
it was after erorr )
            6 15:25:33 Hercules systemd[1]: Started Why the Fuck is My Network So Slow.
        Nov 16 15:28:03 Hercules WhyTheFuckIsMyNetworkSoSlow[3485389]: Database operation exception: Exception: Device or resource busy (lastsql 'UPDATE Devices SET name=NULL, _other_fields_=x'7b0a202020202261747461636865644e6574776f726b7322203a…')
        Nov 16 15:28:03 Hercules WhyTheFuckIsMyNetworkSoSlow[3485389]: Database update: ignoring exception in BackgroundDatabaseThread_ loop (will retry in 30 seconds): Exception: Device or resource busy
        Nov 16 15:28:05 Hercules WhyTheFuckIsMyNetworkSoSlow[3485389]: Database operation exception: Exception: Device or resource busy (lastsql 'INSERT INTO BLOB (contentType, blob, id) VALUES (NULL, x'89504e470d0a1a0a0000000d494844520000003000…')
        Nov 16 15:31:20 Hercules sy
cannot get to happen again. MIGHT be issue caused by this error.
Can use 2a vrsion to look at logs. BUt first use non-log version (sinc eonly ever saw with that).
and use top -H to find the thread that is bsuy waiting.

--- > Its Default-Interval-Timer!!! so one of my timers is buggy (or stroika code).
LewisPringle commented 1 year ago

This was a stroika bug. https://stroika.atlassian.net/browse/STK-960