Have you tried setting NODE_DEBUG? http://www.juliengilli.com/2013/05/26/Using-Node.js-NODE_DEBUG-for-fun-and-profit/
On Tue, Sep 29, 2015 at 8:36 AM, Michael Mathy < michael.ma...@quickelsoft.com> wrote: > Hello Mark > > Could you post your code so that we can check ? > > > Michael Mathy > *QuickelSoft* > http://www.quickelsoft.com > > On Tue, Sep 29, 2015 at 8:32 AM, Mark Hahn <m...@hahnca.com> wrote: > >> I have a pretty simple server using the normal pattern containing >> `http.createServer`. When testing, it works great. But when the server >> has been sitting idle with no access for a few hours it behaves strangely. >> >> After the idle time, when I try to load the site the server responds >> perfectly for one request. The result gets back to the client. On the >> second and later requests the client reports "net::ERR_CONNECTION_RESET". >> The log on the server from my console.log statements shows the first >> interaction and then abruptly ends. There is no error. Looking at the >> process list shows the node process died silently with no exception printed >> out. >> >> I have been going crazy trying to figure out how to debug this. >> Peppering my code with debug logging shows nothing. I put in memory/heap >> checking and gave the site some traffic and there was no memory leak. >> Also, having a problem after being idle doesn't match any resource >> exhaustion I can think of. >> >> Does anyone have any idea what can cause silent dying? Is there some >> debug option I can enable inside of node? It would be great to observe the >> last thing node executed. >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to nodejs+unsubscr...@googlegroups.com. >> To post to this group, send email to nodejs@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/b480e59d-9b95-4c4f-8494-a7f7645a9d7c%40googlegroups.com >> <https://groups.google.com/d/msgid/nodejs/b480e59d-9b95-4c4f-8494-a7f7645a9d7c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > 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 unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com. > To post to this group, send email to nodejs@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/CAFAnaJxeb2-8%2B8Y3J9KX7P1pS4mtkmFd9FLQo6DESSM7nu3OuA%40mail.gmail.com > <https://groups.google.com/d/msgid/nodejs/CAFAnaJxeb2-8%2B8Y3J9KX7P1pS4mtkmFd9FLQo6DESSM7nu3OuA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAPJ5V2bwERz_wP1z2p8p5Xa1fi5Oexz-hWnDbyEvDKCG2RQG7Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.