# Plugins are sending huge run time stack trace to pagerduty and to slack

**URL:** <https://discourse.sensu.io/t/plugins-are-sending-huge-run-time-stack-trace-to-pagerduty-and-to-slack/2749>\
**Category:** Sensu Plugins\
**Tags:** check\_proc, plugin-crashes\
**Created:** [November 13, 2021, 3:55pm UTC](https://discourse.sensu.io/t/plugins-are-sending-huge-run-time-stack-trace-to-pagerduty-and-to-slack/2749 "2021-11-13T15:55:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wabmca](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/wabmca/32/330_2.png) [@wabmca](https://discourse.sensu.io/u/wabmca)\
**Post date:** [November 13, 2021, 3:55pm UTC](https://discourse.sensu.io/t/plugins-are-sending-huge-run-time-stack-trace-to-pagerduty-and-to-slack/2749/1 "2021-11-13T15:55:16Z")

</div>

Hello,  
I’m using binary go lang plugins, these plugins are sending huge run time stack trace to pagerduty and to slack. like below:  
version: sensuctl version 5.21.5+oss\_el7+ce, community edition, built 2021-05-11, built with go1.15.5

Can we restrict this behaviour and configure such that it should not send runtime stack and only send brief error?

node-name : fatal error: runtime: out of memory  
runtime stack:  
runtime.throw(0x55cdaf, 0x16)  
/opt/go/src/runtime/panic.go:608 +0x72 fp=0x7ffefe9bd1b0 sp=0x7ffefe9bd180 pc=0x429722  
runtime.sysMap(0xc000000000, 0x4000000, 0x67d018)  
/opt/go/src/runtime/mem\_linux.go:156 +0xc7 fp=0x7ffefe9bd1f0 sp=0x7ffefe9bd1b0 pc=0x415c97  
runtime.(\*mheap).sysAlloc(0x664960, 0x4000000, 0x0, 0x0)  
/opt/go/src/runtime/malloc.go:619 +0x1c7 fp=0x7ffefe9bd278 sp=0x7ffefe9bd1f0 pc=0x40a497  
runtime.(\*mheap).grow(0x664960, 0x1, 0x0)  
/opt/go/src/runtime/mheap.go:920 +0x42 fp=0x7ffefe9bd2d0 sp=0x7ffefe9bd278 pc=0x421f92  
runtime.(\*mheap).allocSpanLocked(0x664960, 0x1, 0x67d028, 0x0)  
/opt/go/src/runtime/mheap.go:848 +0x337 fp=0x7ffefe9bd310 sp=0x7ffefe9bd2d0 pc=0x421e17  
runtime.(\*mheap).alloc\_m(0x664960, 0x1, 0x2a, 0x0)  
/opt/go/src/runtime/mheap.go:692 +0x119 fp=0x7ffefe9bd350 sp=0x7ffefe9bd310 pc=0x421629  
runtime.(\*mheap).alloc.func1()  
/opt/go/src/runtime/mheap.go:759 +0x4c fp=0x7ffef

Kindly please help!

---

<div class="post-metadata">

**Author:** ![calebhailey](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/calebhailey/32/46_2.png) [@calebhailey](https://discourse.sensu.io/u/calebhailey)\
**Post date:** [November 13, 2021, 6:27pm UTC](https://discourse.sensu.io/t/plugins-are-sending-huge-run-time-stack-trace-to-pagerduty-and-to-slack/2749/2 "2021-11-13T18:27:48Z")

</div>

It looks like your CLI is a pretty old version. Sensu Go 5.21 was released in June 2020. What version is your `sensu-backend`?

If you can access the Sensu Backend node, you can run the command:

```auto
$ sensu-backend version 

```

The latest version backend looks like this:

```auto
6.5.4+ee, enterprise edition, build 17bff5d44e20571df95270d1a81367dc064bc097, built 2021-10-30T21:54:05Z, built with go1.17.1

```

---

<div class="post-metadata">

**Author:** ![wabmca](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/wabmca/32/330_2.png) [@wabmca](https://discourse.sensu.io/u/wabmca)\
**Post date:** [November 14, 2021, 7:40am UTC](https://discourse.sensu.io/t/plugins-are-sending-huge-run-time-stack-trace-to-pagerduty-and-to-slack/2749/3 "2021-11-14T07:40:13Z")

</div>

Hi @calebhailey ,

Thanks for your response.  
This is the version I’m using:  
sensu-backend version 5.21.5+oss\_el7+ce, community edition, built 2021-05-11, built with go1.15.5

Please help!
