My status screen holds its breath whenever the log rotates

LinAdams0096 · 2024年12月8日 00:27 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

LI
LinAdams0096
Can I untangle a logging problem without pestering the controls team? My FR10 status viewer freezes when a new log file starts, or rather the numbers freeze while the window still moves; it's read-only and the actual cell controls are separate.

10 条回复

LU
LucaBarnes0526

Check the timestamps first, because my display once showed old readings beautifully while everyone blamed the network.

11分
LI
LinAdams0096

The displayed timestamp stops as well, then jumps ahead with no readings shown for the gap.

7分
LU
LucaBarnes0526

That leaves two possibilities in my head: missing samples or samples waiting somewhere, can you see whether the file has them?

8分
SA
SaraCarter0983

Time the read and file write separately. The screen alone can't tell you which waited.

16分
LU
LucaBarnes0526

Did those timings show anything? I ask because rotation was when our report tool copied the previous file to a slow share.

11分
LI
LinAdams0096

Found a copy-to-archive call in the rotation handler, it sits on the same loop as the reads and the delay matches the freeze... I hadn't realised that archive folder was remote.

12分
LU
LucaBarnes0526

That's promising, ours recovered once archiving stopped holding up acquisition, though we still had to show when the archive was behind.

13分
DA
DanLoop

Does your proposed background writer have a bounded queue and an explicit overflow policy? Moving the wait can otherwise turn a visible stall into silent memory growth, which is a pain to hand over.

11分
LI
LinAdams0096
回复 DanLoop

I've moved archival copies off the sampling loop and capped the pending work, failed copies stay local with an alert; a deliberately unavailable share no longer freezes the viewer, and the sampler timings stay steady.

17分
LU
LucaBarnes0526

Good, the unavailable-share test is the bit I wanted to hear about, our first fix worked only while everything was behaving.

18分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .