[dancer-users] Some advice please on running with children etc...

David H untg99 at gmail.com
Thu Aug 6 15:59:12 BST 2015


Thanks a lot, I've installed and I'm now running it under Thrall and from what I can see this is what I'm looking for, something which will gracefully continue if a thread dies, so much appreciated. 

David 


> On 6 Aug 2015, at 11:01 pm, Sam Batschelet <sbatschelet at mac.com> wrote:
> 
> 
>> On Aug 5, 2015, at 10:24 PM, David H <untg99 at gmail.com> wrote:
>> 
>> Hi All,
>> 
>> I'm running a Dancer2 app on a Windows 7 32bit machine in Cygwin (don't ask).
>> 
>> The first thing I hope will be easy to give me advice on. The app is oddly crashing and I can't find the source of the issue but the app will be doing stuff and then suddenly just hang on the console and not go anywhere.
>> 
>> Can I run Starman or Twiggy in such a way that there will be child processes so if the app hangs, there will be a child process to take over and serve the next request?
>> 
>> I'm aware that MongoDB through Windows 32bit/Cygwin, isn't the most stable start to a web apps life, we are unfortunately stuck with this for the next week or two.
>> 
>> It might last a few hours or an hour and then the app will hang. It doesn't totally crash. I'm guessing it may be something to do with the MongoDB driver but there is no error returned, the whole thing will just hang.
>> 
>> I thought of something like Starman with --workers=10 might help?
>> I'm currently running under Twiggy.
>> 
>> Thanks in advance for your advice.
> 
> I have had success using Thrall in a 32bit env perhaps it’s worth taking a look at.
> 
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users


More information about the dancer-users mailing list