Displaying 20 results from an estimated 36 matches for "last_match".
2003 Feb 24
1
exit status 12 when transferring a large file
.... In about 80% of the cases rsync returns exit
status 12 when trying to transfer a certain file. In the other 20% the file
is transferred successfully.
Using option -vvv I found these two situations:
Situation 1:
------------
...
built hash table
hash search b=16384 len=224018876
match at 3293185 last_match=3276800 j=201 len=16384 n=16385
match at 3325953 last_match=3309569 j=203 len=16384 n=16384
match at 3358721 last_match=3342337 j=205 len=16384 n=16384
match at 3391489 last_match=3375105 j=207 len=16384 n=16384
match at 3424257 last_match=3407873 j=209 len=16384 n=16384
match at 3457025 last_match...
2013 Jan 03
1
rsync 3.0.9 hangs on large file
...--partial --partial-dir=~/partial --exclude=.cache/
--exclude=*/tmp/
--exclude=*/cache/
...plus a few dozen more excludes...
/home/gbell2 gbell at moms:backups/gbell_backups_mnt
Destination dir is a mounted truecrypt volume.
STDOUT is as follows:
match at 215148020 last_match=215148020 j=14631 len=14648 n=0
match at 215162668 last_match=215162668 j=14632 len=14648 n=0
match at 215177316 last_match=215177316 j=14633 len=14648 n=0
match at 215244029 last_match=215224732 j=4387 len=14648 n=19297
215.26M 92% 68.04MB/s 0:00:00
match at 215272589 last_match=215258...
2003 Oct 01
0
AW: problem with batch mode:
...rator(../new.zip,0)
generating and sending sums for 0
send_files(0, ../old.zip)
count=624 rem=638 blength=700 s2length=2 flength=436738
recv_files(1) starting
send_files mapped ../old.zip of size 498783
calling match_sums ../old.zip
old.zip
built hash table
hash search b=700 len=498783
match at 700 last_match=0 j=1 len=700 n=700
match at 1400 last_match=1400 j=2 len=700 n=0
match at 2100 last_match=2100 j=3 len=700 n=0
match at 2800 last_match=2800 j=4 len=700 n=0
match at 3500 last_match=3500 j=5 len=700 n=0
match at 4200 last_match=4200 j=6 len=700 n=0
match at 4900 last_match=4900 j=7 len=700 n=0
mat...
2003 Sep 30
2
problem with batch mode:
Hi!
I try to use batch mode to send only the difference between two packed CDs
by email over a slow line.
I create the diff with:
rsync -avvv --write-batch=rs CD-ROM-V6.6.32.zip CD-ROM-V6.6.31.zip
where
alfred:/Auslieferung/CD # l -n
-rw-r--r-- 1 0 0 453248121 Sep 2 16:22 CD-ROM-V6.6.31.zip
-rw-r--r-- 1 0 0 407416499 Sep 29 13:39 CD-ROM-V6.6.32.zip
resulting
2005 Mar 16
0
Problem with rsync --inplace very slow/hung on large files
...the file does exist and --inplace is specified, and the file
contents differ, rsync either is so significantly slowed as to take more
than 30 hours (the longest I've let an instance run), or it is just hung.
Running with -vvv gives this as the last few lines of the output:
match at 205401064 last_match=205401064 j=821 len=250184 n=0
match at 205651248 last_match=205651248 j=822 len=250184 n=0
match at 205901432 last_match=205901432 j=823 len=250184 n=0
match at 206151616 last_match=206151616 j=824 len=250184 n=0
at which point it has not printed anything else since I last looked at the
current r...
2003 Aug 29
2
RSync hangs up on file transfer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
I'm using RSync to mirror from a server (gandalf) to a backupserver (dwalin).
RSync does just fit my needs for what I want it to do and I would like to
thank your for your work on RSync. Nevertheless I do have a problem which
actually comes up from time to time.
The syncing of each partition is done by rsync calls from cron.daily.
This
2002 Sep 30
0
rsync --daemon only binding against IPv6
...h experience.
-------------- next part --------------
$NetBSD: patch-aa,v 1.8 2002/03/12 16:02:57 tron Exp $
--- match.c.orig Sun Feb 3 02:38:39 2002
+++ match.c Tue Mar 12 16:55:19 2002
@@ -247,7 +247,7 @@
running match, the checksum update and the
literal send. */
if (offset > last_match &&
- offset-last_match >= CHUNK_SIZE+s->n &&
+ offset >= last_match+CHUNK_SIZE+s->n &&
(end-offset > CHUNK_SIZE)) {
matched(f,s,buf,offset - s->n, -2);
}
2004 Aug 02
4
reducing memmoves
Attached is a patch that makes window strides constant when files are
walked with a constant block size. In these cases, it completely
avoids all memmoves.
In my simple local test of rsyncing 57MB of 10 local files, memmoved
bytes went from 18MB to zero.
I haven't tested this for a big variety of file cases. I think that this
will always reduce the memmoves involved with walking a large
2008 Dec 05
1
ERROR: writefd_unbuffered failed to write ... when COMPRESS
.../C/VCB/KARTA/scsi0-2-0-CARTA_1-s002.vmdk of size 1076953088
2008/12/05 15:28:48 [3828] calling match_sums
/cygdrive/C/VCB/KARTA/scsi0-2-0-CARTA_1-s002.vmdk
2008/12/05 15:28:48 [3828] built hash table
2008/12/05 15:28:48 [3828] hash search b=32816 len=1076953088
2008/12/05 15:28:48 [3828] match at 0 last_match=0 j=0 len=32816 n=0
2008/12/05 15:28:48 [3828] match at 32816 last_match=32816 j=1 len=32816 n=0
...
2008/12/05 15:28:53 [3828] match at 56902944 last_match=56902944 j=1734
len=32816 n=0
2008/12/05 15:28:53 [3828] match at 57001392 last_match=56968528 j=1737
len=32816 n=32864
2008/12/05 15:28:53 [3...
2002 Aug 05
5
[patch] read-devices
...sable_deltas_p()==TRUE!\n");
write_int(f_out,i);
send_sums(NULL,f_out);
return;
}
diff -r -u4 rsync-2.5.5/match.c rsync-patched/match.c
--- rsync-2.5.5/match.c Sun Feb 3 04:38:39 2002
+++ rsync-patched/match.c Mon Aug 5 10:05:15 2002
@@ -95,26 +95,27 @@
{
OFF_T n = offset - last_match;
OFF_T j;
+
if (verbose > 2 && i >= 0)
rprintf(FINFO,"match at %.0f last_match=%.0f j=%d len=%d n=%.0f\n",
(double)offset,(double)last_match,i,s->sums[i].len,(double)n);
- send_token(f,i,buf,last_match,n,i<0?0:s->sums[i].len);
- data_transfer += n;
+...
2003 Jun 10
1
Red Hat rsync - 'sign' patch
...k = MIN((len-offset), s->n);
+ k = MIN((len-offset), (ssize_t)s->n);
map = (schar *)map_ptr(buf,offset,k);
sum = get_checksum1((char *)map, k);
s1 = sum & 0xFFFF;
@@ -262,7 +262,7 @@
running match, the checksum update and the
literal send. */
if (offset > last_match &&
- offset-last_match >= CHUNK_SIZE+s->n &&
+ offset-last_match >= (ssize_t)(CHUNK_SIZE+s->n) &&
(end-offset > CHUNK_SIZE)) {
matched(f,s,buf,offset - s->n, -2);
}
Only in rsync-2.5.6-sign/: match.c.orig
2003 Sep 14
2
rsync error: error in rsync protocol data stream (code 12) at io.c(463)
Hi,
I'm having a problem rsyncing one file (since I signed it). It seems that
the content of a file is able to cause problems in the protocol.
building file list ...
28820 files to consider
apt/packages/avifile/
apt/packages/avifile/avifile-0.7.34-1.dag.rh90.i386.rpm
rsync: error writing 4 unbuffered bytes - exiting: Broken pipe
rsync error: error in rsync protocol data stream (code
2002 Feb 01
4
error in rsync protocol data stream (code 12) at token.c(288)
I am getting the following error when mirroring part of the RedHat
distribution tree over a slow connection (~T1 speed). When running
over a faster network (100BaseT) the problem does not appear. Note,
the problem file a large 600MB ISO image, whereas other small files
appear to be fine.
rsync: open connection using /path/ssh remote.host /path/rsync --server -vlHogDtprRz --timeout=600 --delete
2002 May 22
1
unexplained error (code 255)
...for 1
generate_files phase=1
send_files(0,/home1/admin/rsyncdir/datefile)
send_files mapped /home1/admin/rsyncdir/datefile of size 29
recv_files(datefile)
recv mapped datefile of size 29
datefile
calling match_sums /home1/admin/rsyncdir/datefile
built hash table
hash search b=700 len=29
match at 0 last_match=0 j=0 len=29 n=0
done hash search
sending file_sum
got file_sum
renaming .datefile.ThaWK1 to datefile
false_alarms=0 tag_hits=1 matches=1
sender finished /home1/admin/rsyncdir/datefile
send_files(1,/home1/admin/rsyncdir/unamefile)
send_files mapped /home1/admin/rsyncdir/unamefile of size 78
recv_fi...
2017 Sep 22
0
[PATCH v3 02/22] common/mlpcre: Add PCRE.subi to return indexes instead of the substring.
...4
--- a/common/mlpcre/pcre-c.c
+++ b/common/mlpcre/pcre-c.c
@@ -225,3 +225,30 @@ guestfs_int_pcre_sub (value nv)
memcpy (String_val (strv), str, len);
CAMLreturn (strv);
}
+
+value
+guestfs_int_pcre_subi (value nv)
+{
+ CAMLparam1 (nv);
+ int n = Int_val (nv);
+ CAMLlocal1 (rv);
+ struct last_match *m = gl_tls_get (last_match);
+
+ if (m == NULL)
+ raise_pcre_error ("PCRE.subi called without calling PCRE.matches", 0);
+
+ if (n < 0)
+ caml_invalid_argument ("PCRE.subi: n must be >= 0");
+
+ /* eg if there are 2 captures, m->r == 3, and valid values of n a...
2003 Apr 22
1
deflate on token returned 0 (16384 bytes left)
Hi,
I was getting an error when uploading Knoppix ISO images with
compression with Rsync.
Here is the error as I recall it:
tomg@nova:~/mylibrary$ rsync -rtlvessh --partial --delete --delete-after
--bwlimit=8 /extra/library academus:/var/pub
building file list ... done
library/software/Knopper,_Klaus/
library/software/Knopper,_Klaus/KNOPPIX_V3.2-2003-04-18-EN.iso
deflate on token returned 0
2016 Oct 13
5
rsync: connection unexpectedly closed
On Wed, 2016-10-12 at 08:36 +0200, Paul Slootman wrote:
> As always it's best to first upgrade to the current version (3.1.3)
> if at all possible, as there's always the chance that the cause of
> your problems has already been fixed.
Good call, but I believe I may have ruled this out. I didn't upgrade to
3.1.3, but both sides are running 3.1.1 protocol version 31 now. Same
2016 Oct 16
1
rsync: connection unexpectedly closed
...or from remote host <snip>: Connection reset by peer
debug1: do_cleanup
debug1: do_cleanup
debug1: PAM: cleanup
debug1: PAM: closing session
Sessions still open, not unmounting
debug1: PAM: deleting credentials
...and the client rsync dies...
match at 32949010432 last_match=32949010432 j=251381 len=131072 n=0
match at 32949141504 last_match=32949141504 j=251382 len=131072 n=0
32.95G 96% 74.13MB/s 0:00:14 packet_write_wait: Connection to <snip> port 22223: Broken pipe
rsync: [sender] write error: Broken pipe (32)
rsync error: unex...
2006 Jul 29
9
export to a CSV or XLS file
hello everyone,
Any idea how can i export a resultset from a database to a CSV or XLS
file from the application ? would like the user to have the option to
export selected data to a CSV/XLS file.
Any plugins or libraries avaiable to accomplish this ?
Thanks for your time,
VASU.
--
Posted via http://www.ruby-forum.com/.
2002 Feb 01
0
rsync Warning: unexpected read size of 0 in map_ptr
...k = MIN((len-offset), (ssize_t)s->n);
map = (schar *)map_ptr(buf,offset,k);
sum = get_checksum1((char *)map, k);
s1 = sum & 0xFFFF;
@@ -246,7 +246,7 @@
match. The 3 reads are caused by the
running match, the checksum update and the
literal send. */
- if (offset-last_match >= CHUNK_SIZE+s->n &&
+ if (offset-last_match >= (ssize_t)(CHUNK_SIZE+s->n) &&
(end-offset > CHUNK_SIZE)) {
matched(f,s,buf,offset - s->n, -2);
}
diff -ru rsync-2.4.6/receiver.c rsync-2.4.6-fixed/receiver.c
--- rsync-2.4.6/receiver.c Mon Jan 28 19:...