2021.11.12 05:02 AM
Cannot write to handle 11. OS reports: Bad file descriptor
I'm using 64-bit 4.0 version for Linux.
The connection from HDB to RDB is intermittently released.
TP, RDB, and HDB are configured on one server, and the connection between TP and RDB is not disconnected, but the IPC of HDB and RDB is disconnected.
If this problem occurs, what areas should we look at?
Or is there a way to automatically reconnect by detecting disconnection?
2021.11.12 05:19 AM
Usually when you see this error it is due to one of:
There are handlers available in the .z namespace which are helpful to detect events on IPC handles:
These could be implemented to track and attempt to reconnect dropped connections.
(.z.W is a useful dictionary or current open handles)
There are some examples such as dotz which is a library building on these features to trace, monitor and control execution.
2021.11.12 05:19 AM
Usually when you see this error it is due to one of:
There are handlers available in the .z namespace which are helpful to detect events on IPC handles:
These could be implemented to track and attempt to reconnect dropped connections.
(.z.W is a useful dictionary or current open handles)
There are some examples such as dotz which is a library building on these features to trace, monitor and control execution.
2021.11.12 05:56 AM
Thanks for answer.
First of all, there is no code that explicitly performs hclose for each process, and Unix Domain Socket is being used when performing IPC.
I don't know why the above problem occurs on a localhost, not a remote.
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.