/[Apache-SVN]
ViewVC logotype

Revision 1737852


Jump to revision: Previous Next
Author: aconway
Date: Tue Apr 5 16:13:24 2016 UTC (7 years, 11 months ago)
Changed paths: 8
Log Message:
QPID-7149: Active HA broker memory leak

The leak was caused by the sys::Poller. When two pollers run in the same process
and one is idles, PollerHandles accumulate on the idle poller threads and are
never released. The HA broker uses the qpid::messaging API to get initial status from
other brokers. The messaging API creates a separate Poller from the broker.

The fix is to shut down the qpid::messaging poller as soon as initial status
checks are complete so it does not interfere with the broker's Poller.

Changed paths

Path Details
Directoryqpid/trunk/qpid/cpp/include/qpid/messaging/shutdown.h added
Directoryqpid/trunk/qpid/cpp/src/CMakeLists.txt modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/client/ConnectionImpl.cpp modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/client/ConnectionImpl.h modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/ha/StatusCheck.cpp modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/ha/StatusCheck.h modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/messaging/amqp/DriverImpl.cpp modified , text changed
Directoryqpid/trunk/qpid/cpp/src/qpid/messaging/shutdown.cpp added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26