Hey all,
I’ve been experiencing brutally slow backup times over Time Machine. My 14GB backup has been going on for 24 hours.
I’ve tried some of the tweaks listed in this forum, but the only thing that seems to fix it (and temporarily only) is rebooting the MBLD. I’ll then be able to perform a backup in an hour or so. Further backups are back to being brutally slow.
I SSH’d into the box and it looks like the load average is 4+:
top - 16:57:07 up 4 days, 21:09, 1 user, load average: 4.17, 4.13, 3.92
Tasks: 96 total, 1 running, 95 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.6%us, 28.5%sy, 7.6%ni, 38.4%id, 23.2%wa, 0.1%hi, 0.5%si, 0.0%st
Mem: 253632k total, 245440k used, 8192k free, 36224k buffers
Swap: 500544k total, 61568k used, 438976k free, 88640k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17725 nobody 5 -15 14528 6528 2112 D 5.8 2.6 103:56.06 afpd
The biggest CPU hog seems to be this recursive ls that runs once a minute or so as root. I’m not sure if it’s related to afpd, or if it’s something else:
root 28229 12.2 2.4 8640 6336 ? RN 16:55 0:05 ls -s1NRA --block-size=1 /shares
root 28232 0.3 0.7 4480 1984 ? RN 16:55 0:00 awk ? {? if ($1 ~ /[1]+$/) {?# printf(“#4:%s:%s/%s\0\0\0\0”,$1,current_dir,substr($0,index($0,$2)));? printf(“#4:%s:%s/%s~~~~”,$1,current_dir,substr($0,index($0,$2)));? }? else {? if ($1 != “total”) {? current_dir = (substr($0,1,length($0)-1));? }? }? }? END {? printf(“#0:0:/tmp/TALLYEND.DONE~~~~”);? }?
Any ideas?
-
0-9 ↩︎