Re: Early connection close, incomplete transfers

2019-02-20 Thread Veiko Kukk
On 2019-02-19 06:47, Willy Tarreau wrote: This is interesting. As you observed in the trace you sent me, the lighttpd server closes just after sending the response headers. This indeed matches the "SD" log that aproxy emits. If it doesn't happen in TCP mode nor with Nginx, it means that

Re: Early connection close, incomplete transfers

2019-02-18 Thread Willy Tarreau
Hi Veiko, On Thu, Feb 14, 2019 at 02:31:42PM +, Veiko Kukk wrote: > > On 2019-02-01 13:30, Veiko Kukk wrote: > > On 2019-02-01 12:34, Aleksandar Lazic wrote: > > > > > Do you have any errors in lighthttpds log? > > > > Yes, it has error messages about not being enable to write to socket. >

Re: Early connection close, incomplete transfers

2019-02-18 Thread Willy Tarreau
On Fri, Feb 15, 2019 at 09:31:35AM +0100, Aleksandar Lazic wrote: > Am 15.02.2019 um 08:47 schrieb Veiko Kukk: > > On 2019-02-14 18:29, Aleksandar Lazic wrote: > >>> Replaced HAproxy with Nginx for testing and with Nginx, not a single > >>> connection > >>> was interrupted, did millions of

Re: Early connection close, incomplete transfers

2019-02-15 Thread Aleksandar Lazic
Am 15.02.2019 um 08:47 schrieb Veiko Kukk: > On 2019-02-14 18:29, Aleksandar Lazic wrote: >>> Replaced HAproxy with Nginx for testing and with Nginx, not a single >>> connection >>> was interrupted, did millions of requests. >> >> In 1.9.4 are a lot of fixed added. >> please can you try your

Re: Early connection close, incomplete transfers

2019-02-14 Thread Veiko Kukk
On 2019-02-14 18:29, Aleksandar Lazic wrote: Replaced HAproxy with Nginx for testing and with Nginx, not a single connection was interrupted, did millions of requests. In 1.9.4 are a lot of fixed added. please can you try your tests with 1.9.4, thanks. Already did before writing my previous

Re: Early connection close, incomplete transfers

2019-02-14 Thread Aleksandar Lazic
Am 14.02.2019 um 15:31 schrieb Veiko Kukk: > > On 2019-02-01 13:30, Veiko Kukk wrote: >> On 2019-02-01 12:34, Aleksandar Lazic wrote: >> >>> Do you have any errors in lighthttpds log? >> >> Yes, it has error messages about not being enable to write to socket. >> >> Unrecoverable error writing to

Re: Early connection close, incomplete transfers

2019-02-14 Thread Veiko Kukk
On 2019-02-01 13:30, Veiko Kukk wrote: On 2019-02-01 12:34, Aleksandar Lazic wrote: Do you have any errors in lighthttpds log? Yes, it has error messages about not being enable to write to socket. Unrecoverable error writing to socket! errno 32, retries 12, ppoll return 1, send return

Re: Early connection close, incomplete transfers

2019-02-04 Thread Willy Tarreau
Hi Veiko, On Mon, Feb 04, 2019 at 01:52:28PM +, Veiko Kukk wrote: > I'm sure it happens with all versions we have tried: 1.6, 1.7, 1.9 (did not > try 1.8, because we have never used it in production and decided to switch > directly to 1.9), but how could we make sure it's caused by something

Re: Early connection close, incomplete transfers

2019-02-04 Thread Veiko Kukk
On 2019-02-01 17:02, Willy Tarreau wrote: Hi Veiko, Are you certain that 1.9 and 1.7 have the same issue ? I mean, you could be observing two different cases looking similar. If you're sure it's the same issue, it could rule out a number of parts that differ quite a lot between the two (idle

Re: Early connection close, incomplete transfers

2019-02-01 Thread Willy Tarreau
Hi Veiko, On Thu, Jan 31, 2019 at 09:29:43AM +, Veiko Kukk wrote: > Connections are getting closed during data transfer phase at random sizes on > backend. Sometimes just as little as 420 bytes get transferred, but usually > more is transferred before sudden end of connection. HAproxy logs

Re: Early connection close, incomplete transfers

2019-02-01 Thread Veiko Kukk
On 2019-02-01 12:34, Aleksandar Lazic wrote: Do you have any errors in lighthttpds log? Yes, it has error messages about not being enable to write to socket. Unrecoverable error writing to socket! errno 32, retries 12, ppoll return 1, send return -1 ERROR: Couldn't write header data to

Re: Early connection close, incomplete transfers

2019-02-01 Thread Aleksandar Lazic
Hi. Do you have any errors in lighthttpds log? Regards Aleks Urspr√ľngliche Nachricht Von: Veiko Kukk Gesendet: 1. Februar 2019 12:33:39 MEZ An: Aleksandar Lazic CC: haproxy@formilux.org Betreff: Re: Early connection close, incomplete transfers On 2019-01-31 12:57

Re: Early connection close, incomplete transfers

2019-02-01 Thread Veiko Kukk
On 2019-01-31 12:57, Aleksandar Lazic wrote: Willy have found some issues which are added in the code of 2.0 tree. Do you have a chance to test this branch or do you want to wait for the next 1.9 release? I tested stable 1.9.3 and 1.9 preview version Willy gave link here

Re: Early connection close, incomplete transfers

2019-01-31 Thread Aleksandar Lazic
Hi. Am 31.01.2019 um 10:29 schrieb Veiko Kukk: > HAproxy 1.9.3, but happens also with 1.7.10, 1.7.11. > > Connections are getting closed during data transfer phase at random sizes on > backend. Sometimes just as little as 420 bytes get transferred, but usually > more is transferred before

Early connection close, incomplete transfers

2019-01-31 Thread Veiko Kukk
HAproxy 1.9.3, but happens also with 1.7.10, 1.7.11. Connections are getting closed during data transfer phase at random sizes on backend. Sometimes just as little as 420 bytes get transferred, but usually more is transferred before sudden end of connection. HAproxy logs have connection