Can anyone help me with this? I setup a simple service that looks like this:
[Unit] Description=nodetest [Service] ExecStart=/root/.nvm/versions/node/v6.10.3/bin/node /home/xxx/nodescript.js Restart=always # User=nobody # Group=nobody Environment=PATH=/usr/bin:/usr/local/bin Environment=NODE_ENV=production WorkingDirectory=/home/xxx/bin/node_modules [Install] WantedBy=multi-user.target ...It appears when I load it via systemctl OR JUST load it using the ExecStart command above... when I kill it.... I never get back the 30MB or so in RAM that the script used. Meaning: I load the script, it runs, and it takes about 30MB of RAM. When I kill the script (systemctl OR kill -9)... I look in the "top program" and that 30 or so MB of ram is STILL being used. Is there a way to fix this? Thanks. Joe -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/bed549a6-54e8-4cb7-87bc-9028d02a932b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
