Hallo Chris, try to replace srvany.exe with nssm.exe
http://nssm.cc/ Greetings, Oliver On Wed, Feb 1, 2012 at 12:07 PM, rtweed <[email protected]> wrote: > Just wondering if anyone had any thoughts or insight on Chris's > questions. This is in relation to the hospital booking kiosks that he > posted about yesterday. I'd be particularly interested in your > suggestions as I've been helping Chris on the Node.js side of things, > and I'm keen that such a cool healthcare-related application for > Node.js goes smoothly into the future. > > Many thanks in advance > > Rob > > On Jan 31, 11:15 am, Chris Casey <[email protected]> wrote: >> We are running node in a windows service using srvany.exe from the server >> kit but it dies after about 4 hours. >> >> If we run it in a CMD window it goes for days without any problems except a >> small memory leak (later). >> We need to try and find out what is happening in the service. >> >> Apologies in advance if the following are stupid questions but I am pretty >> new to this stuff and trying to learn. >> >> When running in a CMD window if node crashes then we get a stack dump. Is >> that generated from node? If so is that stderr output? >> >> The application that I am using does it's own logging to a file >> asynchronously using fs.createWriteStream and as such does not seem to use >> stdout or stderr. What I need to know is how to capture the crash dump to >> figure out what is happening. I have seen on here that you can start node >> with a pipe command to capture stderr but I am not sure if this will work >> in a service. >> >> I have looked around the api documentation but found it difficult to find >> understandable information on this. Is there more explanatory documentation >> anywhere? >> >> Lastly returning to the memory leak. This was not present in 6.3, it >> appeared when upgrading from that to 6.6 and has lessened in 6.8. >> Unfortunately we have not managed to npm v8-profiler on our environment to >> investigate it further. Without this am struggling to investigate further. >> >> All help and suggestions gratefully received >> >> Chris > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
