# How do we go about to debug an issue using logs?

**URL:** <https://forums.percona.com/t/how-do-we-go-about-to-debug-an-issue-using-logs/14085>\
**Category:** Percona Backup for MongoDB\
**Tags:** percona, mongodb\
**Created:** [January 25, 2022, 4:24am UTC](https://forums.percona.com/t/how-do-we-go-about-to-debug-an-issue-using-logs/14085 "2022-01-25T04:24:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyansh\_Rai](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/divyansh_rai/32/5665_2.png) [@Divyansh\_Rai](https://forums.percona.com/u/Divyansh_Rai)\
**Post date:** [January 25, 2022, 4:24am UTC](https://forums.percona.com/t/how-do-we-go-about-to-debug-an-issue-using-logs/14085/1 "2022-01-25T04:24:01Z")

</div>

Let’s say I’ve encountered the following entries in pbm-agent logs, I can’t seem to find anywhere how to make sense of why the kill happened?

```auto
Jan 24 12:33:27 ip-xxx-xxx-xxx-xx.us-west-1.compute.internal systemd[1]: pbm-agent.service: main process exited, code=killed, status=9/KILL
Jan 24 12:33:27 ip-xxx-xxx-xxx-xx.us-west-1.compute.internal systemd[1]: Unit pbm-agent.service entered failed state.
Jan 24 12:33:27 ip-xxx-xxx-xxx-xx.us-west-1.compute.internal systemd[1]: pbm-agent.service failed.

```

status=9 refers to something? The documentation doesn’t seem to be extensive and I’m a bit lost on where to look.

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [February 7, 2022, 4:22pm UTC](https://forums.percona.com/t/how-do-we-go-about-to-debug-an-issue-using-logs/14085/2 "2022-02-07T16:22:55Z")

</div>

Hi, you may want to check your server logs in /var/log to see if OOM-killer or something else killed it
