MCU 'mcu' shutdown: Timer too close - Manta M8P, BTT CB1

Over time, the RAM and CPU usage start to approach and rest at high values. The printer will then error out at the beginning or end of a print. Restarting the host restores CPU and RAM usage to normal values (CPU 5% and RAM 41% while idle). It's not a critical failure, but it would be great to know why system resources are being consumed.
No description
29 Replies
blacksmithforlife
During these times of high load and memory, did you ssh into the machine and run `top| to see what is causing the issue?
MONSOONO
MONSOONO17mo ago
No, I'll do that next time and return the results back here. It could be a few days/weeks before I see it again.
MONSOONO
MONSOONO17mo ago
Here's the results at 85% RAM utilization after 3 days.
No description
MONSOONO
MONSOONO17mo ago
No description
MONSOONO
MONSOONO17mo ago
Sorted I don't know if this is the sorce of the issue.
blacksmithforlife
Can you run free -m?
MONSOONO
MONSOONO17mo ago
No description
MONSOONO
MONSOONO17mo ago
Seems to track
blacksmithforlife
@.alan.ma any idea what to check for the high memory usage above?
MONSOONO
MONSOONO17mo ago
It seems to hit the 85% number after a period of time, then sit there.
blacksmithforlife
What does cat /proc/meminfo show?
MONSOONO
MONSOONO17mo ago
No description
blacksmithforlife
Active is only 88mb, so it seems normal
MONSOONO
MONSOONO17mo ago
Okay, I'll pull the logs the next time it crashes. I suspected that this could be the issue, but perhaps the problem is elsewhere. Thanks for looking into this.
metropolitan-bronze
metropolitan-bronze17mo ago
Our printers on our side do not have such problem when running/printing for a long time, and the maximum RAM usage is 40 ~ 50%. We have only encountered the issue of RAM being occupied in one situation: When uploading an oversized file/gcode fails, the system RAM is not released. For example, when the OS has only 600MB of remaining RAM, we choose to upload a 650MB gcode. The file will start to transfer and occupy RAM as cache. However, due to insufficient RAM space, the file transfer fails, and the occupied RAM is not released, which can lead to this type of problem.
MONSOONO
MONSOONO17mo ago
Experienced the crash and downloaded logs. Crash occurred after instructing the printer to print the same object again after 4 successful prints. The crash occurred during some sort of travel move before printing actually begun.
blacksmithforlife
Sysload is almost 6! That's the problem So not a memory issue but a load issue. What kind of SD card do you have? Maybe the high load is from reads taking a while?
MONSOONO
MONSOONO16mo ago
I'll take a look. I don't think it's ultra-cheapo.
blacksmithforlife
you could also try htop like is mentioned here: https://www.reddit.com/r/linuxadmin/comments/wjkbkz/comment/ijjmddb
MONSOONO
MONSOONO16mo ago
I've been busy for work, but I've come back to this
MONSOONO
MONSOONO16mo ago
No description
MONSOONO
MONSOONO16mo ago
Here's the SD card. Not very impressive specs for just about anything. It may be a relatively cheap thing to test. I can see if I have any better cards to try writing the image to.
miklschmidt
miklschmidt16mo ago
10mb/s sustained write speed is definitely not impressive (that's v10), but should be good enough for the usecase. Can still just be a bad card though. I recommend Sandisk Extreme
MONSOONO
MONSOONO16mo ago
Sounds good. I'll see if I can grab one of those.
ratty-blush
ratty-blush15mo ago
since this appears to be the relevant thread for this. I have this issue as well
No description
ratty-blush
ratty-blush15mo ago
5 days of idling
No description
ratty-blush
ratty-blush15mo ago
I'm using a sandisk card
blacksmithforlife
Please start your own post. OP was having load issues, yours looks like memory issues have you had any issues since getting a new SD card?
MONSOONO
MONSOONO11mo ago
I had a big job to do and now I'm on vacation, but I didn't have any issues even with the old card for a few weeks of prints. A very transient issue. Have continued to experience this issue. Ordered the Sandisk Extreme and will be testing it over the coming weeks. No issues with new SD card.
Want results from more Discord servers?
Add your server