Service periodically "restarts" #377
Unanswered
dallenbaldwin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm almost at wit's end with some behavior we're seeing right now.
We're using node-windows on Windows Server to host and run our application in production.
Lately, we've been seeing more 502 errors coming from the webpage and when investigating the logs, we see that the application is restarting. We know this because we log out some startup information when our express server starts listening and those logs show up about every 45 minutes while people are using the app, and about every couple of hours while people aren't.
We do have a few cron jobs running using node-schedule and I've been using those to log out heap statistics and while I do see the number of native contexts going above 1 (while a possible symptom of a memory leak, never more than 2 so I feel like it might be a red-herring), the heap values aren't getting close to filling up the available memory I've thrown at it.
Has anyone else seen this behavior and have any ideas on what to do to fix it?
Beta Was this translation helpful? Give feedback.
All reactions