By default, the /tmp size is half the RAM
Add info for Arch #19125
pull ThomasBucaioni wants to merge 1 commits into bitcoin:master from ThomasBucaioni:master changing 1 files +1 −0-
ThomasBucaioni commented at 5:16 PM on May 31, 2020: none
-
0d8433ddac
Add info for Arch
By default, the `/tmp` size is half the RAM
- DrahtBot added the label Docs on May 31, 2020
-
DrahtBot commented at 1:50 AM on June 1, 2020: member
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #18870 (build: Allow BDB between 4.8 and 5.3 without --with-incompatible-bdb by achow101)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
laanwj commented at 3:03 PM on June 4, 2020: member
ACK 0d8433ddac1c74c71a1212ff15aa1eef283524a2
FWIW this issue exists on more operating systems (at least OpenBSD I think?), and it may be good to have a more general mention in the documentation on the hefty temp-space requirements and how to override the temporary directory if it's not possible to resize the OS-given one. That said, this is an improvemeent.
-
MarcoFalke commented at 3:15 PM on June 4, 2020: member
This should only be an issue for functional tests? It is also possible to overwrite the temp dir (instead of increasing its size, which might not always be possible)
-
MarcoFalke commented at 3:17 PM on June 4, 2020: member
(The default is
default=tempfile.gettempdir()for the python tests) -
in doc/build-unix.md:269 in 0d8433ddac
265 | @@ -266,6 +266,7 @@ or building and depending on a local version of Berkeley DB 4.8. The readily ava 266 | `--with-incompatible-bdb` according to the [PKGBUILD](https://projects.archlinux.org/svntogit/community.git/tree/bitcoin/trunk/PKGBUILD). 267 | As mentioned above, when maintaining portability of the wallet between the standard Bitcoin Core distributions and independently built 268 | node software is desired, Berkeley DB 4.8 must be used. 269 | +By default, the `/tmp` directory is half the size of the RAM which can cause the test suites to fail. If the case be, the `/etc/fstab` file can be updated to increase the `/tmp` size: https://wiki.archlinux.org/index.php/Tmpfs
luke-jr commented at 5:00 PM on June 5, 2020:I would think if you don't have enough RAM, we ought to move it to non-RAM storage?
ThomasBucaioni commented at 3:22 PM on June 14, 2020:Sure, I didn't see the temp file could be modified...
ThomasBucaioni commented at 3:26 PM on June 14, 2020: noneNo need to increase the
/tmpsizeThomasBucaioni closed this on Jun 14, 2020DrahtBot locked this on Feb 15, 2022ContributorsLabels
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 18:14 UTC
More mirrored repositories can be found on mirror.b10c.me