diff --git a/docker/base/setup_clusterfuzz.sh b/docker/base/setup_clusterfuzz.sh index 4b51d33f00f..8e18e48ea94 100644 --- a/docker/base/setup_clusterfuzz.sh +++ b/docker/base/setup_clusterfuzz.sh @@ -52,7 +52,7 @@ fi # set up mounts in this case. if [[ -z "$DISABLE_MOUNTS" ]]; then # Setup Tmpfs dirs for frequently accessed files to save disk I/O. - mount -t tmpfs -o size=250M,mode=777 tmpfs $INSTALL_DIRECTORY/clusterfuzz/bot/inputs/fuzzer-testcases/ + mount -t tmpfs -o size=1280M,mode=777 tmpfs $INSTALL_DIRECTORY/clusterfuzz/bot/inputs/fuzzer-testcases/ mount -t tmpfs -o size=10M,mode=777 tmpfs $INSTALL_DIRECTORY/clusterfuzz/bot/logs/ mount -t tmpfs -o size=90M,mode=777 tmpfs $BOT_TMPDIR diff --git a/src/clusterfuzz/_internal/fuzzing/corpus_manager.py b/src/clusterfuzz/_internal/fuzzing/corpus_manager.py index c335b8f319c..c489bedfc93 100644 --- a/src/clusterfuzz/_internal/fuzzing/corpus_manager.py +++ b/src/clusterfuzz/_internal/fuzzing/corpus_manager.py @@ -479,7 +479,7 @@ def _sync_corpus_to_disk(self, corpus, directory): """Syncs a corpus from GCS to disk.""" shell.create_directory(directory, create_intermediates=True) if corpus.backup_url: - tmpdir = environment.get_value('BOT_TMPDIR') + tmpdir = environment.get_value('FUZZ_INPUTS') with tempfile.NamedTemporaryFile( dir=tmpdir, suffix='.zip') as temp_zipfile: try: