On the note of forever running at 100%, that likes to happen when your
process fails to start and forever attempts to restart it as fast as it can
die.


On Wed, Nov 14, 2012 at 8:01 AM, Anand George <[email protected]>wrote:

> Are you using a service like forever? Had an API server running using
> forever. Running without forever showed a CPU usage of about 5%. Running
> with forever, the CPU usage would go to 100% on the first few calls. Using
> another tool solved the issue.
>
>
> On Wed, Nov 14, 2012 at 9:19 PM, Chad Engler <[email protected]>wrote:
>
>> Hehe, gems…****
>>
>> ** **
>>
>> Sounds like garbage collection. Do you create large objects or buffers
>> temporarily?****
>>
>> ** **
>>
>> -Chad****
>>
>> ** **
>>
>> *From:* [email protected] [mailto:[email protected]] *On
>> Behalf Of *Dor Tzur
>> *Sent:* Wednesday, November 14, 2012 4:08 AM
>> *To:* [email protected]
>> *Subject:* [nodejs] nodejs 100% cpu randomly****
>>
>> ** **
>>
>> We're having a problem where every once in a while one of our
>> environments our node app runs on 100% CPU. The server isn't very active
>> and usually runs on 0%-2% CPU.
>> I was wondering what are the common issues that might cause this problem
>> and what would be the best way to find out what causing this issue.
>>
>> technical spec:
>> node version 0.8.14
>> ubuntu 11.10
>> Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
>>
>> gems used:
>> "express" : 2.5.x, "log" : "1.2.x", "redis" : "0.8.x", "socket.io" :
>> "0.9.x", "mongodb": ">= 0.9.6-7", "passport" : "0.x.x", "passport-local" :
>> "0.x.x",****
>>
>> ** **
>>
>> --
>> 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 [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en****
>>
>> --
>> 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 [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>  --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>



-- 
Better a little with righteousness
       than much gain with injustice.
Proverbs 16:8

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to