NEO CPU load

Discussion in 'Troubleshooting' started by maara, Oct 31, 2015.

  1. maara

    maara Member

    Joined:
    Jun 11, 2013
    Messages:
    44
    Likes Received:
    4
    Just noticed that the nodejs process is causing quite high utilization of the board.
    To what is this process related? Its the web interface? Is it possible to stop it somehow?

    Code:
    udooer@udooneo:~$ sar 2 5
    Linux 3.14.28-udooneo-04196-gb15f827 (udooneo) 10/31/2015 _armv7l_(1 CPU)
    
    11:50:08 PM     CPU     %user     %nice   %system   %iowait    %steal     %idle
    11:50:10 PM     all     15.23      0.00     35.53     29.95      0.00     19.29
    11:50:12 PM     all     12.69      0.00     41.62      0.00      0.00     45.69
    11:50:14 PM     all     11.86      0.00     30.41      0.00      0.00     57.73
    11:50:16 PM     all     18.18      0.00     15.66      0.00      0.00     66.16
    11:50:18 PM     all     11.68      0.00     29.95      0.00      0.00     58.38
    Average:        all     13.94      0.00     30.62      6.00      0.00     49.44
    
    top - 23:47:44 up 16 min,  2 users,  load average: 1.32, 1.15, 0.76
    Tasks:[B] 119 [/B]total,[B]   1 [/B]running,[B] 118 [/B]sleeping,[B]   0 [/B]stopped,[B]   0 [/B]zombie
    %Cpu(s):[B]  9.1 [/B]us,[B] 39.5 [/B]sy,[B]  0.0 [/B]ni,[B] 51.4 [/B]id,[B]  0.0 [/B]wa,[B]  0.0 [/B]hi,[B]  0.0 [/B]si,[B]  0.0 [/B]st
    KiB Mem: [B]  1018148 [/B]total,[B]   441396 [/B]used,[B]   576752 [/B]free,[B]    22144 [/B]buffers
    KiB Swap:[B]        0 [/B]total,[B]        0 [/B]used,[B]        0 [/B]free.[B]   106088 [/B]cached Mem
    
    PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                      
    382 root      20   0  113036  64964   7192 S 41.0  6.4   3:15.98 nodejs
    
    udooer@udooneo:~$ ps -ef  grep 382
    
    UID        PID  PPID  C STIME TTY      STAT   TIME CMD
    udooer    9495  4201  0 23:52 pts/0    R+     0:00 ps -ef grep 382 XDG_SESSION_ID=c2 TERM=xterm-256color SHELL=/bin
    
     
  2. mikelangeloz

    mikelangeloz Member

    Joined:
    Jul 9, 2013
    Messages:
    129
    Likes Received:
    1
    Yes, the node process is related to the interface. However, it loads the CPU ONLY when the webpage is showed on a browser (this way if you don't use it, it won't waste resources).

    Comparison:

    No web page open:
    NoConnect.jpg


    Web page opened:

    Connect.jpg

    However I agree that it is still high on RAM usage. As we speak I'm working to optimize it. Suggestions welcome!
     

Share This Page