ActivityWatch / ActivityWatch/aw-server-rust

Possible database corruption and 100% CPU after Windows updates

未关闭
#467 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
315
派生
96
平均合并
2 天 21 小时
30 天内合并 PR
14

描述

It looks like whenever there was the monthly Windows update, the aw-server-rust database gets somehow corrupted. It doesn't seem to happen with normal reboots.

After the Windows update was applied and the system has rebooted, AW starts, but aw-server-rust seems to hit one thread of the CPU with 100%. The web GUI ist also much slower to respond and I sometimes get notified that connection to the server was lost. The performance problems never resolve, even after hours.

The fix is to restore the AW folders from a backup. That's why I suspect that the database gets somehow corrupted.

For some reason there are no logs available for the time during the Windows update. I've uploaded the logs after a manual start of AW after the Windows update and reboot of the system.

System:
Windows 10 22H2
ActivityWatch: v0.12.2 (rust)

Logs:
[activitywatch.zip](https://github.com/ActivityWatch/aw-server-rust/files/14298771/activitywatch.zip)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。