NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

joe_schmo's avatar
Apr 26, 2018

sshd high CPU when rsyncing

I am using the following rsync command:

 

rsync -avW /data/Media/* /eda2/Media2/ --progress --stats --remove-source-files 

 

when I do, I see:

 

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 4370 root      20   0  314764  14256   1936 S 196.3  0.7 196:22.58 sshd
 4381 root      20   0  138068   4024    740 S  27.5  0.2  32:01.93 rsync

Is that sshd cpu usage normal?

 

 

2 Replies

Replies have been turned off for this discussion
  • Marc_V's avatar
    Marc_V
    NETGEAR Employee Retired

    Hi joe_schmo

     

    Using RSYNC uses lots of CPU and using it over SSH would also make sshd use a chunk too. The process tunnels RSYNC on SSH so we can expect this kind of CPU usage is normal.

     

    Hope this helps!

     

    Regards

     

     

  • StephenB's avatar
    StephenB
    Guru - Experienced User

    joe_schmo wrote:

     

    rsync -avW /data/Media/* /eda2/Media2/ --progress --stats --remove-source-files 

     

     


    This command doesn't seem to be tunneling over ssh, so I don't understand the sshd overhead.

     

    This is a local transfer, correct?  (/data and /eda2 are two volumes on the same ReadyNAS?) 

    Is this the full command (no -e ssh)?  

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More