cacti works fine, but hard disk used space is growing

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
smatt
Posts: 3
Joined: Tue May 20, 2008 2:24 am

cacti works fine, but hard disk used space is growing

Post by smatt »

Hello, I am using cacti on a Debian 4.0 system with 10 GB scsi harddisk, an old server system. Cacti works fine and protocols 17 Windows servers, 7 Linux+Solaris boxes, two firewalls, one router and about 20 network switches. This computer does run now since about three years, serving me with Nagios, Exim4 and other services without any big trouble. Since cacti was installed two weeks ago I observe that the free space on the harddrive is decreasing rapidely. Without removing rarely softwarepackages, cleaning system logfiles and so in a few days/hours the harddrive is full and the system is no more operable. I already checked the cacti directories, but I can't find anything, what makes used space growing constantly - I have observed the rra-directory, it is constantly about 101 MB, and I have checked the mysql-directory, it is about 5.1Meg.

Image
This is the graph for the system running cacti. As you see at the beginning I had full debugging log enabled, that was not a good idea. Then later I uninstalled some unused software packages, but however overall since cacti is installed, I have agrowth of 1.5 Gig on the harddrive without knowing where it is stored. Yesterday in the evening I have stopped cacti poller, and restarted this morning. During that stop, the disk space was constant.

Any ideas?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Make sure that binary logging is disabled for mysql.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
smatt
Posts: 3
Joined: Tue May 20, 2008 2:24 am

Post by smatt »

Hello, thank you for your quick reply, it looks like it is that, I just deleted about 4Gb of logfiles from /varr/log/mysql. Currently I am trying to find out where to disable that, it is something with /etc/mysql/my.cnf, but I am not familar with that. If you have a weblink whcih explains the settins there, that would be fine, my search was unsuccessfull until now.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please search http://www.mysql.com to find those settings
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests