Cloud9 - EXTREMELY High CPU Usage

0

Lately Cloud9 has been using an insane amount of CPU, to the point nothing will load. The node process (vfs-worker) will randomly start using 100-200% CPU and not stop until I killall node or reboot. This is on a Fresh Ubuntu install with a fresh Cloud9 install. I've switched servers 3 times, started fresh every time and still having the issue. Currently I'm on a 6 core VPS with 16gb of RAM and NVMe drives with nothing else running - the machine has no speed issues until I pull up Cloud9 and then this happens.

top output currently (this is typical of the issue):

top - 05:25:53 up 8 min,  0 users,  load average: 1.58, 1.50, 0.75
Tasks: 140 total,   3 running, 137 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.6 us,  6.8 sy,  0.0 ni, 68.5 id,  0.0 wa,  0.0 hi,  0.1 si, 21.1 st
MiB Mem :  16008.7 total,  14915.5 free,    949.0 used,    144.2 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  14816.9 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                                   
    591 root      20   0 1682708 839164  31552 R 178.0   5.1   8:07.95 node                                                                                                                                                                                      
   1111 root      20   0  690472  53432  31496 S   7.7   0.3   0:09.81 node                                                                                                                                                                                      
    548 root      20   0   13808   9044   7476 S   6.7   0.1   0:09.18 sshd                                                                                                                                                                                      
   1147 root      20   0   11848   3756   3256 R   0.7   0.0   0:00.88 top                                                                                                                                                                                       
     11 root      20   0       0      0      0 R   0.3   0.0   0:10.31 rcu_sched                                                                                                                                                                                 
    112 root      20   0       0      0      0 I   0.3   0.0   0:01.13 kworker/u12:1-events_power_efficient                                                                                                                                                      
      1 root      20   0  166912  10904   8388 S   0.0   0.1   0:04.07 systemd                                                                                                                                                                                   
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.15 kthreadd                                                                                                                                                                                  
      3 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_gp                                                                                                                                                                                    
      4 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 rcu_par_gp                                                                                                                                                                                
      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri                                                                                                                                                               
      7 root      20   0       0      0      0 I   0.0   0.0   0:00.03 kworker/0:1-events                                                                                                                                                                        
      8 root      20   0       0      0      0 I   0.0   0.0   0:00.99 kworker/u12:0-events_unbound                                                                                                                                                              
      9 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                                                                                                                                                              
     10 root      20   0       0      0      0 S   0.0   0.0   0:00.07 ksoftirqd/0                                                                                                                                                                               
     12 root      rt   0       0      0      0 S   0.0   0.0   0:00.15 migration/0                                                                                                                                                                               
     13 root     -51   0       0      0      0 S   0.0   0.0   0:00.00 idle_inject/0                                                                                                                                                                             

This is the command hogging CPU:

root         591  120  3.4 1443908 567652 ?      Rl   05:17  15:42 vfs-worker {"pingInterval":5000,"nodePath":"/root/.c9/node_modules","tmuxBin":"/root/.c9/bin/tmux","root":"/","debug":false,"connectionTimeout":60000,"metapath":"/.c9/metadata","envmetapath":"/.c9/metadata/environment","projectDir":"/","defaultEnv":{"HGUSER":"root","EDITOR":"","PORT":"8080","C9_PORT":"8080","IP":"127.0.0.1","C9_HOSTNAME":"154.12.230.222","C9_USER":"root","C9_PROJECT":"Box","C9_PID":"bfcfdc59308b461990aeb16d918ce011"},"useVfsLoaderCache":false,"environmentId":"bfcfdc59308b461990aeb16d918ce011","bytesPerSecond":3145728,"extendApi":{"collab":{"file":"c9.ide.collab/server/collab-server.js","user":{"userId":"301735008956","name":"root"},"project":{"workspaceId":"bfcfdc59308b461990aeb16d918ce011","name":"Box","type":"ssh"},"environment":{"id":"bfcfdc59308b461990aeb16d918ce011","name":"Box","type":"ssh","ideTemplateName":"Cloud9 Amazon Linux"},"readonly":false,"session":{},"nodePath":"/root/.c9/node_modules"},"ping":{"file":"c9.vfs.client/ping-service.js"},"store":{"file":"c9.vfs.client/store-service.js"}}}
gefragt vor 2 Jahren267 Aufrufe
1 Antwort
0

Dear Customer,

Generally speaking, CPU usage percentages higher than 100% are normal for multi-core machines, meaning that the issue might be caused by other factors.

To investigate your question, we require details that are non-public information. Please open a support case with AWS using the following link.

Thank you

AWS
rtarcr
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen