You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/10 01:36:55 UTC

[GitHub] [pulsar] 18852996112 commented on issue #4240: c++ client too many files opens

18852996112 commented on issue #4240: c++ client too many files opens
URL: https://github.com/apache/pulsar/issues/4240#issuecomment-491123150
 
 
   > Error does not reproduce on MacOS with
   > 
   > ```java
   > for (int i = 0; i < 100; i++) {
   >     PulsarClient client = PulsarClient.builder()
   >             .serviceUrl("pulsar://localhost:6650")
   >             .build();
   > 
   >     Consumer<byte[]> consumer = client.newConsumer()
   >            .topic("my-topic")
   >            .subscriptionName("test")
   >            .subscribe();
   > 
   >     client.close();
   > }
   > ```
   
   In my last testing, i create connection and destroy the connection further slowly. Then  there's no that problem.  I think the season is OS keep the connection for some time.
   thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services