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

Sam Batschelet sbatschelet at mac.com
Thu Aug 6 14:31:32 BST 2015


> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150806/3245f43e/attachment.sig>


More information about the dancer-users mailing list