Bug 134081 - incorrect report of low disk space
Summary: incorrect report of low disk space
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 20:03 UTC by Keith Bremner
Modified: 2008-08-21 20:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Bremner 2006-09-14 20:03:29 UTC
Version:           Release 71.1 (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
OS:                Linux

I keep receiving an error which says "you are running low on disk space on your home partition (currently -72% free), would you like to run konqueror to free some disk space and fix the problem?". However, the system seems perfectly usable.

Should the free space be reported as a negative number?

I have plenty of free space for each partition. df shows the usage as:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda6             10490040   3917096   6572944  38% /
udev                    257048       192    256856   1% /dev
/dev/sda5               136500     39824     96676  30% /boot
/dev/sda7              2104376    432584   1671792  21% /var
/dev/sda8              2104376    129700   1974676   7% /tmp
/dev/sda9              5245016     34004   5211012   1% /srv
/dev/sda10           100547708   2093384  98454324   3% /home
/dev/sda1             33792972  19262052  14530920  58% /windows/C
192.168.0.7:/home/share
                     200003136  52587520 147415616  27% /home/share
192.168.0.7:/mnt/SUSE-10.1/DVD
                       8309664   8309664         0 100% /mnt/SUSE-10.1/DVD
 

I am running SUSE 10.1 with the following additional installation repositories:
http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.1/
http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1
http://packman.iu-bremen.de/suse/10.1
http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.1/
http://ftp.leo.org/pub/comp/os/unix/linux/suse/suse/update/10.1
http://software.opensuse.org/download/Compiz-Quinn/SUSE_Linux_10.1/
Comment 1 Stephan Kulow 2006-09-14 20:32:42 UTC
hmm, I guess you have too much free disk - it may not fit in an integer :)
Comment 2 Nick Warne 2006-09-14 21:06:40 UTC
What creates the pop-up warning message to run?  Is there a 'watcher' somewhere?  I can't seem to see anything here on 3.5.4 that does that?

I was wondering if it has a wrongly set up config file to check against.

Nick
Comment 3 Keith Bremner 2006-09-15 00:05:21 UTC
I rebooted my machine and logged in. I left it on the desktop without opening any other apps and left it. When I came back to the machine after 30 mins or so the warning message had reappeared.

Stephan may be right about the free space being too big for an integer; that would possibly explain the negative number. Flashbacks of undergraduate discrete mathematics module comes flooding back ;-)

