# Where do I find "backup\_agent.debug"?

**URL:** <https://forums.foundationdb.org/t/where-do-i-find-backup-agent-debug/3044>\
**Category:** Running FoundationDB\
**Created:** [November 28, 2021, 2:53am UTC](https://forums.foundationdb.org/t/where-do-i-find-backup-agent-debug/3044 "2021-11-28T02:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amanda](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@amanda](https://forums.foundationdb.org/u/amanda)\
**Post date:** [November 28, 2021, 2:53am UTC](https://forums.foundationdb.org/t/where-do-i-find-backup-agent-debug/3044/1 "2021-11-28T02:53:31Z")

</div>

Hi, I was trying to look into the backup agent file handle leak ([Backup Agent Leaking handles in CLOSE\_WAIT](https://forums.foundationdb.org/t/backup-agent-leaking-handles-in-close-wait/2881)) and wanted to try running some of the Net2RunLoopTrace addr2line lookups, like:

```auto
<Event Severity="20" Time="1638067585.958872" Type="Net2RunLoopTrace" ID="0000000000000000" TraceTime="1638067585.941422" Trace="addr2line -e backup_agent.debug -p -C -f -i 0x7f0b2531d730 0x7f0b2531a5a1 0xb618ff 0xb62ff8 0x855b72 0x4c88aa 0x7f0b24fe609b 0x4d5905" Machine="127.0.0.1:29241" LogGroup="default" />

```

However I’m not sure where to find the backup\_agent.debug file? I’m on 6.3.15, the fdb\_6.3.15-debug.tar.gz download from the Downloads page contains debug files for fdbserver, fdbcli, and fdbbackup, but not backup\_agent. I tried running it on fdbserver.debug and fdbbackup.debug in case it was packaged weirdly but the results didn’t make sense, so guessing I’m missing the file?

I downloaded the latest debug binaries (6.3.22) and I don’t see a backup\_agent.debug there either.

---

<div class="post-metadata">

**Author:** ![ajbeamon](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/ajbeamon/32/13_2.png) [@ajbeamon](https://forums.foundationdb.org/u/ajbeamon)\
**Post date:** [November 29, 2021, 4:43pm UTC](https://forums.foundationdb.org/t/where-do-i-find-backup-agent-debug/3044/3 "2021-11-29T16:43:39Z")

</div>

`backup_agent` is the same binary as `fdbbackup`, so I would expect you to be able to use the symbol file `fdbbackup.debug` to get a backtrace. If that isn’t working, then something might be wrong with `fdbbackup.debug` or there may be some sort of version mismatch.
