High CPU for days, slow D/L (headless)

I’ve installed insync-headless on a server and configured it to sync some folders on the server and also d/l a big folder (26 GB) or shared stuff from Google Drive. It uploaded the ~2 GB local stuff fine. However it’s been running for days at 98% CPU while downloading the shared stuff super slowly.

I’ve pulled the logs but don’t know where to send them. Please advise.

top - 17:05:09 up 3 days,  1:32,  2 users,  load average: 1.25, 1.15, 1.13
Tasks: 177 total,   1 running, 176 sleeping,   0 stopped,   0 zombie
%Cpu(s): 26.2 us, 73.8 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    765112 total,   690500 used,    74612 free,    29096 buffers
KiB Swap:  1952764 total,      220 used,  1952544 free.   393244 cached Mem
 Unknown command - try 'h' for help 
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                    
 1608 root      20   0  104480  45980   2144 S 97.8  6.0   3730:52 insync-headless                                                                            
  466 message+  20   0    4804   1880    968 S  0.3  0.2   0:47.73 dbus-daemon

Hi @Peter_Kuykendall, you may send your logs to support@insynchq.com. Will also tag our engineer @lpugoy here

Logs sent as link to Google drive, as they are > 25 MB compressed. Thanks.

Here’s a new symptom. It won’t pause syncing. It won’t quit either. I ended up having to kill the process.

root@cz02:~# insync-headless get_status
SYNCING
root@cz02:~# insync-headless pause_syncing
OK
root@cz02:~# insync-headless get_status
SYNCING
root@cz02:~# top

top - 22:22:06 up 3 days,  6:49,  2 users,  load average: 1.12, 1.12, 1.13
Tasks: 180 total,   1 running, 179 sleeping,   0 stopped,   0 zombie
%Cpu(s): 28.6 us, 71.4 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    765112 total,   703460 used,    61652 free,    32420 buffers
KiB Swap:  1952764 total,      220 used,  1952544 free.   403176 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                    
 1608 root      20   0  104480  46508   2584 S 98.4  6.1   4038:28 insync-headless

root@cz02:~# insync-headless quit

^CTraceback (most recent call last):
  File "__main__insync-headless__.py", line 79, in ipc_insync
KeyboardInterrupt

root@cz02:~# ^C
root@cz02:~#
root@cz02:~# top

top - 22:26:31 up 3 days,  6:53,  2 users,  load average: 1.21, 1.12, 1.13
Tasks: 181 total,   1 running, 180 sleeping,   0 stopped,   0 zombie
%Cpu(s): 30.2 us, 69.8 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    765112 total,   702804 used,    62308 free,    32508 buffers
KiB Swap:  1952764 total,      220 used,  1952544 free.   403584 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                    
 1608 root      20   0  104480  44480   2584 S 93.7  5.8   4042:48 insync-headless 
root@cz02:~# kill 1608