Hi, William.

Am 26.10.2018 um 17:41 schrieb William Lallemand:
> On Fri, Oct 26, 2018 at 05:13:00PM +0200, Aleksandar Lazic wrote:
>> Hi William.
>>
>> Sorry for my lack of knowledge and my curiosity, you know I'm always curious
>> ;-), but for which usecase can I use this feature?
>>
>> Best regards.
>>
>> Aleks
>>
>>
>  
> Hi Aleks,
> 
> With a nbproc setup, the first goal is to be able to access multiple stats
> sockets from one socket.

Ah yes, you are right ;-)

> In a more "modern" nbthread setup, it's possible to have only one worker, but
> we still fork a new process upon a reload.
> The problem is that at the moment it's not possible to connect to the stats
> socket of a process which is leaving. Sometimes it's really useful to debug 
> and
> see the session which are still connected on the old process. And that's the
> ultimate goal of this feature (not covered yet, but soon :-) )

Wow, yes. I haven't used nb(thread|proc) at debug time so I have never needed
such a feature.

BTW what's nb in "nb(thread|proc)"?

[ ] No block
[ ] never been
[ ] real answer, something in french ;-):

> It also implements a "show proc" which lists the PIDs of the processes.

That's also great.

cheers
Aleks

Reply via email to