BleachBit occupies the entire free disk space after wipe swap and free space.
After running Bleachbit to clean Firefox(cache, DOM, cookies etc) , wipe swap and free space storage Bleachbit occupies whole storage although free space around is 7-8GB.
Stderr output of bleachbit:
sudo bleachbit
debug: process 'firefox-bin' is running
debug: running cmd ['swapon', '-s']
debug: disabling swap
debug: running cmd ['swapoff', '-a', '-v']
debug: detected swap devices: ['/dev/sda7']
info: wiping swap device '/dev/sda7'
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 134, in execute
for func_ret in self.func():
File "/usr/share/bleachbit/bleachbit/Memory.py", line 270, in wipe_memory
wipe_swap_linux(devices, proc_swaps)
File "/usr/share/bleachbit/bleachbit/Memory.py", line 248, in wipe_swap_linux
'swap device %s is larger than expected' % device)
RuntimeError: swap device /dev/sda7 is larger than expected
Bus error
Output of `df -h` command:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 388M 17M 371M 5% /run
/dev/sda8 144G 137G 0 100% /
tmpfs 1.9G 4.5M 1.9G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 256M 90M 167M 36% /boot/efi
tmpfs 388M 12K 388M 1% /run/user/117
tmpfs 388M 48K 388M 1% /run/user/1000
My Debian OS is in `/dev/sda8` partition. As, you can see used space is 137GB out of 144GB but `Avail` is still 0MB and use is 100%.
Even pressing tab for auto-completion in terminal it shows me error : "bash: cannot create temp file for here-document: No space left on device". After that, once again I tried to wipe swap and free space but fails with same runtime error message "swap device /dev/sda7 is larger than expected" . Then I checked source code ( https://github.com/bleachbit/bleachbit/blob/master/bleachbit/Memory.py#L279 ) where max memory size of swap is 29GB ( https://github.com/bleachbit/bleachbit/blob/b3ffcd9c44c677f9544a55dbd22f... ). But, my swap memory size is 9.2G (for more details see below).
cat /proc/swaps
Filename Type Size Used Priority
/dev/sda7 partition 9765884 24 -1
sudo bleachbit
info: automatically preserving language 'en'
debug: running cmd ['swapon', '-s']
debug: disabling swap
debug: running cmd ['swapoff', '-a', '-v']
debug: detected swap devices: ['/dev/sda7']
info: wiping swap device '/dev/sda7'
Error in execution of
Traceback (most recent call last):
File "/usr/share/bleachbit/bleachbit/Worker.py", line 84, in execute
for ret in cmd.execute(self.really_delete):
File "/usr/share/bleachbit/bleachbit/Command.py", line 134, in execute
for func_ret in self.func():
File "/usr/share/bleachbit/bleachbit/Memory.py", line 270, in wipe_memory
wipe_swap_linux(devices, proc_swaps)
File "/usr/share/bleachbit/bleachbit/Memory.py", line 248, in wipe_swap_linux
'swap device %s is larger than expected' % device)
RuntimeError: swap device /dev/sda7 is larger than expected
I found a related issue ( https://www.bleachbit.org/comment/14#comment-14 ) on forum but that is not helpful for me. Due to this my PC is no longer working properly.
System details:
OS : Debian 9.8 (Stretch)
Desktop environment : GNOME
BleachBit package: Official from Stretch main
Any help would be appreciated.
andrew
Thu, 03/28/2019 - 11:02
Permalink
From the FAQ
From the FAQ
Does this help?
---
Andrew, lead developer
finn
Thu, 03/28/2019 - 11:10
Permalink
@andrew Thanks. Yep, It
@andrew Thanks. Yep, It worked.