Re: Weird issue with hastd(8)

2011-06-27 Thread Pawel Jakub Dawidek
On Sat, Jun 25, 2011 at 05:54:13PM +0300, Mikolaj Golub wrote: > For me the idea to send updates to secondary only via > synchronization thread, starting it periodically looks > interesting. Sure it should not be the replacement for "real" > async mode, but having something like this in hast apart

Re: Weird issue with hastd(8)

2011-06-25 Thread Mikolaj Golub
On Fri, Jun 3, 2011 at 11:26 AM, Maxim Sobolev wrote: > > I would also like to get your input on my two other patches - randomization > of the synchronization pattern and ad-hoc asynchronous more. Hastd appears > extremely useful to synchronize large virtual disks over slow links without > taking

Re: Weird issue with hastd(8)

2011-06-04 Thread Maxim Sobolev
Mikolaj, Upon further investigation it appears that there is a logic mistake in hastd's server/client buffering code. I've just applied a fix and it immediately solved the issue for me. Please see r222688 for details. I plan to MFC it ASAP, as otherwise hastd is not functional when compressi

Re: Weird issue with hastd(8)

2011-06-03 Thread Daniel Kalchev
On 03.06.11 11:26, Maxim Sobolev wrote: On 5/29/2011 4:11 AM, Mikolaj Golub wrote: This might be MSG_WAITALL issue I described on net@ (look for the thread "recv() with MSG_WAITALL might stuck when receiving more than rcvbuf", and also kern/154504). Could you please try the patch? http://p

Re: Weird issue with hastd(8)

2011-06-03 Thread Maxim Sobolev
On 5/29/2011 4:11 AM, Mikolaj Golub wrote: This might be MSG_WAITALL issue I described on net@ (look for the thread "recv() with MSG_WAITALL might stuck when receiving more than rcvbuf", and also kern/154504). Could you please try the patch? http://people.freebsd.org/~trociny/uipc_socket.c.patc

Re: Weird issue with hastd(8)

2011-05-29 Thread Mikolaj Golub
On Wed, 25 May 2011 11:21:04 -0700 Maxim Sobolev wrote: MS> Hi Pawel, MS> I am observing strange errors while synchronizing the data between MS> primary and secondary. I keep getting the following error messages: MS> May 25 11:09:19 eights hastd[10113]: [test] (secondary) Unable to MS> rec

Re: Weird issue with hastd(8)

2011-05-25 Thread Maxim Sobolev
On 5/25/2011 12:07 PM, Daniel Gerzo wrote: I can only confirm this behavior. I have already reported this to Mikolaj and we are trying to hunt down the problem. I have started observing suddenly after some update. Unfortunately I haven't noted which revision I started to observe this bug ;( Do y

Re: Weird issue with hastd(8)

2011-05-25 Thread Daniel Gerzo
On 25.5.2011 20:24, Maxim Sobolev wrote: On 5/25/2011 11:21 AM, Maxim Sobolev wrote: Hi Pawel, I am observing strange errors while synchronizing the data between primary and secondary. I keep getting the following error messages: May 25 11:09:19 eights hastd[10113]: [test] (secondary) Unable t

Re: Weird issue with hastd(8)

2011-05-25 Thread Maxim Sobolev
On 5/25/2011 11:21 AM, Maxim Sobolev wrote: Hi Pawel, I am observing strange errors while synchronizing the data between primary and secondary. I keep getting the following error messages: May 25 11:09:19 eights hastd[10113]: [test] (secondary) Unable to receive request header: Socket is not co

Weird issue with hastd(8)

2011-05-25 Thread Maxim Sobolev
Hi Pawel, I am observing strange errors while synchronizing the data between primary and secondary. I keep getting the following error messages: May 25 11:09:19 eights hastd[10113]: [test] (secondary) Unable to receive request header: Socket is not connected. May 25 11:09:24 eights hastd[3757