OpenIPC / majestic

Majestic Community edition integration kit
MIT License
36 stars 5 forks source link

Occasional errors in Majestic log file on ssc378de #199

Open MalgathThelamin opened 1 month ago

MalgathThelamin commented 1 month ago

Required information

Issue description

In Majestic log, entries appear once every 4-40 minutes, on average once every 10 minutes:

majestic[624]: ^[[1;33m[MI WRN ]: MI_AI_Read[1121]: 
majestic[624]: MI AI device 0 ChnGrp 0 Buffer(s) is lost due to slow fetching.
majestic[624]: ^[[0m
majestic[624]: ^[[1;33m[MI WRN ]: MI_AI_Read[1122]: 
majestic[624]: Current buf index[2259], recording buf index[2258].
majestic[624]: ^[[0m
MalgathThelamin commented 1 week ago

We noticed, that /usr/sbin/telegram, which is scheduled by Majestic to run once an hour, sent us an old screenshot twice today. The script does not delete old screenshots, so we concluded, that it was unable to download the current screenshot. The first occurrence is not in the logs anymore, but the second one coincides with the error discussed in this issue.

Oct 14 16:00:27 openipc-ssc378de user.debug majestic[624]: ^[[0m
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: ^[[1;33m[MI WRN ]: MI_AI_Read[1121]:
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: MI AI device 0 ChnGrp 0 Buffer(s) is lost due to sl
ow fetching.
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: ^[[0m
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: ^[[1;33m[MI WRN ]: MI_AI_Read[1122]:
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: Current buf index[50726], recording buf index[50720
].
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: ^[[0m
Oct 14 16:00:29 openipc-ssc378de user.debug majestic[624]: JPEG was sent to client