KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ KDB Tick with ‘conn error Re: KDB Tick with ‘conn error

  • rocuinneagain

    Member
    October 4, 2022 at 12:00 am

    https://code.kx.com/q/basics/errors/#:~:text=conn,connections%20(1022%20max)

    The conn error happens when the limit of 1022 open connections is hit.

    Some process(es)  must be continuously opening handles but not closing them after use.

    You can count .z.W  at any time to see how many open handles there are.

    -38! can give you information on the type of each open handle.

    At any time you can force close handles using hclose.

     

    To trace the source of the problem you can add logging and monitoring to the port open and close call-backs,  .z.po and .z.pc.

    One example is the dotz library which you can customise to your needs.