Subject Re: fb_inet_server.exe -h switch?
Author Dmitry Yemanov
23.03.2012 13:36, Kjell Rilbe wrote:
>
>> FWIW: Simple test case on a freshly restarted Win 7 with FB 2.5.2
>> Snapshot 64-bit Classic running as a service. While the first two get
>> unique socket handles, the third is already duplicated. According to
>> Process Explorer, I end up with the following:
>>
>> -i -h 560@1512
>> -i -h 552@1512
>> -i -h 560@1512
>>
>> Don't know if this can cause any troubles. ;-)
>
> I have similar with (almost) freshly started 2.1.4 64 bit:
>
> -i -h 496@4960
> -i -h 484@4960
> -i -h 496@4960
>
> Something wrong?

I don't think so. Perhaps it's just Windows reusing handle values sooner
rather than later. This handle is closed as soon as the new worker
process has accepted the connection.


Dmitry