我的笔记本电脑(Ubuntu 20.04)弹出这个窗口,告诉我没有剩余空间。我到处都找过了,但似乎都不管用。我唯一的临时解决办法是,如果我重新启动,它就可以正常工作,但它会慢慢占用越来越多的内存。
这是我的df -h
输出(瑞典语)。
重启之前:
folke@Nya-Laptop:~$ df -h
Filsystem Storlek Använt Ledigt Anv% Monterat på
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 2,5M 1,6G 1% /run
/dev/sda1 234G 234G 0 100% /
tmpfs 7,8G 192M 7,6G 3% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/loop4 19M 19M 0 100% /snap/freac/2981
/dev/loop3 64M 64M 0 100% /snap/core20/2182
/dev/loop5 516M 516M 0 100% /snap/gimp/418
/dev/loop6 350M 350M 0 100% /snap/gnome-3-38-2004/143
/dev/loop1 64M 64M 0 100% /snap/core20/2105
/dev/loop2 56M 56M 0 100% /snap/core18/2796
/dev/loop7 19M 19M 0 100% /snap/freac/2996
/dev/loop0 128K 128K 0 100% /snap/bare/5
/dev/loop8 253M 253M 0 100% /snap/dotnet-sdk/237
/dev/loop11 1,7M 1,7M 0 100% /snap/gnome-system-monitor/186
/dev/loop12 497M 497M 0 100% /snap/gnome-42-2204/132
/dev/loop9 165M 165M 0 100% /snap/gnome-3-28-1804/194
/dev/loop13 7,3M 7,3M 0 100% /snap/notepad-plus-plus/397
/dev/loop14 30M 30M 0 100% /snap/ruby/317
/dev/loop10 253M 253M 0 100% /snap/dotnet-sdk/234
/dev/loop15 6,9M 6,9M 0 100% /snap/ngrok/118
/dev/loop17 176M 176M 0 100% /snap/spotify/74
/dev/loop16 13M 13M 0 100% /snap/snap-store/959
/dev/loop19 1,5G 1,5G 0 100% /snap/root-framework/931
/dev/loop18 219M 219M 0 100% /snap/gnome-3-34-1804/93
/dev/loop20 178M 178M 0 100% /snap/spotify/75
/dev/loop22 454M 454M 0 100% /snap/wine-platform-7-devel-core20/24
/dev/loop21 82M 82M 0 100% /snap/gtk-common-themes/1534
/dev/loop24 348M 348M 0 100% /snap/wine-platform-runtime/365
/dev/loop25 92M 92M 0 100% /snap/gtk-common-themes/1535
/dev/loop23 75M 75M 0 100% /snap/core22/1033
/dev/loop26 75M 75M 0 100% /snap/core22/1122
/dev/loop27 452M 452M 0 100% /snap/wine-platform-7-devel-core20/23
/dev/loop28 32M 32M 0 100% /snap/ruby/323
/dev/loop29 12M 12M 0 100% /snap/ngrok/50
/dev/loop30 13M 13M 0 100% /snap/snap-store/1113
/dev/loop31 348M 348M 0 100% /snap/wine-platform-runtime/364
/dev/loop32 1,5M 1,5M 0 100% /snap/gnome-system-monitor/184
/dev/loop33 1,4G 1,4G 0 100% /snap/root-framework/928
/dev/loop35 516M 516M 0 100% /snap/gimp/428
/dev/loop34 219M 219M 0 100% /snap/gnome-3-34-1804/90
/dev/loop37 56M 56M 0 100% /snap/core18/2812
/dev/loop36 497M 497M 0 100% /snap/gnome-42-2204/141
/dev/loop38 6,8M 6,8M 0 100% /snap/notepad-plus-plus/399
/dev/loop39 497M 497M 0 100% /snap/wine-platform-runtime-core20/108
/dev/loop40 106M 106M 0 100% /snap/core/16574
/dev/loop41 256K 256K 0 100% /snap/gtk2-common-themes/13
/dev/loop42 350M 350M 0 100% /snap/gnome-3-38-2004/140
/dev/loop43 104M 104M 0 100% /snap/core/16928
/dev/loop44 45M 45M 0 100% /snap/filezilla/17
/dev/loop45 269M 269M 0 100% /snap/firefox/4033
/dev/loop46 269M 269M 0 100% /snap/firefox/4090
/dev/loop47 494M 494M 0 100% /snap/wine-platform-runtime-core20/107
/dev/loop48 165M 165M 0 100% /snap/gnome-3-28-1804/198
/dev/loop49 323M 323M 0 100% /snap/wine-platform-6-stable/19
tmpfs 1,6G 20K 1,6G 1% /run/user/121
tmpfs 1,6G 36K 1,6G 1% /run/user/1002
重启后立即:
folke@Nya-Laptop:~$ df -h
Filsystem Storlek Använt Ledigt Anv% Monterat på
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 2,4M 1,6G 1% /run
/dev/sda1 234G 98G 137G 42% /
tmpfs 7,8G 12M 7,8G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/loop3 64M 64M 0 100% /snap/core20/2182
/dev/loop2 104M 104M 0 100% /snap/core/16928
/dev/loop5 64M 64M 0 100% /snap/core20/2105
/dev/loop4 75M 75M 0 100% /snap/core22/1033
/dev/loop6 253M 253M 0 100% /snap/dotnet-sdk/234
/dev/loop7 253M 253M 0 100% /snap/dotnet-sdk/237
/dev/loop0 128K 128K 0 100% /snap/bare/5
/dev/loop8 75M 75M 0 100% /snap/core22/1122
/dev/loop9 269M 269M 0 100% /snap/firefox/4033
/dev/loop10 19M 19M 0 100% /snap/freac/2981
/dev/loop11 219M 219M 0 100% /snap/gnome-3-34-1804/90
/dev/loop12 516M 516M 0 100% /snap/gimp/418
/dev/loop1 106M 106M 0 100% /snap/core/16574
/dev/loop14 56M 56M 0 100% /snap/core18/2812
/dev/loop13 165M 165M 0 100% /snap/gnome-3-28-1804/198
/dev/loop15 516M 516M 0 100% /snap/gimp/428
/dev/loop17 497M 497M 0 100% /snap/gnome-42-2204/141
/dev/loop16 219M 219M 0 100% /snap/gnome-3-34-1804/93
/dev/loop19 45M 45M 0 100% /snap/filezilla/17
/dev/loop18 269M 269M 0 100% /snap/firefox/4090
/dev/loop20 350M 350M 0 100% /snap/gnome-3-38-2004/140
/dev/loop21 256K 256K 0 100% /snap/gtk2-common-themes/13
/dev/loop22 350M 350M 0 100% /snap/gnome-3-38-2004/143
/dev/loop23 1,7M 1,7M 0 100% /snap/gnome-system-monitor/186
/dev/loop24 1,4G 1,4G 0 100% /snap/root-framework/928
/dev/loop25 6,8M 6,8M 0 100% /snap/notepad-plus-plus/399
/dev/loop26 82M 82M 0 100% /snap/gtk-common-themes/1534
/dev/loop27 176M 176M 0 100% /snap/spotify/74
/dev/loop28 348M 348M 0 100% /snap/wine-platform-runtime/364
/dev/loop29 1,5M 1,5M 0 100% /snap/gnome-system-monitor/184
/dev/loop30 13M 13M 0 100% /snap/snap-store/1113
/dev/loop31 497M 497M 0 100% /snap/wine-platform-runtime-core20/108
/dev/loop32 6,9M 6,9M 0 100% /snap/ngrok/118
/dev/loop33 1,5G 1,5G 0 100% /snap/root-framework/931
/dev/loop34 13M 13M 0 100% /snap/snap-store/959
/dev/loop35 454M 454M 0 100% /snap/wine-platform-7-devel-core20/24
/dev/loop36 323M 323M 0 100% /snap/wine-platform-6-stable/19
/dev/loop37 56M 56M 0 100% /snap/core18/2796
/dev/loop38 92M 92M 0 100% /snap/gtk-common-themes/1535
/dev/loop39 7,3M 7,3M 0 100% /snap/notepad-plus-plus/397
/dev/loop40 178M 178M 0 100% /snap/spotify/75
/dev/loop41 165M 165M 0 100% /snap/gnome-3-28-1804/194
/dev/loop42 497M 497M 0 100% /snap/gnome-42-2204/132
/dev/loop43 12M 12M 0 100% /snap/ngrok/50
/dev/loop44 348M 348M 0 100% /snap/wine-platform-runtime/365
/dev/loop45 452M 452M 0 100% /snap/wine-platform-7-devel-core20/23
/dev/loop46 32M 32M 0 100% /snap/ruby/323
/dev/loop47 19M 19M 0 100% /snap/freac/2996
/dev/loop48 494M 494M 0 100% /snap/wine-platform-runtime-core20/107
/dev/loop49 30M 30M 0 100% /snap/ruby/317
tmpfs 1,6G 16K 1,6G 1% /run/user/121
tmpfs 1,6G 28K 1,6G 1% /run/user/1002
我让它上升到 84%,这是输出:
folke@Nya-Laptop:~$ ls -a /tmp
.
..
config-err-obI1jL
dumps
.font-unix
gameoverlayui.log
hsperfdata_unifi
.ICE-unix
MinecraftLauncher.1002
ollama1001963217
ollama1002449459
ollama100359361
ollama1009593539
ollama1012068662
ollama104932092
ollama106631077
ollama1069426939
ollama1075979683
ollama1078366468
ollama1087544160
ollama110197263
ollama1105943707
ollama1113945459
ollama1142716574
ollama1159786534
ollama1175063929
ollama121722266
ollama1225526021
ollama1228698609
ollama1234359162
ollama1261686341
ollama1288710296
ollama1306951405
ollama133308977
ollama1353071800
ollama1366243956
ollama1374327327
ollama1376393954
ollama1417705061
ollama1459225979
ollama1459919260
ollama1492419348
ollama1511114395
ollama1527990001
ollama1555918448
ollama1589100883
ollama1592001828
ollama1659825695
ollama1692387522
ollama1693664595
ollama1710473044
ollama1772207802
ollama1797164926
ollama1819603020
ollama1826734309
ollama1857229590
ollama1940636504
ollama1967984839
ollama198299138
ollama1993960883
ollama2005647413
ollama2008292668
ollama2041168227
ollama2042804763
ollama206408107
ollama2081416928
ollama209491851
ollama2111909535
ollama2112218423
ollama2132713283
ollama2142614991
ollama2157496665
ollama2173261540
ollama2201456430
ollama2201655057
ollama2203889391
ollama2210380216
ollama225504176
ollama2272500672
ollama2279092179
ollama2310586349
ollama2333191625
ollama2360111044
ollama2364207423
ollama2366120507
ollama2379808693
ollama2383780274
ollama2385638859
ollama2428766405
ollama2432594692
ollama2448718721
ollama2470750818
ollama2476738943
ollama2497734586
ollama253279352
ollama2534586687
ollama2537376317
ollama2547740269
ollama2553758033
ollama2564506667
ollama261861259
ollama2675869292
ollama2700288844
ollama2719389761
ollama2778356871
ollama281516148
ollama2838984012
ollama2846533206
ollama2860034215
ollama2863099864
ollama2878738629
ollama2913455918
ollama2990227528
ollama3005839604
ollama302604458
ollama3032303645
ollama3035256870
ollama3050556370
ollama3059590820
ollama3070300918
ollama3078197506
ollama3088092002
ollama3102855469
ollama3121640754
ollama31267931
ollama3160871421
ollama3200010951
ollama3200220999
ollama3200846063
ollama3209917065
ollama321394959
ollama3228339306
ollama324744153
ollama3256449133
ollama3271163346
ollama3283142490
ollama3289644745
ollama330204010
ollama3304402746
ollama331210225
ollama3348374229
ollama3361678237
ollama3388076876
ollama3395497432
ollama3396618447
ollama3403938379
ollama3432724067
ollama3448049219
ollama3454182899
ollama3465078273
ollama3499202924
ollama3504718132
ollama3507306007
ollama3507869838
ollama3512408714
ollama3531239816
ollama3542988988
ollama3544073904
ollama3563730584
ollama3576289114
ollama3581738109
ollama358301622
ollama3608114613
ollama3619606694
ollama3625476109
ollama363779184
ollama3641453736
ollama3649851940
ollama3668590515
ollama36854853
ollama3685701956
ollama3696561111
ollama3700855330
ollama3705584618
ollama3745950593
ollama3755918380
ollama3757442880
ollama3765001569
ollama3784272732
ollama382972485
ollama3841482715
ollama3843259758
ollama3869868686
ollama3880618199
ollama3882851846
ollama3924993310
ollama3942796655
ollama3944142899
ollama3984302837
ollama3985087269
ollama4020422033
ollama4054855846
ollama4065879845
ollama4076638783
ollama4076684727
ollama4116581390
ollama4145189079
ollama419389468
ollama4206218202
ollama4207653291
ollama4208217356
ollama4222440205
ollama4244760871
ollama4246265324
ollama4264147735
ollama435040396
ollama449754725
ollama472198794
ollama509586312
ollama516252197
ollama554925284
ollama55931083
ollama56465376
ollama565008054
ollama570864685
ollama581267448
ollama588660078
ollama596496
ollama600587617
ollama604520820
ollama646728916
ollama66144850
ollama706566305
ollama716200976
ollama731150119
ollama745381897
ollama746555448
ollama748342521
ollama754387230
ollama770624924
ollama828593765
ollama848904457
ollama849999579
ollama871668962
ollama874639690
ollama888019207
ollama891658468
ollama903565660
ollama913273938
ollama92899190
ollama932861512
ollama94177302
ollama980682688
ollama988913568
ollama993125638
ollama993513194
pressure-vessel-libs-6SEIL2
scoped_dirAFo7dU
snap-private-tmp
ssh-fftDOrv7i3jY
steam_chrome_overlay_uid1002_spid15316
steam_chrome_shmem_uid1002_spid13836
steamDdaeni
steamlPaLBH
systemd-private-a61b3c989d314968a1df223ade1aea53-apache2.service-pIDV8h
systemd-private-a61b3c989d314968a1df223ade1aea53-colord.service-uDMzjj
systemd-private-a61b3c989d314968a1df223ade1aea53-fwupd.service-YKV3tg
systemd-private-a61b3c989d314968a1df223ade1aea53-ModemManager.service-uRajph
systemd-private-a61b3c989d314968a1df223ade1aea53-switcheroo-control.service-orjHbh
systemd-private-a61b3c989d314968a1df223ade1aea53-systemd-logind.service-2qSaLh
systemd-private-a61b3c989d314968a1df223ade1aea53-systemd-resolved.service-pZHE3g
systemd-private-a61b3c989d314968a1df223ade1aea53-systemd-timesyncd.service-dukY1e
systemd-private-a61b3c989d314968a1df223ade1aea53-upower.service-0Gc5wh
.Test-unix
tracker-extract-files.1002
tracker-extract-files.121
.unifi-11849511684496055616
unifi-network-status-response
vmware-root
.X11-unix
.XIM-unix
答案1
原来楼主已经安装了欧拉玛在出现此问题之前,结果发现它/tmp
在重启后很快就填满了。
虽然我确信有一个适当的方法来调整守护进程以正常工作,但由于 OP 不再需要它,所以我建议运行sudo systemctl disable oolama
以禁用该服务。
由于某种原因,这没有通过,希望我们能够在评论中向 OP 澄清这一点,但一般答案仍然有效:要么设置守护进程以正常工作,要么完全禁用它,这样应该可以防止/
再次填满。