LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disk space continuously decreasing please help (https://www.linuxquestions.org/questions/linux-newbie-8/disk-space-continuously-decreasing-please-help-830628/)

punk123456 09-06-2010 01:28 PM

disk space continuously decreasing please help
 
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6229780 3260892 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6233760 3256912 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6235108 3255564 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot







[utpal@localhost ~]$ ps -ax
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [migration/0]
4 ? S 0:00 [ksoftirqd/0]
5 ? S 0:00 [watchdog/0]
6 ? S 0:00 [migration/1]
7 ? S 0:00 [ksoftirqd/1]
8 ? S 0:00 [watchdog/1]
9 ? S 0:05 [events/0]
10 ? S 0:01 [events/1]
11 ? S 0:00 [cpuset]
12 ? S 0:00 [khelper]
13 ? S 0:00 [netns]
14 ? S 0:00 [async/mgr]
15 ? S 0:00 [pm]
16 ? S 0:00 [sync_supers]
17 ? S 0:00 [bdi-default]
18 ? S 0:00 [kintegrityd/0]
19 ? S 0:00 [kintegrityd/1]
20 ? S 0:00 [kblockd/0]
21 ? S 0:00 [kblockd/1]
22 ? S 0:01 [kacpid]
23 ? S 0:03 [kacpi_notify]
24 ? S 0:00 [kacpi_hotplug]
25 ? S 0:01 [ata/0]
26 ? S 0:00 [ata/1]
27 ? S 0:00 [ata_aux]
28 ? S 0:00 [ksuspend_usbd]
29 ? S 0:00 [khubd]
30 ? S 0:00 [kseriod]
33 ? S 0:00 [khungtaskd]
34 ? S 0:04 [kswapd0]
35 ? SN 0:00 [ksmd]
36 ? S 0:00 [aio/0]
37 ? S 0:00 [aio/1]
38 ? S 0:00 [crypto/0]
39 ? S 0:00 [crypto/1]
48 ? S 0:00 [scsi_eh_0]
49 ? S 0:00 [scsi_eh_1]
50 ? S 0:00 [scsi_eh_2]
51 ? S 0:00 [scsi_eh_3]
55 ? S 0:04 [scsi_eh_4]
56 ? S 0:00 [scsi_eh_5]
59 ? S 0:00 [kpsmoused]
60 ? S 0:00 [kstriped]
61 ? S 0:00 [ksnapd]
62 ? S 0:00 [usbhid_resumer]
169 ? S 0:00 [nouveau/0]
170 ? S 0:00 [nouveau/1]
171 ? S 0:00 [ttm_swap]
411 ? S 0:00 [kdmflush]
418 ? S 0:00 [kdmflush]
427 ? S 0:01 [jbd2/dm-0-8]
428 ? S 0:00 [ext4-dio-unwrit]
429 ? S 0:00 [ext4-dio-unwrit]
516 ? S<s 0:00 /sbin/udevd -d
771 ? S 0:00 [kmmcd]
782 ? S 0:00 [cfg80211]
799 ? S 0:00 [iwl3945]
800 ? S 0:03 [phy0]
827 ? S 0:00 [hd-audio0]
942 ? S 0:00 [jbd2/sda2-8]
943 ? S 0:00 [ext4-dio-unwrit]
944 ? S 0:00 [ext4-dio-unwrit]
995 ? S 0:00 [kauditd]
997 ? Ss 0:00 /usr/bin/system-setup-keyboard
1103 ? S<sl 0:00 auditd
1105 ? S<sl 0:00 /sbin/audispd
1106 ? S< 0:00 /usr/sbin/sedispatch
1130 ? Sl 0:00 /sbin/rsyslogd -c 4
1140 ? S 0:02 [flush-253:0]
1153 ? S 0:23 [kondemand/0]
1154 ? S 0:20 [kondemand/1]
1172 ? Ss 0:00 rpcbind
1183 ? Ss 0:00 mdadm --monitor --scan -f --pid-file=/var/run/mdadm/m
1192 ? Ssl 0:09 dbus-daemon --system
1203 ? Ssl 0:02 NetworkManager --pid-file=/var/run/NetworkManager/Net
1210 ? S 0:00 /usr/sbin/modem-manager
1214 ? S 0:00 avahi-daemon: running [linux.local]
1215 ? Ss 0:00 avahi-daemon: chroot helper
1228 ? Ss 0:00 rpc.statd
1256 ? Ss 0:00 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_s
1257 ? S 0:00 [rpciod/0]
1258 ? S 0:00 [rpciod/1]
1265 ? Ss 0:00 rpc.idmapd
1275 ? Ss 0:00 cupsd -C /etc/cups/cupsd.conf
1300 ? Ss 0:00 /usr/sbin/acpid
1308 ? Ssl 0:02 hald
1309 ? S 0:00 hald-runner
1339 ? S 0:00 hald-addon-input: Listening on /dev/input/event8 /dev
1341 ? S 0:00 /usr/libexec/hald-addon-rfkill-killswitch
1355 ? S 0:00 /usr/libexec/hald-addon-acpi
1376 ? Ssl 0:00 pcscd
1391 ? Ss 0:00 /usr/sbin/sshd
1612 ? Ss 0:01 /usr/sbin/abrtd
1620 ? Ss 0:00 crond
1631 ? Ss 0:00 /usr/sbin/atd
1639 ? Ssl 0:00 /usr/sbin/gdm-binary -nodaemon
1644 tty2 Ss+ 0:00 /sbin/mingetty /dev/tty2
1646 tty3 Ss+ 0:00 /sbin/mingetty /dev/tty3
1650 tty4 Ss+ 0:00 /sbin/mingetty /dev/tty4
1656 tty5 Ss+ 0:00 /sbin/mingetty /dev/tty5
1662 tty6 Ss+ 0:00 /sbin/mingetty /dev/tty6
1675 ? Sl 0:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome
1678 tty1 Rs+ 9:07 /usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth
1692 ? Sl 0:00 /usr/sbin/console-kit-daemon --no-daemon
1762 ? S 0:00 /usr/bin/dbus-launch --exit-with-session
1768 ? S 0:06 /usr/libexec/upowerd
1799 ? S 0:00 /usr/libexec/polkit-gnome-authentication-agent-1
1805 ? S 0:00 /usr/libexec/polkit-1/polkitd
1814 ? SNl 0:00 /usr/libexec/rtkit-daemon
1818 ? Sl 0:00 pam: gdm-password
1851 ? Sl 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
1858 ? Ssl 0:02 gnome-session
1868 ? S 0:00 dbus-launch --sh-syntax --exit-with-session
1869 ? Ssl 0:01 /bin/dbus-daemon --fork --print-pid 5 --print-address
1901 ? S 0:04 /usr/libexec/gconfd-2
1906 ? Ss 6:37 /usr/libexec/gnome-settings-daemon
1912 ? S 0:00 /usr/libexec/gvfsd
1915 ? Sl 0:17 metacity
1921 ? S<sl 0:08 /usr/bin/pulseaudio --start --log-target=syslog
1922 ? S 8:23 gnome-panel
1926 ? Ssl 0:00 /usr/libexec//gvfs-fuse-daemon /home/utpal/.gvfs
1932 ? S 0:00 /usr/libexec/pulse/gconf-helper
1933 ? S 8:55 nautilus
1935 ? Ssl 0:00 /usr/libexec/bonobo-activation-server --ac-activate -
1938 ? S 0:08 syndaemon -i 0.5 -k
1943 ? S 0:19 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GN
1945 ? S 0:00 /usr/libexec/trashapplet --oaf-activate-iid=OAFIID:GN
1951 ? S 0:00 /usr/libexec/gvfsd-trash --spawner :1.7 /org/gtk/gvfs
1953 ? S 0:00 /usr/libexec/gvfs-gdu-volume-monitor
1955 ? Sl 0:01 /usr/libexec/udisks-daemon
1959 ? S< 0:00 /sbin/udevd -d
1960 ? S 0:00 bluetooth-applet
1961 ? S 0:05 udisks-daemon: polling /dev/sr0
1971 ? S 0:03 gnome-power-manager
1972 ? S 0:00 /usr/libexec/gdu-notification-daemon
1974 ? S 0:00 /usr/bin/seapplet
1976 ? S 0:00 [bluetooth]
1978 ? S 0:00 /usr/libexec/gvfs-gphoto2-volume-monitor
1979 ? Sl 0:02 gpk-update-icon
1982 ? S<s 0:00 /usr/sbin/bluetoothd --udev
1989 ? S 0:00 python /usr/share/system-config-printer/applet.py
1990 ? S 0:00 /usr/libexec/polkit-gnome-authentication-agent-1
1991 ? S 0:00 deja-dup-monitor
2003 ? S 0:00 /usr/sbin/restorecond -u
2006 ? S 0:00 gnome-volume-control-applet
2011 ? S 0:00 abrt-applet
2013 ? S 0:00 evolution-alarm-notify
2017 ? SL 0:03 nm-applet --sm-disable
2018 ? S< 0:00 [krfcommd]
2019 ? Ss 0:03 gnome-screensaver
2027 ? S 0:00 /usr/bin/gnote --panel-applet --oaf-activate-iid=OAFI
2028 ? S 0:01 /usr/libexec/clock-applet --oaf-activate-iid=OAFIID:G
2030 ? S 0:00 /usr/libexec/gdm-user-switch-applet --oaf-activate-ii
2031 ? S 0:00 /usr/libexec/notification-area-applet --oaf-activate-
2039 ? S 0:00 /usr/libexec/e-calendar-factory
2041 ? S 0:00 /usr/libexec/gvfsd-burn --spawner :1.7 /org/gtk/gvfs/
2043 ? S 0:00 /usr/libexec/gvfsd-metadata
2057 ? S 0:01 /usr/libexec/notification-daemon
2251 ? S 0:00 /usr/libexec/gvfsd-network --spawner :1.7 /org/gtk/gv
2256 ? S 0:00 /usr/libexec/gvfsd-dnssd --spawner :1.7 /org/gtk/gvfs
2477 ? Sl 19:32 /usr/lib/nspluginwrapper/npviewer.bin --plugin /usr/l
2630 ? S< 0:00 /sbin/udevd -d
3376 ? S 0:00 /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.
3433 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/client
3435 ? Ss 0:00 sendmail: accepting connections
3823 ? S 0:00 /bin/sh /usr/lib/firefox-3.6/run-mozilla.sh /usr/lib/
3840 ? Sl 9:22 /usr/lib/firefox-3.6/firefox
3901 ? S 0:00 dbus-launch --autolaunch 31e28bc45f465b16014ac3d40000
3902 ? Ssl 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address
4303 ? Sl 1:11 /usr/lib/nspluginwrapper/npviewer.bin --plugin /usr/l
5206 ? Sl 0:00 gnome-terminal
5207 ? S 0:00 gnome-pty-helper
5208 pts/0 Ss 0:00 bash
5230 pts/0 S 0:00 su
5239 pts/0 S+ 0:00 bash
5261 pts/1 Ss 0:00 bash
5283 pts/1 R+ 0:00 ps -ax
[utpal@localhost ~]$


[root@localhost /]# du --max-depth=1
12 ./.dbus
13604 ./sbin
4 ./srv
1736 ./root
16 ./lost+found
4 ./media
4 ./opt
du: cannot access `./proc/5334/task/5334/fd/4': No such file or directory
du: cannot access `./proc/5334/task/5334/fdinfo/4': No such file or directory
du: cannot access `./proc/5334/fd/4': No such file or directory
du: cannot access `./proc/5334/fdinfo/4': No such file or directory
0 ./proc
du: cannot access `./home/utpal/.gvfs': Permission denied
2325348 ./home
32296 ./etc
0 ./selinux
17267 ./boot
4 ./mnt
6848 ./bin
1580488 ./var
2002032 ./usr
116588 ./lib
912 ./dev
0 ./sys
11732 ./tmp
6108899 .

Hangdog42 09-06-2010 01:35 PM

Doesn't look to me like there is anything wrong. Is there something in particular here you're worried about? By the way, using CODE around output makes it much more readable...

Code:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6229780 3260892 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6233760 3256912 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6235108 3255564 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot


Meson 09-06-2010 01:37 PM

It's kind of difficult to read your posts. First use the code tags. Second, try adding the human readable option to some of those commands.

Code:

du -hs
df -H

Anyway, check your log files, do you have some kind of error that's generating huge numbers of the same line in kernel.log or something like that?

jschiwal 09-06-2010 01:45 PM

In the past, I've had space problems due to the runaway size of the ~/.xsession-errors file due to problems with an early KDE 4.0 install. I discovered this hidden file using konqueror's file size view. Maybe gnome has a similar program showing the size of files graphically.

Also check if your logs are being rotated. (i.e. are they archived periodically. You can delete the old logs in /var/log/ that end in .tar.gz.)

Check for very large deleted files that are still open. "lsof +L1".

Try using "du -hs" instead to get the total size of directories, including files in subdirectories.

Try emptying your web browser's cache and limiting it's maximum size. The contents of your ~/.cache and ~/.thumbnails directories can be deleted safely.

punk123456 09-06-2010 01:50 PM

2 days before there was around 5Gb free now only 3.3
no data added
it is increasing slowly , might be some background process building log files , or something like that

[utpal@localhost ~]$ du -hs
2.3G .
[utpal@localhost ~]$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
11G 6.5G 3.3G 67% /
tmpfs 261M 639k 260M 1% /dev/shm
/dev/sda2 508M 29M 454M 6% /boot

punk123456 09-06-2010 01:55 PM

Quote:

Originally Posted by Hangdog42 (Post 4089657)
Doesn't look to me like there is anything wrong. Is there something in particular here you're worried about? By the way, using CODE around output makes it much more readable...

Code:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6229780 3260892 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6233760 3256912 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6235108 3255564 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot


the disk space is filled up as u may notice that within few min it have increase to 67% , i am not downloading any thing right now.

[utpal@localhost ~]$ du -hs
2.3G .
[utpal@localhost ~]$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
11G 6.5G 3.3G 67% /
tmpfs 261M 639k 260M 1% /dev/shm
/dev/sda2 508M 29M 454M 6% /boot
[utpal@localhost ~]$

punk123456 09-06-2010 02:16 PM

Quote:

Originally Posted by punk123456 (Post 4089652)
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6229780 3260892 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6233760 3256912 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost utpal]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6235108 3255564 66% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot



it have reached to the following

[root@localhost a]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6354444 3136228 67% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost a]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6359860 3130812 68% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot

please give some solution

punk123456 09-06-2010 02:38 PM

Quote:

Originally Posted by punk123456 (Post 4089689)
it have reached to the following

[root@localhost a]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6354444 3136228 67% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot
[root@localhost a]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6359860 3130812 68% /
tmpfs 254088 624 253464 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot

please give some solution



have reached
[utpal@localhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
9998576 6379636 3111036 68% /
tmpfs 254088 560 253528 1% /dev/shm
/dev/sda2 495844 27740 442504 6% /boot

please let me know how to solve the problem, i have set up a server and lots of important stuffed that would take a long time to set up again

Soadyheid 09-06-2010 02:49 PM

This is just a wild thought 'cos I really don't know...
Code:

1172 ? Ss 0:00 rpcbind
1183 ? Ss 0:00 mdadm --monitor --scan -f --pid-file=/var/run/mdadm/m
1192 ? Ssl 0:09 dbus-daemon --system
1203 ? Ssl 0:02 NetworkManager --pid-file=/var/run/NetworkManager/Net
1210 ? S 0:00 /usr/sbin/modem-manager

It looks like you're running a soft RAID. Looking at Linuxmanpages.com
http://linuxmanpages.com/man8/mdadm.8.php

Under "Monitor Mode" it says...
Quote:

If --scan is given, then a program or an E-mail address must be specified on the command line or in the config file. If neither are available, then mdadm will not monitor anything. Without --scan mdadm will continue monitoring as long as something was found to monitor. If no program or email is given, then each event is reported to stdout.
Are you writing the scan event info to /var/run/mdadm/m in which case this file should be growing and using up disk space?
Yeh, I know it's a long shot, especially as I don't really know anything about mdadm so could be talking absolute tosh!
Anyway... :twocents:

Play Bonny! :hattip:

Hangdog42 09-06-2010 03:29 PM

I'm going to second jschiwal's advice. Have a look at your log files, see if any are abnormally large or growing.

animeman 09-06-2010 05:49 PM

i had a issue like that but i was programing and i did not realize that it would recopy it self lol though i would look at my logs if i where you


All times are GMT -5. The time now is 08:42 PM.