Mojo Agent - Deep recursion caused excessive memory usage
bug
Hi,
I've been using your service on my site for a little while now and so far it's been great. It helped me pin point some slow running queries which needed to be reworked.
That said, I just had a server crash due to the an infinite loop eating up all the allocated RAM.
Unfortunately, this is all I see in the logs for the crash:
```
2024-10-20T04:44:05.211035+00:00 app[web.1]: Deep recursion on anonymous subroutine at /usr/local/lib/perl5/site_perl/5.38.2/Mojolicious/Plugin/SlapbirdAPM.pm line 80.
2024-10-20T04:44:12.063393+00:00 heroku[web.1]: Process running mem=1416M(276.6%)
2024-10-20T04:44:12.065259+00:00 heroku[web.1]: Error R15 (Memory quota vastly exceeded)
2024-10-20T04:44:12.066564+00:00 heroku[web.1]: Stopping process with SIGKILL
2024-10-20T04:44:12.216911+00:00 heroku[web.1]: Process exited with status 137
2024-10-20T04:44:12.239354+00:00 heroku[web.1]: State changed from up to crashed
```
When I check my dashboard, I don't see a spike of calls at this point in time.
Thanks in advance!
关闭于 2024-10-26 4 条评论