Hi,

I’m using Geode (1.7.0)  locally (OSX) and on a server.  (Linux Arm64)

On both I’m seeing maxed out CPUs.

I’ve profiled it locally on a dormant server instance (no application activity) 
and the Async Queue routines are the highest contributor to CPU activity by a 
long stretch. 



Back Traces - Method    Total Time [%]  Total Time [µs] Total Time (CPU)        
Samples
org.apache.geode.internal.cache.wan.serial.SerialGatewaySenderQueue.getHeadKey()
100.00% 2829377292      2829377292      8639
.org.apache.geode.internal.cache.wan.serial.SerialGatewaySenderQueue.getCurrentKey()
0.00%   0       0       8639
..org.apache.geode.internal.cache.wan.serial.SerialGatewaySenderQueue.peekAhead()
0.00%   0       0       8263
...org.apache.geode.internal.cache.wan.serial.SerialGatewaySenderQueue.peek()
1.21%   9906300 9906300 8180
....org.apache.geode.internal.cache.wan.AbstractGatewaySenderEventProcessor.processQueue()
100.00% 1144915695      1144915695      5
.....org.apache.geode.internal.cache.wan.serial.SerialGatewaySenderEventProcessor.run()
0.00%   0       0       5


How can I determine if this is a problem with my setup or if it is a bug?

A supposition:  I notice that there are multiple instances of a thread named 
after my Async Event queue ID

Event Processor for GatewaySender_AsyncEventQueue_expiry-event-queue.1
Event Processor for GatewaySender_AsyncEventQueue_expiry-event-queue.2
Event Processor for GatewaySender_AsyncEventQueue_expiry-event-queue.3
Event Processor for GatewaySender_AsyncEventQueue_expiry-event-queue.4

Are there supposed to be 4?  are they interfering with each other (wait/notify) 
on an empty queue? 

Thanks for any insight

Rob

Reply via email to