locked
EventHub Exception :Cannot allocate more handles to the current session or connection RRS feed

  • Question

  • Hi,

    I have C# console application through which I am sending data to event hub frequently.This console application basically read some data from SQL storage and start pushing data to event hub.

    This entire program run in endless loop/fashion  like in while control whenever it receive any data in SQL it pulls data from there and start sending to Event hub.

    But at some moment I got this error.

    "Cannot allocate more handles to the current session or connection.The maximum number of handles allowed is 4999.Please free up resources any try again. at Microsoft.ServiceBus.Common......

    When I restarted this console application its working fine.But I don't know why I got this error . 

    Please help me.

    Thanks & Regards,

    RK

     

    Thursday, April 21, 2016 9:51 AM

All replies