I have nightly scheduled backups via a cron job. These are configured to upload to S3 and then remove the files from the server. However, in the last few weeks, this part has begun to fail intermittently (perhaps 1/3 of the time), resulting in my server getting clogged up with old backup files. (On two occasions this led to the website crashing. I have since put in place alerts so that I can manually move the files before it gets that far!)
The error message I am seeing in the log files is:
Upload cannot proceed. Amazon S3 returned an error message: 0 :: Akeeba\Engine\Postproc\Connector\S3v4\Connector::uploadMultipart(): [52] Empty reply from server \n \n Debug info: \n
By the way, uploading to S3 via this automated mechanism seems very slow — successful backups seem to spend about 10 minutes uploading two 2GB files. Conversely, when I upload the same files using the AWS CLI, they take about 30 seconds each (one minute total). I'm not seeing any indication that a timeout is occurring, however.
I'm using a VPS hosted by Media Temple.