high-yak-85899
07/13/2022, 7:03 PMFailed to digest inputs: "Error storing Digest { hash: Fingerprint<1872bfe7f1b4c4887a4c1381800062a96d980dea39f700b8ac5cebd0ea613ffe>, size_bytes: 104002766 }: MDB_MAP_FULL: Environment mapsize limit reached
Only thing I could find was a really old bug ticket. Is the proper way to resolve this to delete the cache? This was in our CI system so I suspect our cache just finally got big enough to cause issues (though I'm surprised it happened on the worker it did since we haven't had to clear caches for other workers that are running lots of things like unit tests).enough-analyst-54434
07/13/2022, 7:14 PM./pants package
, you'll get a PEX packed directory; so not quite as simple to copy a directory around as a single zip file. But big is big and there is not much to be done about that!enough-analyst-54434
07/13/2022, 7:15 PMdu -sh packed.pex
if that works for you.high-yak-85899
07/13/2022, 7:18 PMhigh-yak-85899
07/13/2022, 7:19 PMhigh-yak-85899
07/13/2022, 7:19 PMenough-analyst-54434
07/13/2022, 7:20 PMhigh-yak-85899
07/13/2022, 7:21 PMhigh-yak-85899
07/13/2022, 7:22 PMenough-analyst-54434
07/13/2022, 7:23 PMdu -sh ~/.cache/pants/lmdb_store
?enough-analyst-54434
07/13/2022, 7:23 PMhigh-yak-85899
07/13/2022, 8:31 PMwitty-crayon-22786
07/13/2022, 8:41 PM~/.cache/pants/lmdb_store
is currently only GCâd by pantsd
when it is idle long enough. so it doesnât do well in ephemeral CI.
https://github.com/pantsbuild/pants/issues/11167 covers adding a command for this, but we might honestly want to do something like git
, where we periodically just say âhold on. weâre going to clean things up synchronously in the foregroundâ