This problem is there in sync version also

-----Original Message-----
From: Dinesh Pathak [mailto:[email protected]] 
Sent: Wednesday, June 15, 2011 3:14 PM
To: [email protected]
Subject: Closing Non Blocking socket in Async Thrift Client

Hi,
   I am new to these mailing lists, so please let me know if this is the
right place to ask Thrift related questions. I am writing Async Thrift
Client, using Non Blocking Socket. When the client is  sending a lot of
requests to server, then it dies out saying "too many open files."  It
seems like AsyncClientManager does not close the socket. Is there any
way for the client to close socket in onComplete of callback. Also,
would like to confirm that client can send only one service at a time.
Thanks in advance.

Reply via email to