-
Question about TCP and IPC handles limit
I use CsharpKDB to talk to KDB+ and found an issue to keep too many connection/handle to the port. Seems there is a limit that I cannot keep adding connections to more than 1008. And CsharpKDB c.close() doesn’t appears to reduce the existing open connections.
It is easy to demo using IPC:
on server side:
>q.exe -p 5001
q)count .z.H
0at client side:
>q
q)h:hopen::5001<br><span style="background-color: var(--bb-content-background-color); font-family: inherit; font-size: inherit; color: var(--bb-body-text-color);">q){h:hopen
::12345} each til 1009‘hop. OS reports: An existing connection was forcibly closed by the remote host.
The server side will pop error ‘conn as well.
Is this limit of 1008 an OS setting or q.exe limit? Anyway to work around it?Thanks,
Ning
Log in to reply.