How can I tell whether logging is freezing my display?

Eli_Bailey · 29 May 2025, 03:50 UTC

Closed
EL
Eli_Bailey
Our FR10 monitoring screen began stalling after detailed logging was enabled. The log folder is busy during the pauses. How can I separate file-write delays from slow replies without changing the independent cell controls?

6 replies

GR
GraceAllen0320
Replying to Eli_Bailey

Measure the read, processing and file-write times separately. Then compare a recorded input replay with and without the extra logging. That should show where the display waits.

19 points
EL
Eli_Bailey
Replying to GraceAllen0320

The replay pauses too. File writes run on the same thread as the screen updates, and their durations line up with the stalls. Network replies are absent from that test.

19 points
GR
GraceAllen0320
Replying to Eli_Bailey

Have the developer move those writes away from the display work, with a bounded queue and a clear response when logging cannot keep up. Avoid an endlessly growing backlog.

16 points
SO
SofiaBaker0456
Replying to Eli_Bailey

Will the screen still show when its displayed reading is old?

3 points
EL
Eli_Bailey
Replying to SofiaBaker0456

It needs that too. The current display freezes its value without making the age obvious. I've added the stale-reading state to the review.

8 points
EL
Eli_Bailey
Replying to GraceAllen0320

The revised replay keeps the screen responsive and reports delayed logging under an overloaded test. Stale readings are labelled. Live communication timing still needs checking before we close the issue.

15 points

Discussion closed

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