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 2020/04/29 01:47:14 UTC

[GitHub] [pulsar] sijie opened a new issue #6838: java.lang.OutOfMemoryError: GC overhead limit exceeded' is observed when creating producers on a non-existent topic

sijie opened a new issue #6838:
URL: https://github.com/apache/pulsar/issues/6838


   **Describe the bug**
   
    if we try to create producer for a non-existent topic the ProducerImpl object is hanging in the dump. Although producer creation fails but we see that ProducerImpl object corresponding to each producing action hanging in the dump. This behavior will lead to OOM in microservice which by mistake tries to produce consistently to a non-existent topic.


----------------------------------------------------------------
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



[GitHub] [pulsar] codelipenghui commented on issue #6838: java.lang.OutOfMemoryError: GC overhead limit exceeded' is observed when creating producers on a non-existent topic

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #6838:
URL: https://github.com/apache/pulsar/issues/6838#issuecomment-634438687


   @devprashantksinha Did you upgrade the Pulsar broker? #6879 makes some changes on the broker side.


----------------------------------------------------------------
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



[GitHub] [pulsar] devprashantksinha commented on issue #6838: java.lang.OutOfMemoryError: GC overhead limit exceeded' is observed when creating producers on a non-existent topic

Posted by GitBox <gi...@apache.org>.
devprashantksinha commented on issue #6838:
URL: https://github.com/apache/pulsar/issues/6838#issuecomment-634484208


   @codelipenghui : yes we have upgraded both client and pulsar chart components including broker to 2.5.2 . These are the steps I followed to reproduce : 
   
   1. Produce to a non existent topic from one of the application using pulsar-client 2.5.2.
   2. Take heap dump after producing we see a lot of instances of **ProducerImpl** in the dump being the top memory consumer. This might lead to OOM after some time.
   
   Ideally,  we should not see any ProducerImpl for a topic that doesn't exist. Right ?
   
   Please let me know if you need more info about the setup.                                                                                                                                         


----------------------------------------------------------------
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



[GitHub] [pulsar] devprashantksinha commented on issue #6838: java.lang.OutOfMemoryError: GC overhead limit exceeded' is observed when creating producers on a non-existent topic

Posted by GitBox <gi...@apache.org>.
devprashantksinha commented on issue #6838:
URL: https://github.com/apache/pulsar/issues/6838#issuecomment-634006722


   Hi, we are consuming your 2.5.2 release we still observe this issue. PulsarProducerImp is hanging in the dump as reported previously.


----------------------------------------------------------------
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