sorry for the necro bump but currently using the 2.0.5.1_beta_2020-01-18, I can still experience ssh connexion exhaustion. Checking on the server, I can confirm the number of sshd launched (while duplicati is the only client connected).
It seems that 2 connections are left open on error.
{
“DeletedFiles”: 0,
“DeletedFolders”: 0,
“ModifiedFiles”: 14,
“ExaminedFiles”: 302,
“OpenedFiles”: 16,
“AddedFiles”: 2,
“SizeOfModifiedFiles”: 1040758,
“SizeOfAddedFiles”: 6127,
“SizeOfExaminedFiles”: 171700012,
“SizeOfOpenedFiles”: 1373472,
“NotProcessedFiles”: 0,
“AddedFolders”: 0,
“TooLargeFiles”: 0,
“FilesWithError”: 0,
“ModifiedFolders”: 0,
“ModifiedSymlinks”: 0,
“AddedSymlinks”: 0,
“DeletedSymlinks”: 0,
“PartialBackup”: false,
“Dryrun”: false,
“MainOperation”: “Backup”,
“CompactResults”: {
“DeletedFileCount”: 0,
“DownloadedFileCount”: 0,
“UploadedFileCount”: 0,
“DeletedFileSize”: 0,
“DownloadedFileSize”: 0,
“UploadedFileSize”: 0,
“Dryrun”: false,
“VacuumResults”: null,
“MainOperation”: “Compact”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-05-07T01:13:54.6321494Z”,
“BeginTime”: “2020-05-07T01:13:54.6251668Z”,
“Duration”: “00:00:00.0069826”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 13,
“BytesUploaded”: 111948,
“BytesDownloaded”: 29659,
“FilesUploaded”: 3,
“FilesDownloaded”: 2,
“FilesDeleted”: 1,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 40,
“KnownFileSize”: 135179548,
“LastBackupDate”: “2020-05-07T03:13:50+02:00”,
“BackupListCount”: 6,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“VacuumResults”: null,
“DeleteResults”: {
“DeletedSetsActualLength”: 1,
“DeletedSets”: [
{
“Item1”: 1,
“Item2”: “2020-05-07T03:00:00+02:00”
}
],
“Dryrun”: false,
“MainOperation”: “Delete”,
“CompactResults”: {
“DeletedFileCount”: 0,
“DownloadedFileCount”: 0,
“UploadedFileCount”: 0,
“DeletedFileSize”: 0,
“DownloadedFileSize”: 0,
“UploadedFileSize”: 0,
“Dryrun”: false,
“VacuumResults”: null,
“MainOperation”: “Compact”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-05-07T01:13:54.6321494Z”,
“BeginTime”: “2020-05-07T01:13:54.6251668Z”,
“Duration”: “00:00:00.0069826”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 13,
“BytesUploaded”: 111948,
“BytesDownloaded”: 29659,
“FilesUploaded”: 3,
“FilesDownloaded”: 2,
“FilesDeleted”: 1,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 40,
“KnownFileSize”: 135179548,
“LastBackupDate”: “2020-05-07T03:13:50+02:00”,
“BackupListCount”: 6,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-05-07T01:13:54.6321494Z”,
“BeginTime”: “2020-05-07T01:13:53.9294832Z”,
“Duration”: “00:00:00.7026662”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 13,
“BytesUploaded”: 111948,
“BytesDownloaded”: 29659,
“FilesUploaded”: 3,
“FilesDownloaded”: 2,
“FilesDeleted”: 1,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 40,
“KnownFileSize”: 135179548,
“LastBackupDate”: “2020-05-07T03:13:50+02:00”,
“BackupListCount”: 6,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“RepairResults”: null,
“TestResults”: {
“MainOperation”: “Test”,
“VerificationsActualLength”: 3,
“Verifications”: [
{
“Key”: “duplicati-20200507T011350Z.dlist.zip”,
“Value”:
},
{
“Key”: “duplicati-i7e68b697808b430cad549125032df88c.dindex.zip”,
“Value”:
},
{
“Key”: “duplicati-ba0c0f67080b54939aa7b93bb101ad30a.dblock.zip”,
“Value”: [
{
“Key”: “Error”,
“Value”: “Une tentative de connexion a échoué car le parti connecté n’a pas répondu convenablement au-delà d’une certaine durée ou une connexion établie a échoué car l’hôte de connexion n’a pas répondu”
}
]
}
],
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-05-07T01:16:20.0620377Z”,
“BeginTime”: “2020-05-07T01:13:56.086555Z”,
“Duration”: “00:02:23.9754827”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null,
“BackendStatistics”: {
“RemoteCalls”: 13,
“BytesUploaded”: 111948,
“BytesDownloaded”: 29659,
“FilesUploaded”: 3,
“FilesDownloaded”: 2,
“FilesDeleted”: 1,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 40,
“KnownFileSize”: 135179548,
“LastBackupDate”: “2020-05-07T03:13:50+02:00”,
“BackupListCount”: 6,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
},
“ParsedResult”: “Error”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “2020-05-07T01:16:21.0836376Z”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:02:30.8652692”,
“MessagesActualLength”: 35,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 1,
“Messages”: [
“2020-05-07 03:13:50 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: L’opération Backup a débuté”,
“2020-05-07 03:13:50 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”,
“2020-05-07 03:13:50 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (38 octets)”,
“2020-05-07 03:13:52 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-bddf9bfed194047559f0521fee4d4bf09.dblock.zip (80,36 KB)”,
“2020-05-07 03:13:52 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-bddf9bfed194047559f0521fee4d4bf09.dblock.zip (80,36 KB)”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-20200507T011350Z.dlist.zip (26,87 KB)”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Started: duplicati-i7e68b697808b430cad549125032df88c.dindex.zip (2,10 KB)”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-i7e68b697808b430cad549125032df88c.dindex.zip (2,10 KB)”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Put - Completed: duplicati-20200507T011350Z.dlist.zip (26,87 KB)”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-StartCheck]: Start checking if backups can be removed”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-FramesAndIntervals]: Time frames and intervals pairs: 7.00:00:00 / 1.00:00:00, 28.00:00:00 / 7.00:00:00, 365.00:00:00 / 31.00:00:00”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupList]: Backups to consider: 07/05/2020 03:00:00, 07/05/2020 02:00:00, 06/05/2020 02:00:00, 04/05/2020 23:00:06, 03/05/2020 21:00:00, 02/05/2020 20:48:44”,
"2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-BackupsToDelete]: Backups outside of all time frames and thus getting deleted: ",
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler:RetentionPolicy-AllBackupsToDelete]: All backups to delete: 07/05/2020 03:00:00”,
“2020-05-07 03:13:53 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteRemoteFileset]: Deleting 1 remote fileset(s) …”,
“2020-05-07 03:13:54 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Started: duplicati-20200507T010000Z.dlist.zip (26,51 KB)”,
“2020-05-07 03:13:54 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Delete - Completed: duplicati-20200507T010000Z.dlist.zip (26,51 KB)”,
“2020-05-07 03:13:54 +02 - [Information-Duplicati.Library.Main.Operation.DeleteHandler-DeleteResults]: Deleted 1 remote fileset(s)”,
“2020-05-07 03:13:54 +02 - [Information-Duplicati.Library.Main.Database.LocalDeleteDatabase-CompactReason]: Compacting not required”,
“2020-05-07 03:13:54 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: ()”
],
“Warnings”: ,
“Errors”: [
“2020-05-07 03:16:20 +02 - [Error-Duplicati.Library.Main.Operation.TestHandler-FailedToProcessFile]: Failed to process file duplicati-ba0c0f67080b54939aa7b93bb101ad30a.dblock.zip”
],
“BackendStatistics”: {
“RemoteCalls”: 13,
“BytesUploaded”: 111948,
“BytesDownloaded”: 29659,
“FilesUploaded”: 3,
“FilesDownloaded”: 2,
“FilesDeleted”: 1,
“FoldersCreated”: 0,
“RetryAttempts”: 4,
“UnknownFileSize”: 0,
“UnknownFileCount”: 0,
“KnownFileCount”: 40,
“KnownFileSize”: 135179548,
“LastBackupDate”: “2020-05-07T03:13:50+02:00”,
“BackupListCount”: 6,
“TotalQuotaSpace”: 0,
“FreeQuotaSpace”: 0,
“AssignedQuotaSpace”: -1,
“ReportedQuotaError”: false,
“ReportedQuotaWarning”: false,
“MainOperation”: “Backup”,
“ParsedResult”: “Success”,
“Version”: “2.0.5.1 (2.0.5.1_beta_2020-01-18)”,
“EndTime”: “0001-01-01T00:00:00”,
“BeginTime”: “2020-05-07T01:13:50.2183684Z”,
“Duration”: “00:00:00”,
“MessagesActualLength”: 0,
“WarningsActualLength”: 0,
“ErrorsActualLength”: 0,
“Messages”: null,
“Warnings”: null,
“Errors”: null
}
}
for now, I’ll mount a samba network drive to perform the backup, but still, this handle leak should be addressed ; )