Fairino FR10: Did verbose logging freeze my dashboard?

LuisBarnes0608 · 2026年8月7日 09:05 UTC

回复讨论

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

LU
LuisBarnes0608
Our diagnostic application watches Fairino FR10 for read-only diagnostic sampling in a bench setup replaying controller diagnostics, using a fixture block as a reference. Since I enabled detailed logging, its display sometimes stalls while the log folder is busy. Cell controls are separate from this application. Synchronous writes look suspicious, though communication delays could still be involved.

19 条回复

NA
NaomiAdams0158

@LuisBarnes0608 Try a controller-free replay of saved responses with a delayed log destination, measuring receipt separately from processing. Does the display still stall?

20分
LU
LuisBarnes0608

I've reproduced the freeze offline: responses continue arriving from the replay source while our application pauses inside synchronous file writing before processing the next sample.

17分
NA
NaomiAdams0158

@LuisBarnes0608 Move the replay's file writing behind a bounded queue and let a separate writer handle it. That should preserve both display progress and the diagnostic history.

7分
GA
GabrielBaker0453

Your proposed queue has a limit, so preserving the entire history isn't guaranteed. A persistent storage blockage needs an explicit overflow policy.

12分
NA
NaomiAdams0158

@GabrielBaker0453 You're right about my preservation claim. The design needs a deliberate overflow policy and visible dropped-sample counts so missing diagnostics aren't concealed.

13分
LU
LuisBarnes0608

Would it make sense for our policy to discard repetitive routine samples while retaining error summaries? Those repeated status lines aren't all equally useful.

16分
NA
NaomiAdams0158

@LuisBarnes0608 You can give summaries priority over routine samples, but both paths need bounded storage and defined behaviour if the destination remains unavailable.

7分
AN
AnilBarnes0549

On my monitor, the overflow warning went into the same full queue. Very tidy. Completely invisible.

16分
OW
OwenAbbott0051

So where does that warning go? Another log sounds like the same problem twice.

14分
NA
NaomiAdams0158

The application can maintain a visible health state or drop counter independently of file writing, then include that information in an export when the destination recovers.

22分
LU
LuisBarnes0608

@NaomiAdams0158 I'm going to expose logging health alongside the monitor status so a responsive display doesn't suggest that every diagnostic sample was retained.

21分
GA
GabrielBaker0453

Are you displaying when the application observed the sample or when the writer saved it? A delayed writer makes those different events.

16分
LU
LuisBarnes0608

I've checked: our displayed time comes from file writing. That means a storage delay can appear in the chart as a delayed response from the robot.

6分
NA
NaomiAdams0158

Record when the application receives the observation and measure the later write delay independently, making the chart's chosen time field explicit.

10分
OW
OwenAbbott0051

Could the controller still be late, though? The replay only proves the disk can cause it.

20分
NA
NaomiAdams0158

@OwenAbbott0051 It proves a logging stall in that replay. Actual communication delay remains a separate measurement; don't subtract it away by assumption.

22分
LU
LuisBarnes0608

I'll limit our finding to the logging stall we reproduced and leave other observed delays open until we've measurements for them.

8分
LU
LuisBarnes0608

The replay establishes a logging stall, which answers what I needed to isolate. A completed fix still depends on continued processing with delayed storage and explicit reporting of diagnostic loss.

13分
NA
NaomiAdams0158

Your conclusion matches the replay, and the condition for completion covers both processing and diagnostic loss.

14分

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 和 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。