Memory usage shows no data on Administration Settings / System page

Oddly, though I see active Load statistics, for Memory I see no live data at all. Both RAM and Swap show as negative values with current usage of 0 B in both cases. What could cause this?

What OS and installation method?

A lot of the system info values are very OS/install method specific. Also sometimes there are security constraints that impact retrieval.

It’s Ubuntu 22 LTS, and installed manually; downloaded zip archive, manually configured. (I’ve been running this for a long, long, long time, back before there was a Nextcloud, originally on ownCloud.)

Hi @Pazu

that looks interesting to me!

Could you post the output of

grep -E "(Mem(Total|Free|Available)|Swap(Total|Free))" /proc/meminfo

from that machine please?


ernolf

Certainly, here you go.

$ grep -E "(Mem(Total|Free|Available)|Swap(Total|Free))" /proc/meminfo
MemTotal:        4006084 kB
MemFree:          721384 kB
MemAvailable:    2736040 kB
SwapTotal:             0 kB
SwapFree:              0 kB
$

Crap, I have no swap configured.

Okay, now with an actual swapfile configured the output is now:

$ grep -E "(Mem(Total|Free|Available)|Swap(Total|Free))" /proc/meminfo
MemTotal:        4006084 kB
MemFree:          616220 kB
MemAvailable:    2641308 kB
SwapTotal:       4194300 kB
SwapFree:        4194300 kB
$

Even with this, though, the Memory graph still looks the same.

Do you have open_basedir configured? If so, remember to include /proc/. Had the same issue and was able to resolve it with that.

1 Like

That was it. Thanks!

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.