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.
29 Replies
During these times of high load and memory, did you ssh into the machine and run `top| to see what is causing the issue?
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.
Here's the results at 85% RAM utilization after 3 days.
Sorted
I don't know if this is the sorce of the issue.
Can you run
free -m
?Seems to track
@.alan.ma any idea what to check for the high memory usage above?
It seems to hit the 85% number after a period of time, then sit there.
What does
cat /proc/meminfo
show?Active is only 88mb, so it seems normal
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.
foreign-sapphire•17mo 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.
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.
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?
I'll take a look. I don't think it's ultra-cheapo.
you could also try htop like is mentioned here: https://www.reddit.com/r/linuxadmin/comments/wjkbkz/comment/ijjmddb
reddit
r/linuxadmin - Comment by u/digdilem on ”[NSFW] How can my system l...
79 votes and 62 comments so far on Reddit
I've been busy for work, but I've come back to this
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.
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
Sounds good. I'll see if I can grab one of those.
other-emerald•15mo ago
since this appears to be the relevant thread for this. I have this issue as well
other-emerald•15mo ago
5 days of idling
other-emerald•15mo ago
I'm using a sandisk card
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?
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.