Saturday 26 November 2016

Node process cpu suddenly reaches 100%

We have an application running on nodes v0.10.32 very old version. Actually it works fine, but the CPU percentage becomes 100% if the process running continuously for two weeks without any restart. I ran the top command to find out the problem, but I couldn't determine the cause of this issue.Top comman result:top - 18:08:29 up 229 days, 6:51, 4 users, load average: 2.52, 2.63, 2.38Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombieCpu(s): 4.0%us, 0.2%sy, 0.0%ni, 95.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%stMem: 41256236k total, 40498968k used, 757268k free, 62168k buffersSwap: 14614512k total, 516404k used, 14098108k free, 23415636k cachedPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND99764 nodejs 20 0 2223m 1.4g 4372 R 101.8 3.6 869:52.26 node

Submitted November 26, 2016 at 02:37PM by karthik_tantam

No comments:

Post a Comment