If it helps to know what my machine has been running, the output from ps aux is:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.0    716   284 ?        S    22:27   0:02 init [5]  
root         2  0.0  0.0      0     0 ?        S    22:27   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   22:27   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    22:27   0:00 [migration/1]
root         5  0.0  0.0      0     0 ?        SN   22:27   0:00 [ksoftirqd/1]
root         6  0.0  0.0      0     0 ?        S<   22:27   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S<   22:27   0:00 [events/1]
root         8  0.0  0.0      0     0 ?        S<   22:27   0:00 [khelper]
root         9  0.0  0.0      0     0 ?        S<   22:27   0:00 [kthread]
root        12  0.0  0.0      0     0 ?        S<   22:27   0:00 [kblockd/0]
root        13  0.0  0.0      0     0 ?        S<   22:27   0:00 [kblockd/1]
root        14  0.0  0.0      0     0 ?        S<   22:27   0:00 [kacpid]
root       117  0.0  0.0      0     0 ?        S    22:27   0:00 [pdflush]
root       118  0.0  0.0      0     0 ?        S    22:27   0:00 [pdflush]
root       120  0.0  0.0      0     0 ?        S<   22:27   0:00 [aio/0]
root       119  0.0  0.0      0     0 ?        S    22:27   0:00 [kswapd0]
root       121  0.0  0.0      0     0 ?        S<   22:27   0:00 [aio/1]
root       335  0.0  0.0      0     0 ?        S<   22:27   0:00 [cqueue/0]
root       336  0.0  0.0      0     0 ?        S<   22:27   0:00 [cqueue/1]
root       337  0.0  0.0      0     0 ?        S<   22:27   0:00 [kseriod]
root       376  0.0  0.0      0     0 ?        S<   22:27   0:00 [kpsmoused]
root       756  0.0  0.0      0     0 ?        S<   22:27   0:00 [ata/0]
root       757  0.0  0.0      0     0 ?        S<   22:27   0:00 [ata/1]
root       769  0.0  0.0      0     0 ?        S<   22:27   0:00 [scsi_eh_0]
root       770  0.0  0.0      0     0 ?        S<   22:27   0:00 [scsi_eh_1]
root       846  0.0  0.0      0     0 ?        S<   22:27   0:00 [reiserfs/0]
root       847  0.0  0.0      0     0 ?        S<   22:27   0:00 [reiserfs/1]
root       941  0.0  0.1   1860   612 ?        S<s  22:27   0:00 /sbin/udevd --daemon
root      1483  0.0  0.0      0     0 ?        S<   22:27   0:00 [khubd]
root      2538  0.0  0.1   1896   784 ?        Ss   22:28   0:00 /sbin/syslog-ng
root      2545  0.0  0.1   1656   520 ?        Ss   22:28   0:00 /sbin/klogd -c 1 -x -x
root      2574  0.0  0.1   1796   700 ?        Ss   22:28   0:00 /sbin/resmgrd
root      2602  0.0  0.0   1520   496 ?        Ss   22:28   0:00 /sbin/acpid
100       2612  0.0  0.1   3420   972 ?        Ss   22:28   0:00 /usr/bin/dbus-daemon --system
root      2758  0.1  0.5   4524  3080 ?        Ss   22:28   0:02 /usr/sbin/hald --daemon=yes --retain-privileges
root      2916  0.0  0.1   1820   604 ?        S    22:28   0:00 hald-addon-acpi
root      3175  0.0  0.1   1816   576 ?        S    22:28   0:00 hald-addon-storage
root      3178  0.0  0.1   1812   576 ?        S    22:28   0:00 hald-addon-storage
root      3243  0.0  0.0   1684   256 ?        Ss   22:28   0:00 /sbin/dhcpcd -C -H -D -K -N -t 999999 -h sonofparker -c /etc/sysconfig/network/scripts/dhcpcd-hook eth0
mdnsd     3456  0.0  0.1   1976   960 ?        Ss   22:28   0:00 /usr/sbin/mdnsd -f /etc/nss_mdns.conf -b
nobody    3475  0.0  0.0   1560   424 ?        Ss   22:28   0:00 /sbin/portmap
root      3517  0.0  0.1   9860   608 ?        S<sl 22:28   0:00 /sbin/auditd -n
root      3519  0.0  0.0      0     0 ?        S<   22:28   0:00 [kauditd]
root      3538  0.0  0.0      0     0 ?        S<   22:28   0:00 [rpciod/0]
root      3539  0.0  0.0      0     0 ?        S<   22:28   0:00 [rpciod/1]
root      3540  0.0  0.0      0     0 ?        S    22:28   0:00 [lockd]
root      3671  0.3  4.6  75256 23688 ?        SNsl 22:28   0:05 zmd /usr/lib/zmd/zmd.exe
root      3685  0.0  0.2   4856  1228 ?        Ss   22:28   0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root      3772  0.0  0.3   4308  1756 ?        S    22:28   0:00 /usr/sbin/powersaved -d -f /var/run/acpid.socket -v 3
root      3793  0.0  0.1   2808   792 ?        S    22:28   0:00 /opt/kde3/bin/kdm
lp        3831  0.0  0.6   7216  3380 ?        Ss   22:28   0:00 /usr/sbin/cupsd
root      3835  0.1  9.1  57940 47012 ?        SL   22:28   0:02 /usr/X11R6/bin/X -br -nolisten tcp :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-Cas92O
root      3854  0.0  0.1 106472  1028 ?        Ssl  22:28   0:00 /usr/sbin/nscd
ntp       3859  0.0  0.8   4328  4328 ?        SLs  22:28   0:00 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp
root      3870  0.0  3.1  20676 16160 tty7     SLs+ 22:28   0:00 /usr/X11R6/bin/Xorg -br vt7 -auth /tmp/.Xgl-auth-wO5PSv -nolisten tcp :93 -terminate
root      3930  0.0  0.3   5412  1732 ?        Ss   22:28   0:00 /usr/lib/postfix/master
postfix   3939  0.0  0.3   5380  1648 ?        S    22:28   0:00 pickup -l -t fifo -u
postfix   3943  0.0  0.3   5412  1668 ?        S    22:28   0:00 qmgr -l -t fifo -u
root      3950  0.0  0.1   1820   544 ?        Ss   22:28   0:00 /usr/sbin/cron
root      4089  0.0  0.1   1960   660 tty1     Ss+  22:28   0:00 /sbin/mingetty --noclear tty1
root      4090  0.0  0.1   1960   636 tty2     Ss+  22:28   0:00 /sbin/mingetty tty2
root      4097  0.0  0.1   1956   636 tty3     Ss+  22:28   0:00 /sbin/mingetty tty3
root      4098  0.0  0.1   1960   636 tty4     Ss+  22:28   0:00 /sbin/mingetty tty4
root      4100  0.0  0.1   1956   640 tty5     Ss+  22:28   0:00 /sbin/mingetty tty5
root      4106  0.0  0.1   1960   640 tty6     Ss+  22:28   0:00 /sbin/mingetty tty6
root      4143  0.0  0.3   3860  1632 ?        S    22:28   0:00 -:0              
keith     4161  0.0  0.2   3916  1404 ?        Ss   22:29   0:00 /bin/sh /usr/X11R6/bin/kde
keith     4203  0.0  0.0   3348   428 ?        Ss   22:29   0:00 /usr/bin/gpg-agent --sh --daemon
keith     4204  0.0  0.1   4384   764 ?        Ss   22:29   0:00 ssh-agent /bin/bash /etc/X11/xinit/xinitrc
keith     4208  0.0  0.1   2728   644 ?        S    22:29   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session /usr/X11R6/bin/kde
keith     4209  0.0  0.1   3732   776 ?        Ss   22:29   0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --session
keith     4244  0.0  0.0   1364   132 ?        S    22:29   0:00 start_kdeinit --new-startup +kcminit_startup
keith     4245  0.0  1.3  24260  7040 ?        Ss   22:29   0:00 kdeinit Running...                                               
keith     4248  0.0  0.5  23436  2680 ?        S    22:29   0:00 dcopserver [kdeinit] --nosid                                     
keith     4250  0.0  1.5  26252  8116 ?        S    22:29   0:00 klauncher [kdeinit] --new-startup                                
keith     4252  0.0  3.5  38680 18004 ?        S    22:29   0:00 kded [kdeinit] --new-startup                                     
keith     4272  0.0  0.0   1504   348 ?        S    22:29   0:00 kwrapper ksmserver --windowmanager /usr/local/bin/compiz.sh
keith     4274  0.0  2.0  27344 10544 ?        S    22:29   0:00 ksmserver [kdeinit] --windowmanager /usr/local/bin/compiz.sh     
keith     4276  0.0  0.9   8332  4992 ?        S    22:29   0:00 /usr/bin/compiz gconf
keith     4277  0.0  2.5  24368 13100 ?        S    22:29   0:00 /usr/bin/gnome-window-decorator
keith     4281  0.0  0.7   6216  3688 ?        S    22:29   0:00 /opt/gnome/lib/GConf/2/gconfd-2 6
keith     4283  0.0  3.0  32020 15920 ?        S    22:29   0:00 kdesktop [kdeinit]                                               
keith     4285  0.0  3.2  33452 16516 ?        S    22:29   0:00 kicker [kdeinit]                                                 
keith     4286  0.0  1.2  24928  6608 ?        S    22:29   0:00 kio_file [kdeinit] file /tmp/ksocket-keith/klauncheraDJm6b.slave-socket /tmp/ksocket-keith/kdesktopJbHQhc.slave-socket
keith     4297  0.0  3.6  36616 18680 ?        S    22:29   0:00 konqueror [kdeinit] --preload                                    
keith     4299  0.0  2.4  63196 12704 ?        S    22:29   0:00 knotify [kdeinit]                                                
keith     4514  0.5  3.0  32704 15852 ?        S    22:51   0:00 konsole [kdeinit]                                                
keith     4515  0.0  0.3   4392  1916 pts/1    Ss   22:51   0:00 /bin/bash
keith     4542  0.0  0.1   2388   844 pts/1    R+   22:51   0:00 ps aux

