[dancer-users] Dancer crashing

Stefan Hornburg (Racke) racke at linuxia.de
Wed Mar 13 16:59:05 GMT 2019


On 3/13/19 4:51 PM, Hermann Calabria wrote:
> I don’t have fatal warnings turned on.
> 
>  
> 
> Also, reviewing the stack trace, none of the calls appear to go through the app.  The only packages involved are:
> 
>  
> 
> HTTP::Server::Simple
> 
> Dancer::Handler::Standalone
> 
> Dancer::Handler
> 
> Dancer
> 
>  

Hello Herrmann,

at any rate my advise would be to not use dancer standalone at all, especially not in a production environment.

With plackup + starman you get a more reliable environment, and you can restrict the lifetime of the workers
by using plackup's --max-requests option.

That is useful to limit memory growth and other hard to track problems occurring on long running applications.

Regards
         Racke

> 
>  
> 
> *From: *Andrew Beverley <mailto:andy at andybev.com>
> *Sent: *Tuesday, March 12, 2019 3:56 PM
> *To: *Perl Dancer users mailing list <mailto:dancer-users at dancer.pm>
> *Cc: *Hermann Calabria <mailto:hermann at ivouch.com>
> *Subject: *Re: [dancer-users] Dancer crashing
> 
>  
> 
> On Tue, 12 Mar 2019 15:08:46 -0700 Hermann Calabria wrote:
> 
>> Sure, it’s probably something my app is doing.  However I expect
> 
>> Dancer to be resilient enough to not crash in this manner.
> 
>  
> 
> FWIW, I did notice that the crash appeared to happen because of an
> 
> uninitialized value. Do you have fatal warnings turned on, and could
> 
> that be one of the causes? I don't know, but does Dancer normally run
> 
> without fatal warnings, and maybe the problem you encountered wouldn't
> 
> normally be fatal?
> 
>  
> 
> Andy
> 
>  
> 
> 
> _______________________________________________
> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20190313/6217b3fd/attachment.sig>


More information about the dancer-users mailing list