Cacti
  1. A game jam from 2019-02-08 to 2019-02-20 hosted by Bakenshake, Lentsius & irmoz. Welcome to the Godot Wild Jam which starts the second weekend every month. Whether you're a person who likes to go wild, a casual game dev, Godot fan.
  2. Having issues getting cacti running on Mac OS 10.4.7 #1 Post by darthbator ยป Thu Sep 28, 2006 12:33 am Over the last 2 days I have been getting ready to deploy cacti in the office where I work.
This is on a Cacti 0.8.8 machine running RHEL6 as a VM.All graphs have stopped graphing, but it looks like data is getting recorded to the RRDs, at least at first glance.

I have the poller log dumped out to a file for each poller run, and that also shows some interesting information. Something appears to be 1. Causing poller.php to be very unhappy and 2. Causing the poller run to try to exceed 300 seconds (the poller run normally completes in just a few seconds). Poller.log shows things like this, in addition to thousands upon thousands of 'Waiting on 1 of 1.

One interesting thing is that some graphs stopped between 23:00 on Wednesday and 00:00 on Thursday, while others stopped at around 05:00 on Wednesday. Both of these would have been at times when I was not actively working on the machine.
GWJ6: Out Of Place Cacti Mac OSExample:
Interface graph
graph_image_01.png (38.11 KiB) Viewed 4479 times
I've noticed the following items in the logs:I looked at the code for spine.c, and it looks like this error is returned if it gets an EAGAIN from mysql, so the problem could be something with mysql, but I don't know what the problem would be. I did notice earlier that the mysqld process was chewing up a fair amount of CPU and memory, so I shut mysqld down and re-started it, with no significant change in behavior - mysqld would quickly chew up CPU and RAM again. For a brief period after I restarted mysqld, I saw that some RRD files were getting updated. It doesn't look like the machine is starving for CPU or memory/vmem:

Code: Select all

I have the poller log dumped out to a file for each poller run, and that also shows some interesting information. Something appears to be 1. causing poller.php to be very unhappy and 2. causing the poller run to try to exceed 300 seconds (the poller run normally completes in just a few seconds). poller.log shows things like this, in addition to thousands upon thousands of 'Waiting on 1 of 1 pollers.' messages, and the occasional 'resource temporarily unavailable' messages from rrd.php, assumingly when it tries to write to an RRD file.

Gwj6: Out Of Place Cacti Mac Os Catalina

An strace of the running poller.php process shows it waiting for something, until it gets killed by the next 5-minute poller run.
I activated the 'domains' and 'spikekill' plugins during the day on Wednesday, but I've deactivated both of them since, to eliminate them as variables while I work on this larger problem.

Gwj6: Out Of Place Cacti Mac Os Download

poller.php is running as 'cactiuser', and cactiuser owns all of the files in the cacti directory structure (/var/www/html/stats).
So... at this point, I'm just trying to get a handle on what's happening, and what I can do to fix it / keep it from happening again.