Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify /tmp use #2709

Closed
0xmichalis opened this issue Mar 25, 2019 · 4 comments
Closed

Clarify /tmp use #2709

0xmichalis opened this issue Mar 25, 2019 · 4 comments
Milestone

Comments

@0xmichalis
Copy link
Contributor

Is it necessary to use /tmp for downloading txhashsets?

See https://www.grin-forum.org/t/chain-building-stuck-at-58/4553 for more info

@antiochp
Copy link
Member

Related - #2685

There is no specific reason we went with $TMPDIR beyond using a standard location. But as mentioned in the forum we have some fairly specific disk space requirements so want to ensure we use a disk with sufficient space.

It sounds like we may want to consider using a grin specific tmp dir under ~/home/.grin/main or something similar?

I do think we need to segregate the sandbox_dir and/or tmpdir from our mainnet/floonet chain_data or chain_data/txhashset dirs.

@0xmichalis
Copy link
Contributor Author

At a minimum we should document this somewhere prominently.

@garyyu
Copy link
Contributor

garyyu commented Mar 28, 2019

Interesting!
Agree to use a grin specific tmp dir under ~/.grin/main/tmp for mainnet and ~/.grin/floo/tmp for floonet.
Also a specific sandbox dir under ~/.grin/main/tmp/txhashset.

It deserve a dedicated PR to fix all these folder name / location issues. And let #2685 purely only for the sandbox fixing.

@0xmichalis
Copy link
Contributor Author

Fixed by #2772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants