[dancer-users] Get backtrace for stuck Dancer process

Stefan Hornburg (Racke) racke at linuxia.de
Fri Sep 28 08:13:55 BST 2018

On 9/27/18 11:48 PM, Warren Young wrote:
> I’ve got a long-running Dancer app which froze up today for no obvious reason, with no useful logs either at the Apache front-end proxy level or at the Dancer level.
> If this were a program written in a language that compiles to native code, I’d force a core dump and do a backtrace on the process in a debugger to find out where it got hung up, which would usually tell me how to avoid that problem.
> Is there a way to do that with Perl, and if not, can anyone suggest an alternative?
> My best alternative is to set up some kind of watchdog, but I’d rather avoid the problem in the first place, if possible.

At any rate, you can strace the Dancer process(es) and see what system calls it does.


> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

More information about the dancer-users mailing list