Good luck tracking this down

Keith
Comment 4 Bruce Cadieux 2006-09-15 05:06:39 UTC
I am having the same problem, except I clicked the don't show this again in the dialog that appears, and now Konqueror opens instaed, this is extremely annoying. If I leave the machine for a while, and retun there will be 8 instances of konqueror open, I have 125 gigs of free space in my home partition.
Comment 5 Jeff Kramer 2006-09-15 05:11:32 UTC
Having same issue with low disk space on /home partition. Plenty of space on that drive and I did not start getting this warning until I did the updates on 9-13-06.
Comment 6 Lukáš Tinkl 2006-09-15 14:10:07 UTC
I see coolo already fixed it :) See I needed a long int after all :D
Comment 7 Bruce Cadieux 2006-09-15 15:47:30 UTC
Well I would love to be enlightened what the fix is, and how I can obtain it, I am new to this process, and haven't seen what was fixed or how.
Comment 8 Jason Dora 2006-09-15 18:05:45 UTC
I also am having this problem. I like Bruce Cadieux, also clicked the "don't show this again" and am getting annoying instances of konqueror opening every ~15 mins.

I am using the same configureration as Keith Bremner (SUSE, KDE 3.5.4 rel 71.1). The message says I have 2% free on my home partition; when I open konqueror it says I am using 0% of my drive. (In truth am probably only using ~30%.)
Comment 9 Kevin Tuke 2006-09-16 20:27:00 UTC
I'd also like to know how to fix this - have Suse 10.1 and latest KDE, keep getting the message too!!
Comment 10 Azary Smotrich 2006-09-16 21:51:57 UTC
I have the same problem since the latest KDE update. I could not find any config option to turn the check off, is there any?
Comment 11 Daniel Bauer 2006-09-17 19:31:39 UTC
Same problem here since update on KDE 3.5.4 "release 71.1" on Suse 10.0
Comment 12 Jacco 2006-09-18 09:36:08 UTC
Does anybody know where to switch this completely off?
Comment 13 Daniel 2006-09-18 10:38:38 UTC
Hi, I have the same error :(
Comment 14 Lukáš Tinkl 2006-09-18 11:21:38 UTC
The fix will be available with the next update of the RPMs
Comment 15 Stefano Aliffi 2006-09-19 13:02:05 UTC
I've just killed "kded" (>the KDE Daemon) and everything it's gonna be fine.

Waiting for the next RPMs update...

P.S.
Under the ".kde" folder there is a kdedrc file, but no way to disable that disk check.
There is just the way to bring back the "[...]would you like to run Konqueror[...]?" window.
But now, with kded killed down, my system is ok!
Comment 16 Sunny 2006-09-19 15:53:30 UTC
The "kill kded" worked for me as well. But be aware that this may break other thinks.

As Stephan Beal posted in suse-linux-e mailing list:
Achtung, though: i coincidentally read a separate bug report yesterday
(for kmail) which said that the problem (something to do with SSL certs
not being cached) was caused by kded NOT running. kded does stuff other
than report your drive space, so it shouldn't be arbitrarily killed.

Here is a link to the post:
http://lists.suse.com/archive/suse-linux-e/2006-Sep/3110.html

Cheers
Sunny
Comment 17 Stefano Aliffi 2006-09-20 00:02:26 UTC
What Sunny said it's real:
"kded" is used by KDE to mount automatically devices like usb-pens and is needed by Konqueror to access FTP servers and other things. That is my today's experience.
"kded" can be runned again, but I don't know if it will reactivate all its functions. USB pens and FTP access do. Currently I'm working by killing and running "kded" when I need or don't need it.

However, who gets Konqueror automatically opened can go to "/.kde/share/config/kdedrc" (under the user's home directory) and set "dontagainfreespace = true". The original warning message will reappear. If you consider it less annoying! I'm sure it uses less RAM than 22 or more copies of Konqueror.

Oh! Another workaround is to...fill your disk until the freespace will be long as an integer! In fact, the window appeared to me just after I've cleaned my drive! What a paradox!

I hope my help was appreciated again! Goodbye!
Comment 18 Stefano Aliffi 2006-09-20 11:44:45 UTC
>ThE LaST SOLuTIoN
After reading kded source code and that documentation "http://www.kde.org/areas/sysadmin/startup.php" in particular:

"kded is a generic KDE daemon. It has the ability to load various service modules and run these in the background. Each kded service module is described by a .desktop file installed under $KDEDIR/share/services/kded/ The Service Manager in the Control Center can be used to monitor the status of the service modules and to disable certain services."

>This is what to do:
Using root privilegies go to "/opt/kde3/share/services/kded/"
and move "medianotifier.desktop" to another place.
You will not get any media insert notification, including THAT annoying window, but you will keep SSL, automount, FTP access by Konqueror...etc.

Now enjoy your KDE 3.5.4!

Cheers
Stefano ;-)
Comment 19 Jacco 2006-09-20 18:23:00 UTC
A simpler solution than Stefano's seems to be disabling the Media Notifer Daemon in the controlcenter: KDE Components, Service Manager. This seems to have the same effect, tho notifications stop and I have noticed no other bad effects on my system.
Comment 20 Bruce Cadieux 2006-09-21 13:55:58 UTC
Downloaded and installed the latest SuSE rpms. The issue is not resolved, I just got the same error message, and now KMix pops up on my screen after a restart. Very annoying. Will there be a fix for these problems in the near future?
Comment 21 Jason Dora 2006-09-21 17:37:29 UTC
I want to give my thanks to Stefano Aliffi, for all his information on reseting the option to display the error message and how to disable the service altogether.

I myself was somewhat disappointed that one could not contorl the actions of the Media Notifer Daemon with much more granularity from within kcontrol (or any at all!).

For the meantime if you are still having problems, just turn off the Media Notifer Daemon. I'm sure the KDE team has the issues corrected, and we are all just waiting for the new bug fixes to be rolled into the new Suse rpms.
Comment 22 Bruce Cadieux 2006-09-21 21:40:18 UTC
They just released a new set of SuSE rpms yesterday, and the issue was not fixed. I just wanted to let them know the issue is still there, the new rpms did not correct it.
Comment 23 Azary Smotrich 2006-09-21 22:37:10 UTC
Strange, the latest set of SuSE 10.1 RPMs released 2006-09-21 seems to have fixed the problem for my environment; and I did not disable kded media notifications.
Comment 24 Stefano Aliffi 2006-09-22 09:40:58 UTC
The same goes for me, Kmix and mediamanager now acts correctly!!I also checked if mediamanager is back under "/opt/kde3/share/services/kded/" and it's there, acting perfect: when I connect my cds and usb cards it notify correctly!
Make sure every update was installed!
Comment 25 Sebastian Turzański 2008-08-21 20:25:12 UTC
*** This bug has been confirmed by popular vote. ***