tr0910 Posted October 9, 2011 Share Posted October 9, 2011 Either I am doing something stupid or this is an issue with 5b12a. I have the following script that backs up one server to another. Works fine from 4.7 to 4.7 and from 4.7 to 5b12a where it is run on a 5b12a polling a 4.7 server. It doesn't work from a 4.7 server polling a 5b12a server. Locks up, and the script sits after 8 hours. Do I have to do something else to get rsync to work when polling a 5b12a server?? mkdir /mnt/t2disk1 mkdir /mnt/t2disk2 mkdir /mnt/t2disk3 mount -t nfs tower2:/mnt/disk1/ /mnt/t2disk1 mount -t nfs tower2:/mnt/disk2/ /mnt/t2disk2 mount -t nfs tower2:/mnt/disk3/ /mnt/t2disk3 cd /boot echo ++ >> date.log echo ++++++ starting daily cron now ++++++++++ >> date.log # Backup Disk 3 # log to disk 1 so there are no conflicts with files echo ++++++ starting daily cron now with disk 3 ++++++++++ >> /mnt/disk1/disk3.log rsync -av --stats --progress /mnt/t2disk3/ /mnt/disk3/ >> /mnt/disk1/disk3.log date >> date.log date >> /mnt/disk1/disk3.log echo == >> date.log echo ====== ending daily cron now =========== >> date.log echo == >> date.log echo =___ powering down now ___= >> date.log powerdown There is no activity on the disks of either server and here is the list of processes on the 4.7 server running the script. Notice 3 instances of rsync that are inactive. When rsync is running, this will take up significant cpu.... (from /usr/bin/top -b -n1) top - 09:22:32 up 1 day, 10:39, 2 users, load average: 2.00, 1.99, 1.91 Tasks: 94 total, 1 running, 93 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 3.9%sy, 0.0%ni, 65.6%id, 30.1%wa, 0.1%hi, 0.3%si, 0.0%st Mem: 1814388k total, 1748560k used, 65828k free, 4176k buffers Swap: 0k total, 0k used, 0k free, 1665520k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 704 308 264 S 0.0 0.0 0:01.46 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 5 root 20 0 0 0 0 S 0.0 0.0 0:00.00 events/0 6 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper 11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr 112 root 20 0 0 0 0 S 0.0 0.0 0:00.11 sync_supers 114 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default 116 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 117 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid 118 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify 119 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_hotplug 228 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata/0 229 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ata_aux 233 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd 238 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd 241 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kseriod 277 root 20 0 0 0 0 S 0.0 0.0 0:00.04 rpciod/0 302 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0 347 root 20 0 0 0 0 S 0.0 0.0 0:00.00 aio/0 353 root 20 0 0 0 0 S 0.0 0.0 0:00.03 nfsiod 358 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kslowd000 359 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kslowd001 579 root 20 0 0 0 0 S 0.0 0.0 0:00.00 usbhid_resumer 618 root 16 -4 1872 804 480 S 0.0 0.0 0:00.04 udevd 692 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 695 root 20 0 0 0 0 S 0.0 0.0 0:00.02 usb-storage 767 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1 768 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2 769 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3 770 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_4 771 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_5 772 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_6 1239 root 20 0 1688 592 504 S 0.0 0.0 0:00.01 syslogd 1243 root 20 0 1640 412 340 S 0.0 0.0 0:00.00 klogd 1282 root 20 0 1656 464 392 S 0.0 0.0 0:00.00 ifplugd 1312 root 20 0 1656 388 312 S 0.0 0.0 0:02.23 dhcpcd 1319 root 20 0 3916 1216 948 S 0.0 0.1 0:00.00 ntpd 1329 bin 20 0 1752 476 392 S 0.0 0.0 0:00.00 rpc.portmap 1333 nobody 20 0 1808 704 608 S 0.0 0.0 0:00.00 rpc.statd 1343 root 20 0 1664 528 464 S 0.0 0.0 0:00.01 inetd 1353 root 20 0 1632 536 468 S 0.0 0.0 0:00.00 acpid 1360 root 20 0 1816 660 548 S 0.0 0.0 0:00.00 crond 1362 daemon 20 0 1672 384 304 S 0.0 0.0 0:00.00 atd 1367 root 20 0 8488 1928 1316 S 0.0 0.1 0:00.63 nmbd 1369 root 20 0 13624 3364 2600 S 0.0 0.2 0:00.42 smbd 1373 root 20 0 13624 1724 960 S 0.0 0.1 0:00.00 smbd 1375 root 20 0 52764 1532 1148 S 0.0 0.1 0:00.63 emhttp 1447 root 20 0 0 0 0 S 0.0 0.0 11:39.55 mdrecoveryd 1451 root 20 0 0 0 0 S 0.0 0.0 0:00.00 spinupd 1453 root 20 0 0 0 0 S 0.0 0.0 0:00.00 spinupd 1455 root 20 0 0 0 0 S 0.0 0.0 0:00.00 spinupd 1457 root 20 0 0 0 0 S 0.0 0.0 0:00.00 spinupd 1458 root 20 0 0 0 0 S 0.0 0.0 0:00.00 spinupd 1739 root 20 0 0 0 0 S 0.0 0.0 0:00.00 lockd 1766 root 20 0 0 0 0 S 0.0 0.0 70:38.25 unraidd 1801 root 20 0 0 0 0 S 0.0 0.0 0:00.00 reiserfs/0 1849 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1850 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1851 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1852 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1853 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1854 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1855 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1856 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nfsd 1858 root 20 0 1912 280 168 S 0.0 0.0 0:00.00 rpc.mountd 2663 root 20 0 1636 520 456 S 0.0 0.0 0:00.00 agetty 2664 root 20 0 1632 520 456 S 0.0 0.0 0:00.00 agetty 2665 root 20 0 1636 524 456 S 0.0 0.0 0:00.00 agetty 2666 root 20 0 1632 520 456 S 0.0 0.0 0:00.00 agetty 2667 root 20 0 1632 520 456 S 0.0 0.0 0:00.00 agetty 2668 root 20 0 1636 524 456 S 0.0 0.0 0:00.00 agetty 3138 root 20 0 1856 760 620 S 0.0 0.0 0:00.00 in.telnetd 3139 root 20 0 2376 1320 1060 S 0.0 0.1 0:00.00 bash 3178 root 20 0 2492 832 680 S 0.0 0.0 0:00.00 screen 3179 root 20 0 2516 988 708 S 0.0 0.1 0:00.00 screen 3180 root 20 0 2392 1272 1000 S 0.0 0.1 0:00.00 bash 3181 root 20 0 2400 1284 1008 S 0.0 0.1 0:00.00 bash 3186 root 20 0 2264 488 316 S 0.0 0.0 0:00.00 uu 3187 root 20 0 1616 440 384 S 0.0 0.0 0:00.00 logger 3190 root 20 0 4828 3856 904 S 0.0 0.2 0:00.12 awk 3318 root 20 0 14000 4020 2908 S 0.0 0.2 0:00.33 smbd 6444 root 20 0 2404 936 656 S 0.0 0.1 0:00.00 bash 6447 root 20 0 18216 1932 828 D 0.0 0.1 0:03.28 rsync 6448 root 20 0 17432 1340 592 S 0.0 0.1 0:00.00 rsync 6449 root 20 0 18124 1344 328 S 0.0 0.1 0:04.60 rsync 6529 root 20 0 1652 608 540 D 0.0 0.0 0:00.00 df 6534 root 20 0 2260 484 316 S 0.0 0.0 0:00.00 uu 6535 root 20 0 1616 552 484 S 0.0 0.0 0:00.00 logger 6538 root 20 0 4696 3668 888 S 0.0 0.2 0:00.14 awk 6908 root 20 0 2104 932 748 S 0.0 0.1 0:00.01 gawk 6911 root 20 0 2228 976 844 S 0.0 0.1 0:00.00 sh 6912 root 20 0 2116 896 700 R 0.0 0.0 0:00.00 top Quote Link to comment
tr0910 Posted October 9, 2011 Author Share Posted October 9, 2011 Here is the list of processes running on the 5b12a server while everything remains locked up. (from /usr/bin/top -b -n1) top - 12:36:43 up 1 day, 22:56, 0 users, load average: 2.44, 2.55, 2.58 Tasks: 92 total, 4 running, 88 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 11.6%sy, 0.0%ni, 87.1%id, 1.3%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 4137508k total, 1985040k used, 2152468k free, 586008k buffers Swap: 0k total, 0k used, 0k free, 1117660k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3077 root 20 0 0 0 0 R 19 0.0 208:06.20 nfsd 3080 root 20 0 0 0 0 R 19 0.0 209:45.80 nfsd 3082 root 20 0 0 0 0 R 19 0.0 189:34.93 nfsd 3078 root 20 0 0 0 0 S 8 0.0 162:51.59 nfsd 3081 root 20 0 0 0 0 S 8 0.0 176:13.10 nfsd 3083 root 20 0 0 0 0 S 8 0.0 205:19.48 nfsd 1 root 20 0 828 304 264 S 0 0.0 0:03.20 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0 0.0 0:00.12 ksoftirqd/0 5 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:0 6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 9 root 20 0 0 0 0 S 0 0.0 0:00.03 ksoftirqd/1 11 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/2 13 root 20 0 0 0 0 S 0 0.0 0:00.02 ksoftirqd/2 14 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/3 16 root 20 0 0 0 0 S 0 0.0 0:00.03 ksoftirqd/3 17 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper 153 root 20 0 0 0 0 S 0 0.0 0:06.04 sync_supers 155 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default 157 root 0 -20 0 0 0 S 0 0.0 0:00.00 kblockd 273 root 0 -20 0 0 0 S 0 0.0 0:00.00 ata_sff 283 root 20 0 0 0 0 S 0 0.0 0:00.00 khubd 394 root 0 -20 0 0 0 S 0 0.0 0:00.00 rpciod 440 root 20 0 0 0 0 S 0 0.0 0:02.58 kswapd0 501 root 20 0 0 0 0 S 0 0.0 0:00.00 fsnotify_mark 520 root 0 -20 0 0 0 S 0 0.0 0:00.00 nfsiod 528 root 0 -20 0 0 0 S 0 0.0 0:00.00 crypto 607 root 20 0 0 0 0 S 0 0.0 0:00.11 kworker/1:1 608 root 20 0 0 0 0 S 0 0.0 0:00.27 kworker/3:1 724 root 16 -4 2376 936 496 S 0 0.0 0:00.03 udevd 783 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 855 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_1 856 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_2 857 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_3 858 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_4 859 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_5 860 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_6 861 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/u:2 948 root 20 0 0 0 0 S 0 0.0 0:00.00 scsi_eh_7 949 root 20 0 0 0 0 S 0 0.0 0:00.00 usb-storage 964 root 0 -20 0 0 0 S 0 0.0 0:00.00 scsi_wq_0 1056 root 20 0 1908 608 524 S 0 0.0 0:00.07 syslogd 1060 root 20 0 1856 388 320 S 0 0.0 0:00.00 klogd 1086 root 20 0 2044 552 444 S 0 0.0 0:00.00 dhcpcd 1174 bin 20 0 1960 520 432 S 0 0.0 0:00.00 rpc.portmap 1178 root 20 0 2108 792 660 S 0 0.0 0:00.00 rpc.statd 1188 root 20 0 1900 540 468 S 0 0.0 0:00.00 inetd 1195 root 20 0 10440 3140 2356 S 0 0.1 0:01.97 ntpd 1202 root 20 0 1864 636 536 S 0 0.0 0:00.00 acpid 1213 messageb 20 0 2476 364 212 S 0 0.0 0:00.00 dbus-daemon 1218 root 20 0 1908 580 504 S 0 0.0 0:00.09 crond 1220 daemon 20 0 1900 292 220 S 0 0.0 0:00.00 atd 1226 root 20 0 53880 1528 1152 S 0 0.0 0:23.35 emhttp 1428 root 20 0 19492 680 540 S 0 0.0 0:06.28 apcupsd 1906 root 20 0 1856 532 472 S 0 0.0 0:00.00 agetty 1907 root 20 0 1856 532 472 S 0 0.0 0:00.00 agetty 1908 root 20 0 1856 528 472 S 0 0.0 0:00.00 agetty 1909 root 20 0 1856 532 472 S 0 0.0 0:00.00 agetty 1910 root 20 0 1856 532 472 S 0 0.0 0:00.00 agetty 1911 root 20 0 1856 532 472 S 0 0.0 0:00.00 agetty 1922 root 20 0 9520 1960 1328 S 0 0.0 0:01.62 nmbd 1924 root 20 0 16124 3852 3064 S 0 0.1 0:03.00 smbd 1929 root 20 0 16124 1876 1076 S 0 0.0 0:00.00 smbd 2915 root 20 0 0 0 0 S 0 0.0 0:00.00 mdrecoveryd 2916 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2917 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2918 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2919 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2920 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2921 root 20 0 0 0 0 S 0 0.0 0:00.00 spinupd 2963 root 20 0 0 0 0 S 0 0.0 0:42.29 unraidd 2966 root 18 -2 2372 752 312 S 0 0.0 0:00.00 udevd 2967 root 18 -2 2372 752 312 S 0 0.0 0:00.00 udevd 3021 root 0 -20 0 0 0 S 0 0.0 0:00.00 reiserfs 3075 root 20 0 0 0 0 S 0 0.0 0:00.00 lockd 3076 root 20 0 0 0 0 S 0 0.0 200:47.39 nfsd 3079 root 20 0 0 0 0 S 0 0.0 203:38.13 nfsd 3085 root 20 0 2284 892 636 S 0 0.0 0:00.00 rpc.mountd 3122 root 20 0 4184 820 488 S 0 0.0 0:00.00 uu 3123 root 20 0 2132 752 576 S 0 0.0 0:00.00 logger 3126 root 20 0 6188 4720 1028 S 0 0.1 0:00.46 awk 25042 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/3:0 25044 root 20 0 0 0 0 S 0 0.0 0:00.13 kworker/1:2 25063 root 20 0 0 0 0 S 0 0.0 0:01.02 kworker/0:1 28244 root 20 0 0 0 0 S 0 0.0 0:00.15 kworker/2:0 28584 root 20 0 2720 1156 872 S 0 0.0 0:00.00 gawk 28587 root 20 0 4156 1224 928 S 0 0.0 0:00.00 sh 28588 root 20 0 2336 932 728 R 0 0.0 0:00.00 top 29708 root 20 0 0 0 0 S 0 0.0 0:00.06 kworker/2:2 30816 root 20 0 16404 3880 3060 S 0 0.1 0:00.14 smbd 31549 root 20 0 0 0 0 S 0 0.0 0:00.00 kworker/0:2 and here is the log file to show that it got started fine.... ++++++ starting daily cron now with disk 3 ++++++++++ Sat Oct 8 22:57:15 MDT 2011 sending incremental file list ./ GraphicsAuthority/ GraphicsAuthority/Family Portrait Album Pages/ GraphicsAuthority/Family Portrait Album Pages/Catalogs/ GraphicsAuthority/Family Portrait Album Pages/_Products/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/12x12/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/12x12/_JPEG PROOF/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/12x12/_LOW RES/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/ GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_02A.tif 32768 0% 0.00kB/s 0:00:00 9732096 9% 6.15MB/s 0:00:13 26509312 27% 9.78MB/s 0:00:07 39878656 40% 10.26MB/s 0:00:05 74252288 76% 15.05MB/s 0:00:01 97675768 100% 18.49MB/s 0:00:05 (xfer#1, to-check=1055/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_02B.tif 32768 0% 85.79kB/s 0:18:50 30998528 31% 29.56MB/s 0:00:02 68190208 70% 25.89MB/s 0:00:01 96978408 100% 31.89MB/s 0:00:02 (xfer#2, to-check=1054/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_03A.tif 32768 0% 77.48kB/s 0:26:25 14450688 11% 12.30MB/s 0:00:08 68452352 55% 28.47MB/s 0:00:01 105414656 85% 29.43MB/s 0:00:00 122855840 100% 30.52MB/s 0:00:03 (xfer#3, to-check=1053/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_03B.tif 32768 0% 72.56kB/s 0:28:37 22577152 18% 20.97MB/s 0:00:04 64651264 51% 30.43MB/s 0:00:01 106463232 85% 33.01MB/s 0:00:00 124677572 100% 33.38MB/s 0:00:03 (xfer#4, to-check=1052/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_04A.tif 32768 0% 63.75kB/s 0:12:47 23887872 48% 22.71MB/s 0:00:01 48947764 100% 27.64MB/s 0:00:01 (xfer#5, to-check=1051/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_04B.tif 32768 0% 46.04kB/s 0:15:11 17432576 41% 16.62MB/s 0:00:01 42014508 100% 26.17MB/s 0:00:01 (xfer#6, to-check=1050/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_05A.tif 32768 0% 57.97kB/s 0:09:13 8421376 26% 7.24MB/s 0:00:03 32123172 100% 20.69MB/s 0:00:01 (xfer#7, to-check=1049/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_05B.tif 32768 0% 84.21kB/s 0:07:20 24150016 65% 23.03MB/s 0:00:00 37122264 100% 26.98MB/s 0:00:01 (xfer#8, to-check=1048/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_06A.tif 32768 0% 99.69kB/s 0:08:37 14450688 27% 13.04MB/s 0:00:02 51668224 100% 27.10MB/s 0:00:01 (xfer#9, to-check=1047/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_06B.tif 32768 0% 41.08kB/s 0:22:38 11567104 20% 11.03MB/s 0:00:03 44597248 79% 21.28MB/s 0:00:00 55846584 100% 19.34MB/s 0:00:02 (xfer#10, to-check=1046/1144) GraphicsAuthority/Family Portrait Album Pages/_Products/_Elements/8x10/FP_8x10_07A.tif 32768 0% 41.83kB/s 0:17:28 11567104 26% 11.03MB/s 0:00:02 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.