Re: Still getting a generator hang on 2.6.7

2006-03-15 Thread Steve Sether
That patch works perfectly. I ran my test about 15 times and both processes on the server died just like they're supposed to. Thanks. On Wed, Mar 15, 2006 at 12:32:57PM -0800, Wayne Davison wrote: > On Wed, Mar 15, 2006 at 11:41:26AM -0600, Steve Sether wrote: > > I've gotte

Still getting a generator hang on 2.6.7

2006-03-15 Thread Steve Sether
I've gotten around to testing the generator hang bug using stunnel under 2.6.7, and I still occasionally get the same problem. It seems to be around 50% of the time. Here's some strace output from the generator and receiver from two runs, one where the generator exits properly, and one where it d

rsync plus cygwin: language problems with filenames

2006-03-14 Thread Steve Sether
I thought the problem was that cygwin doesn't support unicode. See here: http://lists.samba.org/archive/rsync/2002-September/003643.html The post is rather old, but for whatever reason the cygwin folks haven't added unicode support. You'll also see this problem manifest itself as a limit in the

rsync logging

2006-02-27 Thread Steve Sether
--- Philippe BEAU wrote: > I would like to know for each module i define in my rsyncd.conf (on my > backup server side) if it is possible to have the transfer logging (host, > ip address, ...) in my mysql server or in a separate log file for each > module. You can also use my patch for ODBC datab

any estimate for 2.6.7?

2006-02-08 Thread Steve Sether
I'd like to patch the generator hang bug recently fixed in my production environment, but it'd be nice to know if a 2.6.7 release is just around the corner. Do you have any kind of estimate on a release date Wayne? I don't care about specifics, but a general idea (a couple weeks, or a couple mo

generator hanging when used with stunnel

2005-12-10 Thread Steve Sether
I'm working on the problem I'm having with the generator hanging on the server when the client side dies. This only happens when I'm connecting through stunnel. This is the strace output I'm getting, but I'm not sure how to interpret the output. Can anyone help? write(4, "2005/10/03 13:58:12 [1

Re: probbable generator hang bug in rsync

2005-10-03 Thread Steve Sether
00c1978}, {0x401ddb30, [CHLD], SA_RESTORER|SA_RESTART, 0x400c1978}, 8) = 0 sigreturn() = ? (mask now [RTMIN]) select(4, NULL, [3], NULL, {60, 0}) = 0 (Timeout) select(4, NULL, [3], NULL, {60, 0}) = 0 (Timeout) On Sat, Sep 24, 2005 at 12:18:35AM -0700, Wayne Davi

probbable generator hang bug in rsync

2005-09-21 Thread Steve Sether
>The problem dissapeared since i've setup a second module on rsync daemon. >Maybe it finally is an rsync related problem? Strange. I have about 10 modules configured and I still get this problem. Any advice on finding out what's going on Wayne? -- To unsubscribe or change options: https://lists.

Re: probbable generator hang bug in rsync

2005-09-15 Thread Steve Sether
> Wow, that's unexpected. I had thought that the connection from the > stunnel process to the rsync process would have been a normal (albeit > local) socket connection. Perhaps it is not? Or perhaps there is a bug > that got triggered by this setup. The way rsync works, it has two > separate pr

Re: probbable generator hang bug in rsync

2005-09-12 Thread Steve Sether
rator dies like it's supposed to, so there's defintely something funny going on. On Mon, Sep 12, 2005 at 12:04:42PM -0700, Wayne Davison wrote: > On Fri, Sep 09, 2005 at 08:53:48PM -0500, Steve Sether wrote: > > The generator process on an rsync server seems to get stuck in &

probbable generator hang bug in rsync

2005-09-09 Thread Steve Sether
I've noticed this problem for a while and thought it was my own changes to rsync causing them. I've recently done some tests with vanilla versions of rsync though, and found the same problem. Here's the details. The generator process on an rsync server seems to get stuck in an infinite loop a

rsync process life cycle

2005-08-29 Thread Steve Sether
I'm working with my ODBC database logging patch again, and I need some information on how rsync process management works. Essentially I need to close the database connection on a daemon process right before the last process (be it receiver or generator) exits. My question is, which process kills

Close list to outsider's posts?

2005-05-20 Thread Steve Sether
On Fri 20 May 2005, Shachar Shemesh wrote: > > I'm assuming that Wayne is the obvious destination for this request. Can > we make the mailing list reject emails from non-subscribers? This would > drastically reduce the amount of spam we receive. I don't subscribe to the list, but occasionally r

Re: help me understand keepalive..

2005-05-18 Thread Steve Sether
That patch works perfectly. Thanks! On Wed, May 18, 2005 at 04:36:55PM -0700, Wayne Davison wrote: > On Wed, May 18, 2005 at 11:23:38AM -0500, Steve Sether wrote: > > But it looks to me like last_io is reset on the sender side every > > time it receives a packet (as well as

Re: help me understand keepalive..

2005-05-18 Thread Steve Sether
I don't think it's the blocksize. I'm still not terribly familiar with the inner workings of rsync, but from what I see maybe_send_keepalive() is never sending a keepalive on the sender side. It looks like the test in maybe_send_keepalive() is never passed. Right now that test is: if (time(NULL)

Re: help me understand keepalive..

2005-05-15 Thread Steve Sether
:46:01AM -0500, Steve Sether wrote: > > I applied this patch to 2.6.5pre1 and recompiled both sides > > and am still getting the same error. My timeout is set to > > 59 seconds. > > Hmm, it appears that your timeout is set in the server's config file, > not v

Re: help me understand keepalive..

2005-05-15 Thread Steve Sether
I applied this patch to 2.6.5pre1 and recompiled both sides and am still getting the same error. My timeout is set to 59 seconds. Do you want strace output again? On Sat, May 14, 2005 at 12:50:40PM -0700, Wayne Davison wrote: > On Sat, May 14, 2005 at 12:28:20PM -0700, Wayne Davison wrote: > >

Re: help me understand keepalive..

2005-05-13 Thread Steve Sether
> Maybe. You must be using at least 2.6.4 on both ends of the connection > and not overriding the protocol version below 29. (You can see what > protocol was negotiated by specifying at least four -v options.) If the > remote system has multiple versions of rsync installed, perhaps it is > runni

help me understand keepalive..

2005-05-12 Thread Steve Sether
I'm not sure keepalive is working the way I think it's supposed to. Here's my test. I've got a large file (approx 1 gig) on the rsync server, and I append a character on the end to make it slightly different. I fire up rsync on the client side and everything works fine until I hit the timeout val

rsync doesn't delete unreferenced directories.

2004-11-01 Thread Steve Sether
I'm using rsync to backup multiple directories, i.e. rsync -azq --delete --relative /dog /cat /fish [EMAIL PROTECTED]::modulename Everything works fine, except if I remove a directory from the list of those being backed up, it isn't deleted on the other side. For example: rsync -azq --delete --r

ODBC database logging for rsync

2004-04-06 Thread Steve Sether
these databases are completely untested (i.e. I don't have any of these databases). I still need to write some documentation of new run-time config options. Thanks. -Steve Sether -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http