-
Notifications
You must be signed in to change notification settings - Fork 285
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
Incorrect number of processes #14
Comments
ps aux gives a truncated command name. ps -e -o args | grep ruby |
It gives the same number (24) On Thu, Jan 1, 2015 at 5:33 PM, Pádraig Brady notifications@github.com
|
Do you get the same number when running as root? Also does splitting command line arguments give a better indication of where the ruby processes are comming from? |
All I can suggest is to add some instrumentation to getCmdName(). Something like:
That will show the pids at least and you can see details in /proc/$pid |
Thank you, it's getting clearer now... Still not sure what is happening but I guess there really are that many Still not sure still why ps reports less (35 now) ? Can you see something from that inspection? thank you On Tue, Jan 6, 2015 at 11:51 AM, Pádraig Brady notifications@github.com
|
Hmm do you think the difference is here:
2.9.2 (unix:///var/www/voter/shared/tmp/sockets/puma.sock,tcp://0.0.0.0:3009 vs
(unix:///var/www/voter/shared/tmp/sockets/puma.sock,tcp://0.0.0.0:3009) plus this: david@theta:/var/www/makersqr$ ps aux | grep spring david 3956 0.3 1.6 256372 68696 ? Ssl 2014 28:19 spring app david 3959 0.3 1.6 256296 67176 ? Ssl 2014 28:30 spring app david 5416 0.0 0.0 155932 2520 ? Sl 2014 0:00 spring so you get more info (the whole command line?) versus just part in ps...... That's it! On Tue, Jan 6, 2015 at 7:42 PM, David Krmpotic david.krmpotic@gmail.com
|
I thought the -s option to ps_mem might have split those out sufficiently. It would be bad if ps_mem was lumping all ruby apps together for example |
Looks like your |
nothing new ? |
Hi, I get this:
for my ruby processes but when I run
ps aux | grep ruby | wc -l
, I get24
, not40
... also it looks like this (a lot of defunct processes)what gives?
The text was updated successfully, but these errors were encountered: