简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

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

讨论已关闭

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