[nodejs] forever and cpu usage

2012-06-22 Thread Angelo Chen
Hi,
I run my node with forever, it works quite well, got two questions:

1) at any given time, there are two node running, that's normal?
3) cpu sometimes goes up to 90-100% when the traffic is high, then
goes back to less than 10 quickly, is this normal? is there a way to
check which part goes so high?

angelo

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


Re: [nodejs] forever and cpu usage

2012-06-22 Thread Oliver Leics
On Fri, Jun 22, 2012 at 2:54 PM, Angelo Chen angelochen...@gmail.com wrote:
 1) at any given time, there are two node running, that's normal?

forever spawns a new process and that is your node monitored by
forever. So, yes, this is absolutely normal.

On the other hand, _only_ two nodes-processes is absolutely not normal ;-)

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en