Duplicati out of memory crash

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Duplicati out of memory crash

      Duplicati is crashing every time I try and run a new B2 backup (~500GB). Haven't found anything here or on the Duplicati fourm to help so far.

      Duplicati says this:

      Source Code

      1. 4 Sep 2017 10:53: Error in updater
      2. System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
      3. at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteValidation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription description) [0x00000] in <filename unknown>:0
      4. at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in <filename unknown>:0
      5. at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x00000] in <filename unknown>:0
      6. at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000] in <filename unknown>:0
      7. at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
      8. at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename unknown>:0
      9. at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
      10. --- End of inner exception stack trace ---
      11. at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
      12. --- End of inner exception stack trace ---
      13. at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
      14. at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
      15. at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <filename unknown>:0
      16. at System.Net.WebClient.DownloadFileCore (System.Uri address, System.String fileName, System.Object userToken) [0x00000] in <filename unknown>:0
      17. at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x00000] in <filename unknown>:0
      Display All
      OMV Log says this:

      Source Code

      1. Sep 4 10:40:52 openmediavault duplicati-server[3152]: [ERROR] FATAL UNHANDLED EXCEPTION: System.OutOfMemoryException: Out of memory
      2. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at <0x00000> <unknown method>
      3. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at (wrapper alloc) object:AllocVector (intptr,intptr)
      4. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at Mono.Security.ASN1..ctor (System.Byte[] data) [0x00000] in <filename unknown>:0
      5. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at Mono.Security.X509.X509Certificate.get_RSA () [0x00000] in <filename unknown>:0
      6. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at System.Security.Cryptography.X509Certificates.X509Store.Open (OpenFlags flags) [0x00000] in <filename unknown>:0
      7. Sep 4 10:40:52 openmediavault duplicati-server[3152]: at System.Security.Cryptography.X509Certificates.X509Chain.get_UserRootStore () [0x00000] in <filename unknown>:0
    • I don't use duplicati but maybe 4gb isn't enough? If the OS is using 1 or 2 GB and you have other services running, a mono app probably would be memory-starved.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • I only have 1.5GB memory in my OMV3 with many other services running. I've have had no issues apart from having to move the temp directories to a different location. There's a lot of settings to tweak in the "advanced options" section, settings that will also help to preserve memory. I'm still leaning about Duplicati so I'm probably way off on your errors ?( . I've also found that random errors can be fixed by a reboot.

      In the advanced settings I changed these two settings:
      --asynchronous-upload-folder
      --tempdir

      The snapshot-policy setting is good too for copying files that are in use or locked.
      --snapshot-policy

      Hope some of this helps :)