Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-25 Thread PiBa-NL
Hi Willy, Op 25-11-2017 om 8:33 schreef Willy Tarreau: Hi Pieter, On Tue, Nov 21, 2017 at 04:34:16PM +0100, PiBa-NL wrote: Hi William, I was intending to use the new feature to pass open sockets to the next haproxy process. And thought that master-worker is a 'requirement' to make that work

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-24 Thread Willy Tarreau
Hi Pieter, On Tue, Nov 21, 2017 at 04:34:16PM +0100, PiBa-NL wrote: > Hi William, > > I was intending to use the new feature to pass open sockets to the next > haproxy process. > And thought that master-worker is a 'requirement' to make that work as it > would manage the transferal of sockets. >

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-22 Thread PiBa-NL
Hi William, Found the 'crash?' i was talking about earlier again. Start haproxy like this:     haproxy -f /root/hap.conf -W -D -dk -q Then issues a USR2 to the master. (the first parent/zombie is already gone so thats good imho..) It will temporarily start new workers and then immediately

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-22 Thread PiBa-NL
Hi William, I'm not 100% sure but i think the stdout and errout files should be closed before process exit? It seems to me they are not. At least with the following php script it fails to 'read' where the output from haproxy ends and it keeps waiting. Without the -W it succeeds. Could you

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-21 Thread PiBa-NL
Hi William, I was intending to use the new feature to pass open sockets to the next haproxy process. And thought that master-worker is a 'requirement' to make that work as it would manage the transferal of sockets. Now i'm thinking thats not actually how its working at all.. I could

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-20 Thread William Lallemand
Hi, On Tue, Nov 21, 2017 at 02:13:24AM +0100, PiBa-NL wrote: > Hi List, > > I've got a startup script that essentially looks like the one below #1# > (simplified..) > When configured with master-worker, the first parent process 2926 as > seen in #2# keeps running. Yes, that's the expected

haproxy-1.8-rc4 - FreeBSD 11.1 - master-worker daemon parent staying alive/process-owner

2017-11-20 Thread PiBa-NL
Hi List, I've got a startup script that essentially looks like the one below #1# (simplified..) When configured with master-worker, the first parent process 2926 as seen in #2# keeps running. Doing the same without master-worker, the daemon properly detaches and the parent exits returning