blumzi / LAST_issues

A place to discuss and manage LAST issues
0 stars 0 forks source link

Last08e freezes in nomachine, but SSH works #28

Open noralinn opened 4 months ago

noralinn commented 4 months ago

No immediate action needed, writing here to document the problem.

In nomachine last08e was first very slow at first and then the display froze entirely (no improvement in the following hour). SSH was still working without noticeable delays.

Restarting the nxserver didn't help. There was space in the home directory (no giant logfiles). No memory intensive processes running. Pipeline not running.

In the end we rebooted the computer and it appeared to be back to normal.

Please comment, if you have ideas or the issue reappears.

EastEriq commented 4 months ago

Next time it happens, if there is still shell accss, try free -h, which reports about memory in use (notably, if a lot of swap memory is in use, it's sign of trouble), i addition to top, which reports about the most cpu-intensive processes and their respective memory allocation (this time I get that there weren't)

noralinn commented 4 months ago

I ran both commands before restarting the computer, but didn't find much.

ocs@last08e:~/matlab/LAST/LAST_OCS$ free
              total        used        free      shared  buff/cache   available
Mem:      263793108     4504684   102354384      103312   156934040   256892392
Swap:       2097148           0     2097148
ocs@last08e:~/matlab/LAST/LAST_OCS$ top

top - 11:17:46 up 5 days, 18:55,  3 users,  load average: 0.02, 0.09, 0.10
Tasks: 826 total,   1 running, 825 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.1 us,  0.1 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem : 257610.5 total, 100119.7 free,   4302.7 used, 153188.0 buff/cache
MiB Swap:   2048.0 total,   2048.0 free,      0.0 used. 251040.8 avail Mem 
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                   
 372031 ocs       20   0   32.7g   2.1g 494696 S   3.6   0.8   4:36.36 MATLAB                                                    
 373295 ocs       20   0 3190680 136200  89872 S   3.6   0.1   2:43.92 cef_helper                                                
 373639 ocs       20   0 2392464 206520  61316 S   1.7   0.1   1:11.89 cef_helper                                                
   1588 root      20   0   82176   3844   3300 S   0.3   0.0   2:35.75 irqbalance                                                
 154618 root      20   0       0      0      0 I   0.3   0.0   0:21.34 kworker/11:0-events                                       
 263957 root      20   0       0      0      0 I   0.3   0.0   0:02.87 kworker/31:1-events                                       
 382476 ocs       20   0   12672   4568   3248 R   0.3   0.0   0:04.77 top                                                       
      1 root      20   0  168248  11788   8116 S   0.0   0.0   0:52.29 systemd                                                   
      2 root      20   0       0      0      0 S   0.0   0.0   0:00.09 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                                                
      5 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 slub_flushwq                                              
      6 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 netns                                                     
      8 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri                               
     10 root       0 -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                              
     11 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_rude_                                           
     12 root      20   0       0      0      0 S   0.0   0.0   0:00.00 rcu_tasks_trace