Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory usage keeps on increasing #1622

Closed
thetutlage opened this issue Sep 16, 2015 · 9 comments
Closed

Memory usage keeps on increasing #1622

thetutlage opened this issue Sep 16, 2015 · 9 comments

Comments

@thetutlage
Copy link

I have tried running multiple apps using different methods and have found only running server using pm2 leads to continous memory increase.

Situation

I have created 2 apps , one is my own boilerplate to run a http server and other one is a sails js application.

Below are the screenshots of activity monitor on Mac and pm2 monit screen.

screen shot 2015-09-17 at 12 49 07 am
screen shot 2015-09-17 at 12 50 31 am

  1. Memory consumption on activity monitor is different from pm2 monit
  2. Second memory is increasing slowly but yes it is increasing for both the apps.

Now when i try to run sails without pm2 , memory consumption under activity monitor is stable and even after 20mins it was stable.

screen shot 2015-09-17 at 12 52 48 am

@soyuka
Copy link
Collaborator

soyuka commented Sep 16, 2015

@thetutlage
Copy link
Author

node version is 4.0.0
pm2 version is 0.14.7

@soyuka
Copy link
Collaborator

soyuka commented Sep 16, 2015

Have you read the above ? We looked for a memory leak in #1453 without success. Sails is leaking with sessions (enabled by default).

@thetutlage
Copy link
Author

it is not leaking when started without pm2 , earlier attached a screenshot for same

Also any reason why activity monitor and pm2 memory consumption is different

@thetutlage
Copy link
Author

and yes i read the thread , it is leaking in cluster mode and also sessions had some issues , which i will surely look into

memory increase is not wild in my case but happens only with pm2 in fork and cluster mode both

@herkyl
Copy link

herkyl commented Jan 11, 2016

@thetutlage did you figure anything out yet? I have the same issue only this is very problematic for me.

@thetutlage
Copy link
Author

@herkyl Nope and closing as thread seems to be dead

@byre54
Copy link

byre54 commented Jun 13, 2016

I'm still having this issue, anybody feel the same ?
for now Im switched to supervisor temporary

@datawrangl3r
Copy link

any updates on this?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants