為什麼網際網路瀏覽器啟動時出現“空間不足”-錯誤?tmpdf?
對於幾個應用程序,我得到了一個“空間不足”的錯誤,我希望解決這個錯誤。
範例(我的 debian 是德語):
$ chromium [2595:2595:0805/143635.823734:ERROR:process_singleton_posix.cc(280)] Failed to create /home/jk/.config/chromium/SingletonLock: Auf dem Gerät ist kein Speicherplatz mehr verfügbar (28) [2595:2595:0805/143635.823938:ERROR:chrome_browser_main.cc(1410)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. $
我跑了,但使用 th函式
htop
找不到任何東西。chrom``F3
另外,我有這個空閒空間:
# df -T Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 4060868 0 4060868 0% /dev tmpfs tmpfs 814432 9488 804944 2% /run /dev/sda1 ext4 34352812 6819976 25758092 21% / tmpfs tmpfs 4072144 30804 4041340 1% /dev/shm tmpfs tmpfs 5120 4 5116 1% /run/lock tmpfs tmpfs 4072144 0 4072144 0% /sys/fs/cgroup /dev/sda5 ext4 71731064 20562300 47539148 31% /home tmpfs tmpfs 814428 4 814424 1% /run/user/111 tmpfs tmpfs 814428 16 814412 1% /run/user/1000 #
從另一個問題我也檢查了這個輸出:
# lsof | fgrep deleted lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/111/gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. pulseaudi 1235 jk 6u REG 0,5 67108864 20258 /memfd:pulseaudio (deleted) alsa-sink 1235 1296 jk 6u REG 0,5 67108864 20258 /memfd:pulseaudio (deleted) alsa-sour 1235 1297 jk 6u REG 0,5 67108864 20258 /memfd:pulseaudio (deleted) lxtermina 1303 jk 15u REG 8,1 1917 1962258 /tmp/vteFUZ45Z (deleted) lxtermina 1303 jk 16u REG 8,1 1312 1962259 /tmp/vteLEY45Z (deleted) lxtermina 1303 jk 23u REG 8,1 2042 1962279 /tmp/vteQW8B6Z (deleted) lxtermina 1303 jk 24u REG 8,1 624 1962282 /tmp/vteNS8B6Z (deleted) lxtermina 1303 jk 28u REG 8,1 1944 1962283 /tmp/vteD5BA6Z (deleted) lxtermina 1303 jk 29u REG 8,1 384 1962285 /tmp/vteKXBA6Z (deleted) lxtermina 1303 jk 30u REG 8,1 2864 1962286 /tmp/vteLLCA6Z (deleted) gmain 1303 1306 jk 15u REG 8,1 1917 1962258 /tmp/vteFUZ45Z (deleted) gmain 1303 1306 jk 16u REG 8,1 1312 1962259 /tmp/vteLEY45Z (deleted) gmain 1303 1306 jk 23u REG 8,1 2042 1962279 /tmp/vteQW8B6Z (deleted) gmain 1303 1306 jk 24u REG 8,1 624 1962282 /tmp/vteNS8B6Z (deleted) gmain 1303 1306 jk 28u REG 8,1 1944 1962283 /tmp/vteD5BA6Z (deleted) gmain 1303 1306 jk 29u REG 8,1 384 1962285 /tmp/vteKXBA6Z (deleted) gmain 1303 1306 jk 30u REG 8,1 2864 1962286 /tmp/vteLLCA6Z (deleted) gdbus 1303 1309 jk 15u REG 8,1 1917 1962258 /tmp/vteFUZ45Z (deleted) gdbus 1303 1309 jk 16u REG 8,1 1312 1962259 /tmp/vteLEY45Z (deleted) gdbus 1303 1309 jk 23u REG 8,1 2042 1962279 /tmp/vteQW8B6Z (deleted) gdbus 1303 1309 jk 24u REG 8,1 624 1962282 /tmp/vteNS8B6Z (deleted) gdbus 1303 1309 jk 28u REG 8,1 1944 1962283 /tmp/vteD5BA6Z (deleted) gdbus 1303 1309 jk 29u REG 8,1 384 1962285 /tmp/vteKXBA6Z (deleted) gdbus 1303 1309 jk 30u REG 8,1 2864 1962286 /tmp/vteLLCA6Z (deleted) firefox-e 1901 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Gecko_IOT 1901 1904 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Timer 1901 1905 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Link\x20M 1901 1906 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Socket 1901 1907 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) JS\x20Wat 1901 1908 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) JS\x20Hel 1901 1909 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) JS\x20Hel 1901 1910 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) AudioIPC 1901 1911 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) AudioIPC 1901 1912 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Hang\x20M 1901 1914 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) gmain 1901 1915 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) gdbus 1901 1916 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Cache2 1901 1919 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Cookie 1901 1920 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) GMPThread 1901 1922 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Softwar~c 1901 1923 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Composito 1901 1924 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) VRListene 1901 1925 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ImgDecode 1901 1926 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ImageIO 1901 1927 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) IPDL\x20B 1901 1932 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) HTML5\x20 1901 1933 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DOM\x20Wo 1901 1936 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) firefox-e 1901 1937 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) firefox-e 1901 1938 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ImageBr~g 1901 1940 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) FS\x20Bro 1901 1941 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ProcessHa 1901 1942 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) LoadRoots 1901 1958 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DataStora 1901 1959 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DataStora 1901 1960 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) SysProxyS 1901 1961 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) dconf\x20 1901 1962 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ProxyReso 1901 1963 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DataStora 1901 1964 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) URL\x20Cl 1901 1965 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Classif~ 1901 1967 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) SaveScrip 1901 1968 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) Cache\x20 1901 1969 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DataStora 1901 1970 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) mozStorag 1901 1971 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) QuotaMana 1901 1986 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) ImgDecode 1901 1987 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) FS\x20Bro 1901 1994 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) mozStorag 1901 2015 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) threaded- 1901 2062 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) FS\x20Bro 1901 2120 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DOM\x20Wo 1901 2348 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) FS\x20Bro 1901 2426 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DNS\x20Re 1901 2444 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) DNS\x20Re 1901 2460 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) StreamTra 1901 2476 jk 122r REG 8,1 1222721 1962287 /tmp/tmp-3yq.xpi (deleted) # df
/run/user/111/gvfs
並且/run/user/1000/gvfs
是安裝我的一個 android 設備的兩個分區的地方。我被困住了,我該怎麼辦?
正如使用者 telcoM 指出的那樣,輸出
df -i
絕對相關:$ df -i Dateisystem Inodes IBenutzt IFrei IUse% Eingehängt auf udev 1015217 460 1014757 1% /dev tmpfs 1018036 686 1017350 1% /run /dev/sda1 2199344 176230 2023114 9% / tmpfs 1018036 36 1018000 1% /dev/shm tmpfs 1018036 4 1018032 1% /run/lock tmpfs 1018036 15 1018021 1% /sys/fs/cgroup /dev/sda5 17664 17664 0 100% /home tmpfs 1018036 15 1018021 1% /run/user/111 tmpfs 1018036 22 1018014 1% /run/user/1000 $
它表明我沒有可用的 inode 了!我真的不知道我是如何設法只為幾乎 69GiB
17664
的分區創建索引節點的。/home/
您
/home
的文件系統使用ext4
文件系統類型,它不能按需動態創建新的 inode。因此,如果您有大量小文件,即使仍有大量可用空間,您也可能已用完 inode。請執行df -i
以查看 inode 分配狀態。問題是,在
ext4
文件系統創建時,您可以選擇“inode density”,即每單位磁碟空間將分配多少個inode(使用mke2fs
選項-i <bytes-per-inode>
,或間接通過-T <usage-type>
選項)。創建文件系統後,如果不銷毀並重新創建文件系統,則無法更改此參數。這意味著,您將無法輕鬆增加文件系統中的 inode 數量,除非通過擴展文件系統以獲得更多 inode 作為擴展的副作用,因為 inode 密度保持不變。
如果文件系統中文件的平均大小低於該
bytes-per-inode
值,那麼在實際磁碟空間用完之前,您將用完 inode。更現代的文件系統類型,如 XFS,實際上會按需生成新的 inode,因此不會出現這個問題。使用這些文件系統,類似
df -i
的命令可能會輸出虛擬或無意義的結果。