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

rare deadlock in GetRolledUpDevies (calling GetRolledUpNetworks) #23

Open LewisPringle opened 2 years ago

LewisPringle commented 2 years ago

[0016][86641.384] <...GetRolledUpNetworks> { [0016][86641.384] <...GetRolledUpNetworks...cachefiller> { deadlock

Only saw once on hercules (linux x86 box).

So far cannot reproduce.

Iusse is that filler calls networks fillter calls someting in network interfaces... Not sure exactly where deadlocking.

BUT- likely the issue is: // NOTE SEE // https://stroika.atlassian.net/browse/STK-906 - possible enhancement to this configuration to work better avoiding // See https://stroika.atlassian.net/browse/STK-907 - about needing some new mechanism in Stroika for deadlock detection/avoidance. sCache_.fHoldWriteLockDuringCacheFill = true; // so only one call to filler lambda at a time

So until I have a better Stroika implmentation/feature, or find the deadlock bug in this code, will need to disable those flag settings.

LewisPringle commented 2 years ago

note - mostly worked around. (disabled fHoldWriteLockDuringCacheFill = true;) - so test for a while to verify that avoids the problem.