Our FR5 monitor catches up just after the log file closes

TheoAllen0323 · 20 Nov 2025, 03:50 UTC

Closed
TH
TheoAllen0323
The read-only monitor freezes its display when the detailed log gets busy, then jumps through several updates at once. Cell controls are separate. I keep calling it a connection pause, but I haven't actually shown that the reads stopped. What should our software person measure before I start blaming the network again?

20 replies

NA
NathanBrooks0808
Replying to TheoAllen0323

Can they time the read, file write and display update separately in one captured pause? Otherwise busy log folder is still a coincidence, not the location of the wait.

25 points
TH
TheoAllen0323
Replying to NathanBrooks0808

They can. Current timestamps are written only after the file operation, which isn't much help for working out what waited before them.

11 points
NI
NinaChen1197
Replying to TheoAllen0323

Put the diagnostic timing somewhere that doesn't wait on the same file writer. A small bounded trace in memory may be enough for the comparison. Then make any trace loss visible instead of silently running out of space.

16 points
IS
IsaacAllen0346
Replying to TheoAllen0323

And don't call the frozen display offline unless you actually have a failed connection check. Our green boxes already tell enough stories without adding an invented red one.

3 points
NO
NoraBell0670
Replying to IsaacAllen0346

What does it show during the freeze now? A changing age since the last reading would tell me something; an unchanged last-seen time assumes I'm watching a clock too.

17 points
TH
TheoAllen0323
Replying to NoraBell0670

Just the old value and its timestamp. Nothing changes, including the clock drawn in that window. So a new age label in the same blocked update probably wouldn't move either.

7 points
NA
NathanBrooks0808
Replying to TheoAllen0323

Then ask where the UI loop is blocked as part of the timing work. Rewording the stale indicator won't make it run while that loop is occupied.

20 points
NI
NinaChen1197
Replying to NathanBrooks0808

Nathan, agreed. Theo, a separate writer may help if the file wait is on that loop, but it needs a bounded queue and a defined full-queue policy. Otherwise a frozen window can become an ever-growing memory problem.

24 points
IS
IsaacAllen0346
Replying to NinaChen1197

Nina, would you keep every diagnostic sample? I don't know whether Theo needs an audit trail or just the latest availability view.

21 points
NO
NoraBell0670
Replying to IsaacAllen0346

Those need separate answers. A current display can use the newest reading while the diagnostic record has its own retention requirement. Who owns that requirement here?

22 points
TH
TheoAllen0323
Replying to NoraBell0670

Maintenance wants the diagnostic sequence around a pause, not an indefinitely growing archive. Software captured a case: read completed, file write waited, UI update followed it. They're proposing a separate bounded writer with visible recording gaps if it can't keep up.

12 points
NI
NinaChen1197
Replying to TheoAllen0323

That sounds worth testing against the agreed diagnostic needs. A visible gap is preferable to hidden loss, but maintenance still needs to decide whether that gap leaves enough evidence for the reason they're collecting it.

6 points
TH
TheoAllen0323
Replying to NinaChen1197

Maintenance agreed that missing samples must be shown and the trace can't be described as complete across a gap. Latest-value display is separate in the proposal. We aren't claiming every historical pause was the same file wait.

5 points
IS
IsaacAllen0346
Replying to TheoAllen0323

Thanks for that last bit. One explained pause beats a confident new label pasted over all the old ones.

19 points
NA
NathanBrooks0808
Replying to TheoAllen0323

Can the offline replay test a slow writer and a failed read separately? That would show whether a display improvement accidentally hides genuine communication trouble.

7 points
NI
NinaChen1197
Replying to NathanBrooks0808

Also fill the queue deliberately in that replay. The boundary case matters more than another smooth run with a small log file.

23 points
TH
TheoAllen0323
Replying to NinaChen1197

Replay now keeps the UI updating with a slow writer, and queue saturation produces a recording-gap indication. Failed-read wording still looks like an old value with no warning, so that test is not passing yet.

3 points
NO
NoraBell0670
Replying to TheoAllen0323

Does the failed-read test include starting with no successful value? An old-value warning can't help the first request when there is no old value to show.

6 points
TH
TheoAllen0323
Replying to NoraBell0670

Not yet. Added to the list, Nora. The earlier success-then-failure case already exposed the wording issue; startup needs its own expected display.

2 points
NA
NathanBrooks0808
Replying to TheoAllen0323

Keep both failing cases visible until they are handled. The writer change has answered a real problem, but the monitor still has to tell the truth when no fresh reading comes back.

14 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .