xfer 중 치명적인 오류(하위 프로세스가 조기 종료됨)

xfer 중 치명적인 오류(하위 프로세스가 조기 종료됨)

다른 서버를 백업하는 백업 서버가 있는데 며칠 후에 백업 서버에 오류가 발생하기 시작하고 복구할 수 없습니다. 아래 오류 로그가 제가 할 수 있는 것보다 문제를 더 잘 설명하고 있다고 생각합니다.

2012-09-10 20:05:40 Aborting backup up after signal PIPE
2012-09-10 20:05:44 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-10 21:00:15 full backup started for directory rootBackup (baseline backup #277)

2012-09-11 10:21:07 Aborting backup up after signal PIPE
2012-09-11 10:21:11 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-11 11:00:24 full backup started for directory rootBackup (baseline backup #277)
2012-09-11 13:22:41 Aborting backup up after signal PIPE
2012-09-11 13:22:52 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-11 14:00:30 full backup started for directory rootBackup (baseline backup #277)for directory rootBackup
2012-09-14 06:38:02 Got fatal error during xfer (Child exited prematurely)
2012-09-14 06:38:08 Backup aborted (Child exited prematurely)
2012-09-14 07:00:27 incr backup started back to 2012-09-11 14:00:30 (backup #278) for directory rootBackup
2012-09-20 14:22:04 Got fatal error during xfer (Child exited prematurely)
2012-09-20 14:22:10 Backup aborted (Child exited prematurely)
2012-09-20 15:00:45 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 15:26:29 Got fatal error during xfer (Child exited prematurely)
2012-09-20 15:26:35 Backup aborted (Child exited prematurely)
2012-09-20 16:00:12 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 16:27:37 Got fatal error during xfer (Child exited prematurely)
2012-09-20 16:27:43 Backup aborted (Child exited prematurely)
2012-09-20 17:00:09 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 17:27:37 Got fatal error during xfer (Child exited prematurely)
2012-09-20 17:27:43 Backup aborted (Child exited prematurely)
2012-09-20 18:00:20 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 18:27:49 Got fatal error during xfer (Child exited prematurely)
2012-09-20 18:27:55 Backup aborted (Child exited prematurely)
2012-09-20 19:00:26 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 19:28:29 Got fatal error during xfer (Child exited prematurely)
2012-09-20 19:28:36 Backup aborted (Child exited prematurely)
2012-09-20 20:00:32 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 20:23:06 Got fatal error during xfer (Child exited prematurely)
2012-09-20 20:23:11 Backup aborted (Child exited prematurely)
2012-09-20 21:00:16 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 21:20:30 Got fatal error during xfer (Child exited prematurely)
2012-09-20 21:20:37 Backup aborted (Child exited prematurely)
2012-09-20 22:00:15 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 22:15:21 Got fatal error during xfer (Child exited prematurely)
2012-09-20 22:15:26 Backup aborted (Child exited prematurely)
2012-09-20 23:00:21 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-20 23:15:06 Got fatal error during xfer (Child exited prematurely)
2012-09-20 23:15:11 Backup aborted (Child exited prematurely)
2012-09-21 01:00:09 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 01:27:47 Got fatal error during xfer (Child exited prematurely)
2012-09-21 01:27:53 Backup aborted (Child exited prematurely)
2012-09-21 02:00:20 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 02:34:06 Got fatal error during xfer (Child exited prematurely)
2012-09-21 02:34:13 Backup aborted (Child exited prematurely)
2012-09-21 03:00:21 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 03:26:13 Got fatal error during xfer (Child exited prematurely)
2012-09-21 03:26:19 Backup aborted (Child exited prematurely)
2012-09-21 04:00:14 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 04:17:05 Got fatal error during xfer (Child exited prematurely)
2012-09-21 04:17:11 Backup aborted (Child exited prematurely)
2012-09-21 05:00:09 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 05:27:00 Aborting backup up after signal PIPE
2012-09-21 05:27:02 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-21 06:00:04 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 06:19:01 Aborting backup up after signal PIPE
2012-09-21 06:19:02 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-21 07:00:01 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-21 07:11:57 incr backup 283 complete, 138 files, 282332868 bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other)
2012-09-22 07:00:09 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 07:11:31 Got fatal error during xfer (Child exited prematurely)
2012-09-22 07:11:36 Backup aborted (Child exited prematurely)
2012-09-22 08:00:07 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 08:16:04 Got fatal error during xfer (Child exited prematurely)
2012-09-22 08:16:10 Backup aborted (Child exited prematurely)
2012-09-22 09:00:05 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 09:25:18 Got fatal error during xfer (Child exited prematurely)
2012-09-22 09:25:26 Backup aborted (Child exited prematurely)
2012-09-22 10:00:29 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 10:26:23 Got fatal error during xfer (Child exited prematurely)
2012-09-22 10:26:28 Backup aborted (Child exited prematurely)
2012-09-22 11:00:13 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 11:23:26 Got fatal error during xfer (Child exited prematurely)
2012-09-22 11:23:32 Backup aborted (Child exited prematurely)
2012-09-22 12:00:13 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 12:16:27 Got fatal error during xfer (Child exited prematurely)
2012-09-22 12:16:33 Backup aborted (Child exited prematurely)
2012-09-22 13:00:11 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 13:25:22 Got fatal error during xfer (Child exited prematurely)
2012-09-22 13:25:27 Backup aborted (Child exited prematurely)
2012-09-22 14:00:33 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 14:26:53 Got fatal error during xfer (Child exited prematurely)
2012-09-22 14:26:58 Backup aborted (Child exited prematurely)
2012-09-22 15:00:10 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 15:22:22 Got fatal error during xfer (Child exited prematurely)
2012-09-22 15:22:30 Backup aborted (Child exited prematurely)
2012-09-22 16:00:38 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 16:25:32 Got fatal error during xfer (Child exited prematurely)
2012-09-22 16:25:38 Backup aborted (Child exited prematurely)
2012-09-22 17:00:11 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 17:24:36 Got fatal error during xfer (Child exited prematurely)
2012-09-22 17:24:41 Backup aborted (Child exited prematurely)
2012-09-22 18:00:21 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 18:24:42 Got fatal error during xfer (Child exited prematurely)
2012-09-22 18:24:50 Backup aborted (Child exited prematurely)
2012-09-22 19:00:20 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 19:24:47 Got fatal error during xfer (Child exited prematurely)
2012-09-22 19:24:53 Backup aborted (Child exited prematurely)
2012-09-22 20:00:20 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 20:23:21 Got fatal error during xfer (Child exited prematurely)
2012-09-22 20:23:26 Backup aborted (Child exited prematurely)
2012-09-22 21:00:14 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 21:43:12 Aborting backup up after signal PIPE
2012-09-22 21:43:13 Got fatal error during xfer (aborted by signal=PIPE)
2012-09-22 22:00:10 incr backup started back to 2012-09-19 05:00:02 (backup #282) for directory rootBackup
2012-09-22 22:14:58 Got fatal error during xfer (Child exited prematurely)
2012-09-22 22:15:04 Backup aborted (Child exited prematurely)
2012-09-22 23:00:15 incr backup started back to 2012-09-19 05:00:02 (backup 

노트:백업용으로 backuppc를 사용하고 있습니다. 백업 서버가 다른 서버를 백업할 수 있었지만 서버 중 하나에서 오류가 발생했습니다. 그래서 그 부분에 문제가 있는 게 틀림없다고 생각해요.고객서버로 인해 서버가 조기 종료되었습니다.

고쳐 쓰다:

네트워크 이음새는 양호해야 합니다(네트워크 통계 입력) 클라이언트 측에서.

Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0       1500 0  1297053361      0 126811 0      2321209324      0      0      0 BMRU
lo        16436 0  35169163      0      0 0      35169163      0      0      0 LRU

다음 내용은 다음과 같습니다.파일 /var/lib/backuppc/pc/ns381613.ovh.net-daily/XferLOG.bad.z, 2012-11-21 17:25:14에 수정됨(추출 오류만 해당)

full backup started for directory www (baseline backup #300)
Connected to ns381613.ovh.net:873, remote version 30
Negotiated protocol version 28
Connected to module www
Sending args: --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . .
Xfer PIDs are now 4845
[ skipped 120129 lines ]
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_017p907qdbm3rn5vv8gdin2ab7" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions    Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vkn369qbj5dhoj4no0bei1sen3" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vkn7demudpv0othe6e98s2v1v4" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_voseo6s018c8tmocgthj87irj1" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vqpqhv16urbrh99acecmujj8j1" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vs0j1bsfina3f4913lorb7j681" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vu3jupeug0qpls9f6ikub544t0" (in www)
Remote[2]: file has vanished: "/mywebsite.com/sessions/sess_vu3pp00ko7uip62jf7vp8o8la1" (in www)
[ skipped 55244 lines ]
Read EOF: Connection reset by peer
Can't write 32780 bytes to socket
Tried again: got 0 bytes
finish: removing in-process file mywebsite.com/www-bk-17-oct-2012/lms/archive/LAWYER_1350329888/document/screencasts/TechtutorTv.flv
Child is aborting
Done: 160949 files, 2244371209 bytes
Got fatal error during xfer (aborted by signal=PIPE)
Backup aborted by user signal
Not saving this as a partial backup since it has fewer files than the prior one (got 160949 and 160949 files versus 5985910)

그런 다음 다음을 시도합니다.

sudo -u backuppc /usr/share/backuppc/bin/BackupPC_dump -v -f ns381613.ovh.net

산출

Sending args: --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . .

Xfer PIDs are now 22310
xferPids 22310
Remote[1]: rsync error: timeout in data send/receive (code 30) at io.c(137) [sender=3.0.7]
Read EOF: 
Tried again: got 0 bytes
Child is aborting
Parent read EOF from child: fatal error!
Done: 0 files, 0 bytes
Got fatal error during xfer (Child exited prematurely)
cmdSystemOrEval: about to system /bin/ping -c 1 ns381613.ovh.net
cmdSystemOrEval: finished: got output PING ns381613.ovh.net (188.165.247.43) 56(84) bytes of data.
64 bytes from ns381613.ovh.net (188.165.247.43): icmp_req=1 ttl=60 time=0.591 ms

--- ns381613.ovh.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.591/0.591/0.591/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 ns381613.ovh.net
cmdSystemOrEval: finished: got output PING ns381613.ovh.net (188.165.247.43) 56(84) bytes of data.
64 bytes from ns381613.ovh.net (188.165.247.43): icmp_req=1 ttl=60 time=0.366 ms

--- ns381613.ovh.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.366/0.366/0.366/0.000 ms

CheckHostAlive: returning 0.366
Backup aborted (Child exited prematurely)
Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 1)
dump failed: Child exited prematurely

위 출력에서는 시간 초과가 표시되지만 구성에서 시간 초과 변수를 늘렸습니다.

답변1

이 문제가 나타나기 시작한 시점에 클라이언트 백업 디렉터리의 파일 수가 크게 늘어났습니까? 정보

(신호 =PIPE에 의해 중단됨)

유닉스 파이프가 생각나네요. 백업 명명법에서 파이프는 파일 이름 파이프일 수 있습니다. 파일 수가 특정 버퍼 크기(서버 및 클라이언트의 시스템 아키텍처를 모르면 지정할 수 없음)를 초과하는 경우 이러한 오류가 발생할 수 있습니다. 이 오류는 익숙하지 않은 백업 응용 프로그램에서 발생하기 때문에 메시지와 파일 수 사이의 상관 관계를 증명할 수는 없지만 확인하는 데에는 문제가 없습니다.

이 경우 해결 방법은 전적으로 귀하에게 달려 있습니다. 오래된 파일을 제거하거나 하위 디렉터리를 생성하고 특정 수의 파일을 해당 디렉터리에 푸시하여 디렉터리를 정리합니다. 또는 둘 다의 조합입니다.

행운을 빌어요

관련 정보