KX Community

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

Home Forums kdb+ q console error causes other client connections to hang

  • q console error causes other client connections to hang

    Posted by RVR on January 8, 2022 at 12:00 am

    Hello experts,

    Use below steps to replicate this issue.

    • Start new kdb+ process.
    C:qw32q.exe
    • Make the process listen to port 10000.
    p 10000
    • Create a variable and assign some value.
    a:10
    • Start a new kdb+ process which listens on port 10001
    C:qw32q.exe -p 10001
    • Open a connection to the first kdb+ process.
    h:hopen `::10000
    • Make sure we can execute requests on the first kdb+ process.
    h"a" 10 // Successfully able to access the variable a in the first kdb+ process.
    • Force an error in the first kdb+ process  with below commands.
    counter:{k+1} counter[] // This causes below error 'k [1] counter:{k+1}
    • In the first kdb+ process, the q CLI shows two brackets like below.
    q))
    • Now send a command from 2nd kdb+ process to the first.
    h"a"

    This command hangs and I have to restart the first kdb+ process.

    Is this expected behavior?

    System Details:

    Windows – KDB+ 3.6 2019.04.02 (kdb+ 32bit edition)

    RVR replied 8 months, 1 week ago 2 Members · 1 Reply
  • 1 Reply

Log in to reply.