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 2022/06/10 02:47:28 UTC

[GitHub] [pulsar] gaozhangmin opened a new issue, #16002: [client] Pulsar Client stuck with reverseMemory

gaozhangmin opened a new issue, #16002:
URL: https://github.com/apache/pulsar/issues/16002

   Our environment encountered a producer client with memory limit set to 8MB stuck.
   the jstack info:
   ```
   cpu=60340268.05ms elapsed=5024193.73s tid=0x00007fbbc4001000 nid=0x427cc waiting on condition  [0x00007fbcd6eba000]
      java.lang.Thread.State: WAITING (parking)
   	at jdk.internal.misc.Unsafe.park(java.base@11.0.12/Native Method)
   	- parking to wait for  <0x0000000760d3c3a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
   	at java.util.concurrent.locks.LockSupport.park(java.base@11.0.12/LockSupport.java:194)
   	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.12/AbstractQueuedSynchronizer.java:2081)
   	at org.apache.pulsar.client.impl.MemoryLimitController.reserveMemory(MemoryLimitController.java:58)
   	at org.apache.pulsar.client.impl.ProducerImpl.canEnqueueRequest(ProducerImpl.java:811)
   	at org.apache.pulsar.client.impl.ProducerImpl.sendAsync(ProducerImpl.java:426)
   	at org.apache.pulsar.client.impl.ProducerImpl.internalSendAsync(ProducerImpl.java:321)
   	at org.apache.pulsar.client.impl.ProducerImpl.internalSendWithTxnAsync(ProducerImpl.java:392)
   	at org.apache.pulsar.client.impl.PartitionedProducerImpl.internalSendWithTxnAsync(PartitionedProducerImpl.java:243)
   	at org.apache.pulsar.client.impl.PartitionedProducerImpl.internalSendAsync(PartitionedProducerImpl.java:190)
   	at org.apache.pulsar.client.impl.TypedMessageBuilderImpl.sendAsync(TypedMessageBuilderImpl.java:103)
   	at 
   ```
   Then, We dumped the client memory for analysis, found the whole size is less than 8MB。Did we miss release memory limit somewhere?


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] gaozhangmin closed issue #16002: [client] Pulsar Client stuck with reverseMemory

Posted by GitBox <gi...@apache.org>.
gaozhangmin closed issue #16002: [client] Pulsar Client stuck with reverseMemory
URL: https://github.com/apache/pulsar/issues/16002


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org