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:a...@andybev.com>
> *Sent: *Tuesday, March 12, 2019 3:56 PM
> *To: *Perl Dancer users mailing list <mailto:dancer-users@dancer.pm>
> *Cc: *Hermann Calabria <mailto:herm...@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@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.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to