Mist: Mist hard disk consumption and folders structure

Created on 16 Aug 2017  路  2Comments  路  Source: ethereum/mist

I've installed mist and connected to etherium test network. Upon inspecting my home folder (on Linux) I found ~/.config/Mist weights 600MB; which to me seems excessive for config files only. Could bulk of this be moved defaults to ~/.cache directory because it significantly bulks up my backups?

That is, how can we make Mist more backup friendly to keep storage requirements to a minimum?

Triage Enhancement v0.9.0

Most helpful comment

Sure, but this post isn't about application specific idiosyncrasies, but overall where files should reside -- if the config is 600MBs then it's not a config anymore probably, is it?

.cache folder exists for a reason. ~/.config/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/ should change to ~/.cache/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/

Also there's .local/share/ folder where you could move application data; where also semantically makes sense and keep only configuration files in .config. I see no reason to bloat backups due to a single app. For transition period I'd suggest symlinking swarm folder from .config to .cache dir; that should keep thing simple and hopefully not breaking.

I've checked again....it's 3.6GB right now in the .config

All 2 comments

Hi, there are some measures you can take to keep Mist directory at minimum size.

  • Clean geth tar.gz archives (and old versions) at ~/.config/Mist/binaries
  • Change Swarm config to a low DB value (~/.config/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/config.json; Decrease DbCapacity to the same as CacheCapacity.
  • Delete `~/.config/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/ directory.

That should free some space for you.

Sure, but this post isn't about application specific idiosyncrasies, but overall where files should reside -- if the config is 600MBs then it's not a config anymore probably, is it?

.cache folder exists for a reason. ~/.config/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/ should change to ~/.cache/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/

Also there's .local/share/ folder where you could move application data; where also semantically makes sense and keep only configuration files in .config. I see no reason to bloat backups due to a single app. For transition period I'd suggest symlinking swarm folder from .config to .cache dir; that should keep thing simple and hopefully not breaking.

I've checked again....it's 3.6GB right now in the .config

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PacketSmuggler picture PacketSmuggler  路  3Comments

Raindownchips picture Raindownchips  路  6Comments

brandoncurtis picture brandoncurtis  路  4Comments

chanukya246 picture chanukya246  路  5Comments

stbregeon picture stbregeon  路  3Comments