problem with the default memory usag template on a Debian VM

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

problem with the default memory usag template on a Debian VM

Post by DeeL »

Hi guys,

I've got a problem on my 0.8.7g running on freshly built debian vm (vmware workstation 7.0.1).

I've had the same problem with 0.8.7e and 0.8.7g, a funny behaviour of the "localhost memory-usage template".
free memory and swap keep going down. Once rebooted the graphs return to real values but as time passes by it just goes down...

The problem only occurs with this template, maybe the problem is not in cacti but in vmware, i will do a "top" soon to see if "top" values and cacti values are the same.

I join a graph image (jpg) and the technical support result page(pdf).

Regards,

Deel
Attachments
cacti weird behavior.JPG
cacti weird behavior.JPG (30.11 KiB) Viewed 2222 times
cacti_view_tech.pdf
(71.45 KiB) Downloaded 123 times
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

Post by DeeL »

here is the result of a "top" command before rebooting
Attachments
top 1 avant.JPG
top 1 avant.JPG (13.53 KiB) Viewed 2197 times
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

Post by DeeL »

here is the result of a "top" command after I rebooted.
This machine only runs cacti.
Attachments
top 2 apres.JPG
top 2 apres.JPG (14.13 KiB) Viewed 2196 times
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

Post by DeeL »

And now the cacti graph. As i didn't wait long enough since the last reboot the difference is not really big but it's here and I don't get it.
Attachments
graph before-after.JPG
graph before-after.JPG (29.87 KiB) Viewed 2192 times
mxxcon
Posts: 31
Joined: Tue May 19, 2009 5:20 pm

Post by mxxcon »

i could be wrong, but don't "free memory" and "swap" are stacked on each other?
as you keep using your computer, your free memory decreases and so the graph will slide down..
if you'll look carefully you'll see that "swap" part of the graph remains the same but it's just "free memory" that is shrinking.

(for my servers i switched from using default load and memory graphs to these http://hans.fugal.net/blog/2009/01/10/s ... ith-cacti/)
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

Post by DeeL »

I hope you're wrong, it would mean that any pc is forced to reboot every week or so ^^, as i said I'm not supposed to use more and more memory as it's only running cacti with the same number of oids to check and as far as i know this template shows the memory usage i.e the way the box is taking and releasing memory.

No, i suppose it's a vm related issue, i'll first try to move the vm on an esxi server(if it fixes the problem then VmWare has a problem :p).

this new graph is based on the same template (0.8.7e) on another debian vm box running under Esxi, memory usage has been shown quite correctly for several weeks now.
Attachments
superviseur.JPG
superviseur.JPG (31.91 KiB) Viewed 2174 times
mxxcon
Posts: 31
Joined: Tue May 19, 2009 5:20 pm

Post by mxxcon »

wait a second, how much memory did you give that server?!
it has 1megs of memory free and 1megs of swap?
Attached is what my cacti server looks like
Attachments
graph_image.php.png
graph_image.php.png (24.8 KiB) Viewed 2162 times
User avatar
DeeL
Cacti User
Posts: 71
Joined: Thu May 14, 2009 5:12 pm
Location: Paris

Post by DeeL »

After some re - thinking, yes the VM has 1.2M kB i.e 1GB Ram.
knuwanga91
Posts: 3
Joined: Sun Jan 16, 2022 5:13 pm

Re: problem with the default memory usag template on a Debian VM

Post by knuwanga91 »

I was wondering if you found a solution to this issue. I'm having the same issue with my cacti server running on a debian server
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: problem with the default memory usag template on a Debian VM

Post by camerabob »

A bit off topic, but I would change that graph template to display the swap at the bottom. That way only the other memory graph would change.Would make a quick peek easier to digest.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests