Bug Filed on 12-21-2015: RAM Increases Exponentially

1. What OS? (Wheezy or Jessie)

Wheezy

2. What class/size SD card? (ex. class 10 16gb)

8G ‘Good’

3. What Model Pi? (A+, A, B+, B, Pi2)

Pi 2

4. Please describe the bug / issue. Attaching any relevant screenshots would be very helpful! Thanks in advance.

Just noted over the last few days that the RAM indicates slow increase over time. Just housekeeping or something in the code or may not be an issue at all…
Reboots to say 17% and was up to 78% after 18 hours
~ Andrew

1 Like

I’ve noticed the same. I’m also on Wheezy and Pi2 with a 32GB class 10 card.

In addition, I’ve noticed the cpu is also pinned. Here’s the output from top:

top - 19:53:30 up 1 day, 22:29, 1 user, load average: 1.30, 1.32, 1.32
Tasks: 105 total, 1 running, 104 sleeping, 0 stopped, 0 zombie
%Cpu(s): 23.9 us, 8.2 sy, 0.0 ni, 67.6 id, 0.3 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 948128 total, 935868 used, 12260 free, 344 buffers
KiB Swap: 102396 total, 102396 used, 0 free, 39856 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2415 root 20 0 1010m 808m 2460 S 99.0 87.3 400:35.42 python3
311 root 20 0 0 0 0 D 31.0 0.0 234:17.86 w1_bus_master1
1819 root 20 0 94404 7504 2004 S 3.0 0.8 54:53.97 z-way-server
2021 root 20 0 304m 20m 1840 S 0.7 2.2 7:05.22 java
22536 pi 20 0 3500 2188 1836 R 0.7 0.2 0:00.11 top
7 root 20 0 0 0 0 S 0.3 0.0 3:38.12 rcu_preempt
174 root 20 0 3032 652 516 S 0.3 0.1 0:04.01 udevd
1 root 20 0 2156 380 360 S 0.0 0.0 0:04.67 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.23 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:11.16 ksoftirqd/0
5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_sched
9 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
10 root rt 0 0 0 0 S 0.0 0.0 0:02.72 migration/0
11 root rt 0 0 0 0 S 0.0 0.0 0:02.63 migration/1
12 root 20 0 0 0 0 S 0.0 0.0 0:01.86 ksoftirqd/1
14 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/1:0H

I am running a couple other services on the same device, as you can see. It’s running the Z-Way, and I’m serving up a couple of NFS shares. Both of these services were functioning just fine before I installed Cayenne.

@akaranfilian @svazir Can we test this out?

I’ll add a +1 to this. I noticed that my RAM usage starts out around 20% on boot up then slowly grows until almost 90% then hovers there.

Have 95% to 98% down here…
Yes reboot refreshes to 8% to 15%
~ Andrew


Reboot and you get…

Etc
(I might update this after 6, 12, hours etc…
~ Andrew

1 Like

I thought I would add to this since I have seen it as well. I have attached a screenshot showing that the dashboard memory usage doesn’t even match the task manager usage. As shown this is with an uptime of roughly 16 hours and nothing but the basic widgets running. (Class 10, 32gb card)

Thanks for posting this Dane! Screenshots are always appreciated around here :slightly_smiling:

We’ll be releasing some fixes soon… @svazir @akaranfilian

-B

Having the same issue. I had set my Pi to restart when memory was at 98% and it kept boot looping even when the memory was at 20%

Same here! Exponentially RAM!!! please fix it!

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 313 6.2 20.2 330916 202044 ? Ssl 17:55 16:04 /usr/bin/python3 -m myDevices

Do you need logs?
Regards,

Yes, we are definitely going to release an update to make this better. Hang in there! We always want logs :slight_smile: …feel free to PM them to me?
-B

Please release a new version!
Thank you for this magnific system!

Regards,
Cesar.

When new version?
Please!

Please new version. Every 12 hours raspi hangs because memory exhaust.
Regards,

We have a fix for this. We are doing final rounds of testing and plan to release around 2pm PST today.

-B

1 Like

Wooo! Thanks!
What we have to do?

Of course! In future we are planning to do more frequent release…the last release we did was a month ago.

You don’t have to do anything…Updates are applied automatically.

-B

The fix must be in because my memory utilization just dropped without me rebooting…

It is…we are still making sure everything is stable though. I’ll post official release notes once we are done testing!

-B

Keep testing… much appreciated!

My memory utilization is holding steady over the last hour or so, which is new and welcomed.

Cheers!