Cacti 0.8.6 eating diskspace
Moderators: Developers, Moderators
Cacti 0.8.6 eating diskspace
Hi...
I made a strange observation after upgrading my cacti from 0.8.5 to 0.8.6b. I already browsed this forum but couldn't find anything solving my problem.
From the beginning. I have a machine which sole purpose is to watch the network with cacti. I installed cacti 0.8.5 on it mid of may. Everything was fine. End of september I updated to 0.8.6b. From that day the system started to constantly eat diskspace. In 2 months about 1.2GB.
In the not so far future I will run out of diskspace. I waited some weeks hoping that this will maybe stop once but this will obviously not be the case. I looked at the system and what I have seen is that the database started to grow.
Is this a known issue? How can this be stopped? Or do I have to switch back to 0.8.5?
Attached you will find the diskspace graph of my cacti machine illustrating the situation.
Thanks for any help,
Roland
PS: the 2 spikes in the graph resulted from powerlosses. One lasted for 4 days
I made a strange observation after upgrading my cacti from 0.8.5 to 0.8.6b. I already browsed this forum but couldn't find anything solving my problem.
From the beginning. I have a machine which sole purpose is to watch the network with cacti. I installed cacti 0.8.5 on it mid of may. Everything was fine. End of september I updated to 0.8.6b. From that day the system started to constantly eat diskspace. In 2 months about 1.2GB.
In the not so far future I will run out of diskspace. I waited some weeks hoping that this will maybe stop once but this will obviously not be the case. I looked at the system and what I have seen is that the database started to grow.
Is this a known issue? How can this be stopped? Or do I have to switch back to 0.8.5?
Attached you will find the diskspace graph of my cacti machine illustrating the situation.
Thanks for any help,
Roland
PS: the 2 spikes in the graph resulted from powerlosses. One lasted for 4 days
- Attachments
-
- Diskspace usage of my cacti machine
- diskspace.png (4.34 KiB) Viewed 2955 times
I already checked that. I have selected LOW as logging level. My logfile is 6megabyte small. That does not eat my space...egarnel wrote:what are you logging under cacti settings? Also, have you added cacti.log to logrotate? (assuming linux/unix server)
I did some additional checkins today. My Mysql database grew from about ~300MB (as far as I can remember) to now ~1500MB... But still no plan to stop this.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Have you checked your apache log file? What is it's size? Also, Cacti is not a 1.5gbyte database.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Thanks for your reply.TheWitness wrote:Have you checked your apache log file? What is it's size? Also, Cacti is not a 1.5gbyte database.
TheWitness
Apache log gets rotated and is very small
du -m /usr/local/apache2/logs
returns a 6.
/var/lib/mysql is ~1.6GB big and growing
There is a cacti subfolder relatively small ~2MB, but i do have some
<myhostname>-bin.<xxx>
where <xxx> are number starting from 001 going to 007 at present. They eat all the space. (<myhostname> is here sahm).
All mysqld.log files in there does not show anything critical. Just a few startup and shutdown messages.
Roland.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Post a "ls -l -R" to the web site, let's see what file is growing.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
OMG.. No more diskspace
OMG!!!
My production server went berserk!
Today when i was gonna log in cacti, it just said it could not connect to the mysql server.. I logged into the linux shell, and was shocked. No more diskspace.. I checked the datadirectory, and the data files suddenly took 29 GIGABYTES! Cheeses
Wtf should i do?
I poll like 110 devices.. and the diskspace has beed quite stable before
Any known issues?
My production server went berserk!
Today when i was gonna log in cacti, it just said it could not connect to the mysql server.. I logged into the linux shell, and was shocked. No more diskspace.. I checked the datadirectory, and the data files suddenly took 29 GIGABYTES! Cheeses
Wtf should i do?
I poll like 110 devices.. and the diskspace has beed quite stable before
Any known issues?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What are the mrtg-bin files?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest