search for: send_msg_int

Displaying 5 results from an estimated 5 matches for "send_msg_int".

2017 Apr 05
0
Transfer hangs, both sides waiting on receive
...3-5) transfers, the rsync process hangs with both sides waiting on select() on the TCP socket. From the transfer logs I can see that the hang always happens when about to receive the same 32GB file, already a couple of GBs into the total transfer. Host A reports: .... 04:41:03 [6281] [receiver] send_msg_int(100, 1701) 04:41:03 [6281] recv_files(mysql/innodb_table_stats.ibd) 04:41:03 [6281] sender finished //mysql/innodb_table_stats.ibd 04:41:03 [6281] send_files(1749, //mysql/user.MYD) 04:41:03 [6281] sender finished //mysql/user.MYD 04:41:03 [6281] send_files(1750, //mysql/user.MYI) 04:41:03 [6281] s...
2017 Jan 18
4
[Bug 12527] New: Sender waits for timeout when fuzzy basis file found
...msg=3, len=76 rsync error: error in file IO (code 11) at receiver.c(400) [receiver=3.1.2] [sender] got msg=2, len=33 [generator] converted msg len=76 [sender] got msg=2, len=85 [receiver] _exit_cleanup(code=11, file=receiver.c, line=400): about to call exit(11 [sender] got msg=2, len=32 [receiver] send_msg_int(86, 11) [sender] got msg=2, len=33 [generator] send_msg_int(86, 11) [sender] got msg=86, len=4 [sender] send_msg(86, 0) [sender] _exit_cleanup(code=11, file=io.c, line=1633): about to call exit(11) Exactly same command launched, but adding -y so that fuzzy basis may be found. sending incrementa...
2008 Aug 20
0
Problem with exact moment of issuing transfer log entry for a [recv] action
...fname, fd2, F_LENGTH(file)); - log_item(log_code, file, &initial_stats, iflags, NULL); - if (fd1 != -1) close(fd1); if (close(fd2) < 0) { @@ -719,6 +717,7 @@ if (remove_source_files || inc_recurse || (preserve_hard_links && F_IS_HLINKED(file))) send_msg_int(MSG_SUCCESS, ndx); + log_item(log_code, file, &initial_stats, iflags, NULL); break; case 0: { enum logcode msgtype = redoing ? FERROR_XFER : FWARNING;
2010 Feb 12
1
[RFC] add support for fallocate()
...]) +fi + AC_CACHE_CHECK([for C99 vsnprintf],rsync_cv_HAVE_C99_VSNPRINTF,[ AC_TRY_RUN([ #include <sys/types.h> diff --git a/receiver.c b/receiver.c index 6688dda..0fa8782 100644 --- a/receiver.c +++ b/receiver.c @@ -774,7 +774,14 @@ int recv_files(int f_in, int f_out, char *local_name) send_msg_int(MSG_NO_SEND, ndx); continue; } - +#ifdef HAVE_FALLOCATE + if (!sparse_files) + /* + * If this fails then either the filesystem does not + * support this feature or we run out of disk space. + */ + do_fallocate(fd2, FALLOC_FL_KEEP_SIZE, 0, F_LENGTH(file)); +#endif /* log the...
2018 Mar 01
29
[Bug 13317] New: rsync returns success when target filesystem is full
https://bugzilla.samba.org/show_bug.cgi?id=13317 Bug ID: 13317 Summary: rsync returns success when target filesystem is full Product: rsync Version: 3.1.2 Hardware: x64 OS: FreeBSD Status: NEW Severity: major Priority: P5 Component: core Assignee: wayned at samba.org