Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.5.0
-
None
-
None
-
Windows xp service pack 3, ActiveMQ broker 5.3.1, apr 1.4.2, apr-util 1.3.9, apr iconv 1.2.1
Description
The number of CMS threads increases when we restart the message broker repeatedly. We have ten senders and ten receivers in out test. Every sender sends out 10-20 messages every second. We restart the broker every 1 minute. The number of threads in CMS grew from about 50 to 600 after about 15 hours of testing. The attached dump was created after we ran two hours of test. From the dump we find a large number of threads are stuck at the following place:
Function Source
ntdll!KiFastSystemCallRet
ntdll!ZwWaitForSingleObject+c
kernel32!WaitForSingleObjectEx+a8
kernel32!WaitForSingleObject+12
activemq_cppud!decaf::internal::util::concurrent::PlatformThread::interruptibleWaitOnCondition+25
activemq_cppud!`anonymous namespace'::threadEntryMethod+9b
msvcr80d!_callthreadstartex+51
msvcr80d!_threadstartex+87
kernel32!BaseThreadStart+37
Attachments
Attachments
Issue Links
- depends upon
-
AMQCPP-461 Create Thread objects that aren't started can leak their suspended thread on destroy.
- Resolved