satis icon indicating copy to clipboard operation
satis copied to clipboard

to many file name like composer_archive5a58791d0d599 put to /tmp

Open zhangbufan opened this issue 7 years ago • 5 comments

these is too many files name like composer_archive5a58791d0d599 put into /tmp how to change it to other dir .or how to avoid satis to create it

zhangbufan avatar Jan 19 '18 01:01 zhangbufan

What is wrong with using /tmp for these? If we use /tmp that means you can safely delete them (though honestly that should be done automatically). Maybe investigate what generates these files and see if you can come up with a solution?

alcohol avatar Jan 22 '18 06:01 alcohol

Got this problem too. This make that device space exhaust before synchronization complete.

solody avatar Aug 23 '20 03:08 solody

We should remove the tmp files automatically when synchronization complete.

solody avatar Aug 23 '20 03:08 solody

add this line to bin/satis

// Delete the tmp files to prevent space override.
exec('rm -rf /tmp/composer_archive*');

solody avatar Aug 23 '20 03:08 solody

This make that device space exhaust before synchronization complete.

I suggest you allocate more room to /tmp if you run out of space (that really should not be possible).

alcohol avatar Aug 25 '20 07:08 alcohol