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/01/22 17:25:37 UTC

[GitHub] bputt opened a new issue #3402: OutOfDirectMemoryError

bputt opened a new issue #3402: OutOfDirectMemoryError
URL: https://github.com/apache/pulsar/issues/3402
 
 
   **Describe the bug**
   We're using a proxy to connect to our pulsar cluster and the proxy was failing to send messages to our broker. The error on the broker is:
   
   ```
   WARN io.netty.channel.ChannelInitializer - Failed to initialize a channel. Closing: [id: .... ]
   io.netty.util.internal.OutOfDirectMemoryError: failed to allocated 866 byte(s) of direct memory (used: 4Gb, max: 4Gb)
   at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:640)
   at io.netty.util.internal.PlatformDependent.allocatedDirectNoCleaner(PlatformDependent.java:594)
   ...
   ```
   
   **Expected behavior**
   I'd expect the proxy to send data to another broker, but I also don't see why this broker would have an OOM when it should be persisting to disk for the most part?
   
   **Desktop (please complete the following information):**
   CentOS 7.6
   Pulsar 2.2.1
   
   **Additional context**
   ```-Xms4g =X,x16g -XX:MaxDirectMemorySize=4g```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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