kenwjj
kenwjj

Reputation: 341

What happens when you don't do a hclose after a hopen in KDB+

What happens when you don't close a hopen handle with a hclose?

h:hopen `:mydb.us.com:5010

Will the connection pool eventually run out or will KDB automatically close those that are inactive after awhile?

Regards,

Just Beginning

Upvotes: 3

Views: 1161

Answers (1)

MdSalih
MdSalih

Reputation: 1996

The connection pool will eventually run out. You can have a maximum of 1022 open connection handles (incoming and outgoing).

There is a max of 8192 open file handles too.

Upvotes: 6

Related Questions