Skip to content

Collecting Agents crash dumps

Windows

Minidumps

Collect .dmp files from the C:\ProgramData\Resilio\Connect Agent folder.

Full memory dump

  1. Stop Resilio Connect Agent service and exit Agent UI.
  2. Create .reg file and apply its settings:

    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Resilio Connect Agent.exe]
    "DumpFolder"="C:\\Dumps"
    "DumpType"=dword:00000002
    "DumpCount"=dword:00000002
    
  3. Create the C:\Dumps folder, mentioned in the .reg file above.

  4. Start the service and wait for it to crash.
  5. Collect dumps from C:\Dumps and new minidumps in C:\Programdata\Resilio\Connect Agent.

Alternatively, you can set the environment variable RESILIO_SYNC_BIG_DUMP to 1. Note that you should add it to both the User and System sections to cover the case when the Agent is started by a user or the Local System. If not specified by DumpFolder in Registry, a full dump will be put in the Agent's storage folder.

Linux

Minidumps

Collect .dmp files from the Agent's storage folder.

Core dump

  1. In Terminal run command ulimit -c unlimited.
  2. From this Terminal window start the Agent the way you usually do.
  3. When the Agent crashes, there should be a crash dump placed beside the rslagent binary. It will be a file with digits in its name.

    Note

    If you launch the Agent at startup via a startup script, dump will be placed in another directory, depending on your script, being most likely file system root.

If you can’t find coredump at the base (current) directory, refer to The Core Pattern (core_pattern).

macOS

Minidumps

Collect .dmp files from /Users/<user_name>/Library/Application Support/Resilio Connect Agent.

macOS crash reports are located in the /Users/<user_name>/Library/Logs/DiagnosticReports/ folder - these are the files whose names start with "Resilio Connect...".