consumes huge harddisk space and memory
Moderators: Developers, Moderators
consumes huge harddisk space and memory
We have installed cacti Version 0.8.7b in RHEL-3, RRD Tool 1.2.x
After installation and polling the device, hard disk and memory space consumed is given below
----------------------------------------------------------------
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G [b]4.6G 64G [/b]8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
#free
total used free shared buffers cached
Mem: 1529736 [b]280124 1249736 [/b]0 111136 376552
-/+ buffers/cache: 322268 1207468
Swap: 2040244 0 2040244
----------------------------------------------------------------------------
[b]After a week the hard disk and memory consumption is given below[/b]
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G [b]5.0G 63G [/b]8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
#free
total used free shared buffers cached
Mem: 1529736 [b]809956 719780 [/b]0 111136 376552
-/+ buffers/cache: 322268 1207468
Swap: 2040244 0 2040244
Please any body help us, how to controll the consumption of hard disk space and memory consumption
After installation and polling the device, hard disk and memory space consumed is given below
----------------------------------------------------------------
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G [b]4.6G 64G [/b]8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
#free
total used free shared buffers cached
Mem: 1529736 [b]280124 1249736 [/b]0 111136 376552
-/+ buffers/cache: 322268 1207468
Swap: 2040244 0 2040244
----------------------------------------------------------------------------
[b]After a week the hard disk and memory consumption is given below[/b]
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G [b]5.0G 63G [/b]8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
#free
total used free shared buffers cached
Mem: 1529736 [b]809956 719780 [/b]0 111136 376552
-/+ buffers/cache: 322268 1207468
Swap: 2040244 0 2040244
Please any body help us, how to controll the consumption of hard disk space and memory consumption
For hard drive space, check your log level (don't keep it on debug), and rotate your log via logrotate.d
As for memory, can you go to 'Utilities/System Utilities/Technical Support' and cut and paste that into a 'code' block in this thread.
Note: It would make it a lot easier to read if you put your df and free commands into code blocks as well...
As for memory, can you go to 'Utilities/System Utilities/Technical Support' and cut and paste that into a 'code' block in this thread.
Note: It would make it a lot easier to read if you put your df and free commands into code blocks as well...
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Thank you very Much, we have enabled the rotatelog we will monitor it ....
Please find the df & free command and also find the techsupport details in attachment, Please let us know wy there is huge memory consumption
---------------------------------------------------------------------------
[test]$ df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G 5.0G 63G 8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
-------------------------------------------------------------------------
[test]$ free
total used free shared buffers cached
Mem: 1529736 840536 689200 0 111224 407220
-/+ buffers/cache: 322092 1207644
Swap: 2040244 0 2040244
Please find the df & free command and also find the techsupport details in attachment, Please let us know wy there is huge memory consumption
---------------------------------------------------------------------------
[test]$ df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 72G 5.0G 63G 8% /
/dev/hda1 99M 15M 80M 16% /boot
none 747M 0 747M 0% /dev/shm
-------------------------------------------------------------------------
[test]$ free
total used free shared buffers cached
Mem: 1529736 840536 689200 0 111224 407220
-/+ buffers/cache: 322092 1207644
Swap: 2040244 0 2040244
- Attachments
-
- Technical Support.doc
- TechSupport Details
- (630.5 KiB) Downloaded 220 times
Everything looks fine in your config.
please attach (as a text file) the output of:
You can simply do:
please attach (as a text file) the output of:
Code: Select all
ps axfv
Code: Select all
ps axfv >output.txt
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Also check that mysql isn't generating binlogs - these are what used to fill up my Cacti server from time to time.
xdiskusage, xdu or FileLight are your friends for figuring out where it all went![:-)](./images/smilies/icon_smile.gif)
xdiskusage, xdu or FileLight are your friends for figuring out where it all went
![:-)](./images/smilies/icon_smile.gif)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Dear Linegod please find the output of the
ps axfv >output.txt as attachment
ps axfv >output.txt as attachment
- Attachments
-
- output.txt
- (5.75 KiB) Downloaded 95 times
-
- Cacti User
- Posts: 175
- Joined: Sun May 27, 2007 5:42 pm
For Hard Disk storage.... first of all, maybe u need to check which one is hogging up the space.
U can use either "KDirStat" or "FileLight" to scan your hard disk and see which one is taking up the space.
Since your is RHELv3, here is the link to download:
KDirStat
ftp://ftp.pbone.net/mirror/dag.wieers.c ... g.i386.rpm
ftp://ftp.pbone.net/mirror/dag.wieers.c ... x86_64.rpm
FileLight
ftp://ftp.pbone.net/mirror/dag.wieers.c ... f.i386.rpm
ftp://ftp.pbone.net/mirror/dag.wieers.c ... x86_64.rpm
U can use either "KDirStat" or "FileLight" to scan your hard disk and see which one is taking up the space.
Since your is RHELv3, here is the link to download:
KDirStat
ftp://ftp.pbone.net/mirror/dag.wieers.c ... g.i386.rpm
ftp://ftp.pbone.net/mirror/dag.wieers.c ... x86_64.rpm
FileLight
ftp://ftp.pbone.net/mirror/dag.wieers.c ... f.i386.rpm
ftp://ftp.pbone.net/mirror/dag.wieers.c ... x86_64.rpm
Please run the following commands:
Then turn off X Windows on the Linux box (init 3) and at a terminal console, do the following:
Then attach that file.
Code: Select all
echo "PRE" >output2.txt; df >>output.txt; free >>output2.txt; ps axfv >>output2.txt
Code: Select all
echo "POST" >>output2.txt; df >>output.txt; free >>output2.txt; ps axfv >>output2.txt; 'du' /var/lib/mysql|sort -n >>output2.txt; 'du' /www/htdocs/cacti/ |sort -n >>output2.txt
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 1 guest