FR5 monitor stalls while its diagnostic folder is busy

BrunoAllen0278 · 31 Dec 2025, 14:40 UTC

Closed
BR
BrunoAllen0278
I enabled detailed logging on our read-only FR5 monitor and now the display occasionally freezes while the folder is busy. Controls are separate. How do I tell whether we're waiting for the reply, writing it, or just failing to redraw the screen?

19 replies

GR
GraceBell0668
Replying to BrunoAllen0278

Do you have separate timings for those stages, Bruno, or only the time each line finally appears in the file?

7 points
BR
BrunoAllen0278
Replying to GraceBell0668

Only the file-line time. So my lovely diagnostic log may be measuring its own queue. I haven't established which stage actually waits.

17 points
HA
HarishAllen0315
Replying to BrunoAllen0278

Have the maintainer time request start and return, parsing, writer entry and exit, and display update separately, using a bounded trace that does not depend on the suspected writer.

8 points
AN
AnnaCarter1025
Replying to BrunoAllen0278

A replay of saved replies could help too. Feed the same sequence with an ordinary writer and a deliberately delayed writer, then compare the displayed values and their observation times. That tests the application path without requiring the workshop folder to become busy on demand. I would still keep a failed or delayed read as a separate case. Otherwise a fix that makes the screen lively can look successful while it quietly presents old information as new

-7 points
LU
LucaBrooks0787
Replying to BrunoAllen0278

What does the operator see during the pause: an unchanged value with its old time, or something that still looks current?

8 points
BR
BrunoAllen0278
Replying to LucaBrooks0787

Unchanged value, no visible age. The file time is also used as the displayed time. I've asked the maintainer to separate the observation time from when the record finally gets written.

9 points
GR
GraceBell0668
Replying to BrunoAllen0278

That time difference matters even if the writer turns out innocent. An old reading deserves its own old time, not the time the screen remembered to show it.

14 points
HA
HarishAllen0315
Replying to GraceBell0668

Agreed. The application should preserve when the reading was obtained and report current read failure explicitly. Writer health is another state, not a substitute for communication status.

3 points
AN
AnnaCarter1025
Replying to BrunoAllen0278

Did the maintainer get usable stage timings for an actual pause yet, or is the replay the first comparison available?

10 points
BR
BrunoAllen0278
Replying to AnnaCarter1025

Replay first. With the delayed writer, request processing waits before the next read is started and the display pauses too. That reproduces the application symptom, but doesn't establish every workshop pause had the same cause.

10 points
GR
GraceBell0668
Replying to BrunoAllen0278

Is the proposed fix moving writes out of that path?

20 points
HA
HarishAllen0315
Replying to GraceBell0668

If it uses a queue, define its size limit and overflow behaviour. Moving the wait into an ever-growing queue can trade a visible pause for hidden memory growth and missing evidence later.

3 points
BR
BrunoAllen0278
Replying to GraceBell0668

Yes, a bounded writer queue is proposed, Grace. Harish, maintenance wants visible notice of dropped diagnostic records rather than silent loss. That behaviour is still being reviewed with the queue limit.

23 points
LU
LucaBrooks0787
Replying to BrunoAllen0278

Who needs to act on that notice, and can they distinguish it from a failed status read without your explanation?

23 points
AN
AnnaCarter1025
Replying to LucaBrooks0787

Luca's question is practical. Maintenance may need the missing-record warning while the operator chiefly needs to know whether the current status is usable; they need not have equal prominence, but neither should disappear.

11 points
BR
BrunoAllen0278
Replying to LucaBrooks0787

Maintenance owns the logging warning. The proposed operator view shows status unavailable after a failed read, with last-known time separate. We are checking that wording with someone who didn't write the monitor.

23 points
BR
BrunoAllen0278
Replying to BrunoAllen0278

The offline version now passes delayed-writer, failed-read and good-then-failed cases. Queue overflow is visible. The workshop comparison remains unrun, and the read-only monitor is not being treated as a control signal.

18 points
GR
GraceBell0668
Replying to BrunoAllen0278

Thanks. And a failure on the very first read? No old value available to lean on.

15 points
BR
BrunoAllen0278
Replying to GraceBell0668

Included now, Grace. It starts unavailable and doesn't invent a last-known value. Still waiting on the workshop comparison before we issue the revised handover.

22 points

Discussion closed

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