spatie / laravel-backup

A package to backup your Laravel app

Home Page:https://spatie.be/docs/laravel-backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to open stream: Too many open files.

giovanniledda opened this issue · comments

Running a backup on a large project filesystem, here is what I get:

Starting backup...
Dumping database storm...
Determining files to backup...
Zipping 24745 files and directories...
Created zip containing 24745 files and directories. Size is 2.23 GB
Copying zip to disk named s3-backups...
Copying zip failed because: Unable to open "/Users/zoba-mac/Sites/laravel/storm-laravel/storage/app/backup-temp/temp/2023-10-30-17-56-11.zip" using mode "r": fopen(/Users/zoba-mac/Sites/laravel/storm-laravel/storage/app/backup-temp/temp/2023-10-30-17-56-11.zip): Failed to open stream: Too many open files.
Backup failed because include(/Users/zoba-mac/Sites/laravel/storm-laravel/vendor/spatie/laravel-backup/src/Events/BackupHasFailed.php): Failed to open stream: Too many open files.