You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Erkan (JIRA)" <ji...@apache.org> on 2011/04/13 11:23:05 UTC

[jira] [Created] (AMQ-3281) Messages stuck

Messages stuck
--------------

                 Key: AMQ-3281
                 URL: https://issues.apache.org/jira/browse/AMQ-3281
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.0
         Environment: Linux and Windows
            Reporter: Erkan
            Priority: Blocker


Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:

http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

and this some of them:

http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422587#comment-13422587 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

@Edwin, if you can produce a junit test case that reproduces >60% of the time, it would be a great start.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Sree Panchajanyam D (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108472#comment-13108472 ] 

Sree Panchajanyam D commented on AMQ-3281:
------------------------------------------

Please increase the consumer heap size to solve this issue. If you have huge number of producers run concurrent consumers.

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112602#comment-13112602 ] 

Erkan commented on AMQ-3281:
----------------------------

I extend it but that didn't help.

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.x
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112634#comment-13112634 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

you have got to ask the computer. Do a test with that new option enabled using a 5.6-SNAPSHOT

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457835#comment-13457835 ] 

Claus Ibsen commented on AMQ-3281:
----------------------------------

Any update on a test case?
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.8.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059887#comment-13059887 ] 

Erkan commented on AMQ-3281:
----------------------------

I don't have any idea how we can resolve this problem.

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143069#comment-13143069 ] 

Erkan commented on AMQ-3281:
----------------------------

I uploded the log file with which 124 messages stuck. The messages stuck only after a failover process.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: activemq.log
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Johno Crawford (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236670#comment-13236670 ] 

Johno Crawford commented on AMQ-3281:
-------------------------------------

Can you provide your activemq.xml?
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: activemq.log
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13059917#comment-13059917 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

If you can produce a test case, there is some chance that we can investigate, without that it is impossible to know what is going on.

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113227#comment-13113227 ] 

Erkan edited comment on AMQ-3281 at 9/23/11 8:04 AM:
-----------------------------------------------------

I tested it with the 5.6-SNAPSHOT and it is the same effect. I get the following warnings:

WARN  | Transport failed: java.io.EOFException
WARN  | Transport failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport
WARN  | Transport failed: java.net.SocketException: Software caused connection abort: socket write error | org.apache.activemq.broker.TransportConnection.Transport Async Exception Handler
WARN  | Duplicate message add attempt rejected. Destination:


Can be the duplicate messages the reason so that the duplicate messages can not be consume so they stuck in queue?

      was (Author: lernit.2007):
    I tested it with the 5.6-SNAPSHOT and it is the same effect. I get the following warnings:

WARN  | Transport failed: java.io.EOFException
WARN  | Transport failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport
WARN  | Transport failed: java.net.SocketException: Software caused connection abort: socket write error | org.apache.activemq.broker.TransportConnection.Transport Async Exception Handler
WARN  | Duplicate message add attempt rejected. Destination:


Can be the duplicate messages the reason so that the duplicate messages can not be consume?
  
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erkan updated AMQ-3281:
-----------------------

         Priority: Critical  (was: Blocker)
    Fix Version/s:     (was: 5.x)
                   5.6.0

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edwin Yu updated AMQ-3281:
--------------------------

    Attachment: debug.zip
    
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Sree Panchajanyam D (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113179#comment-13113179 ] 

Sree Panchajanyam D commented on AMQ-3281:
------------------------------------------

Do you notice any errors on ActiveMQ or consumer?

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457929#comment-13457929 ] 

Edwin Yu commented on AMQ-3281:
-------------------------------

Hi Claus, I spent a day writing a unit test.  The unit test performed very well and seemed solid.  The issue only happens in our production system, where we also embedded Mule, Quartz, Spring, Hibernate, etc.  It's hard to simulate the right environment in a unit test.  Also, when I allocated more memory to the JVM, and switched to use parallel gc, the issue seemed to happen lot less frequently.  I tend to think that when a long full GC kicks in and application threads are stopped momentarily, it may trigger this issue to occur, but I cannot prove it.
Regards.

                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.8.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137207#comment-13137207 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

I wonder if this is your problem https://issues.apache.org/jira/browse/AMQ-3568
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edwin Yu updated AMQ-3281:
--------------------------

    Attachment: debug.zip

Attach screenshot of my code debugging session.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Pavithra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108189#comment-13108189 ] 

Pavithra commented on AMQ-3281:
-------------------------------

We see a similar problem. 

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135824#comment-13135824 ] 

Erkan commented on AMQ-3281:
----------------------------

Gary,

I will do that until friday and then upload it.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Sree Panchajanyam D (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109280#comment-13109280 ] 

Sree Panchajanyam D commented on AMQ-3281:
------------------------------------------

if you are starting the system as a java process from a .sh or a .bat supply xms and xmx parameters. http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html this could yu better info.
If you are starting it from an IDE like eclipse supply VM parameters in run configurations.
I am not sure about .Net clients.


> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.x
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Sree Panchajanyam D (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108475#comment-13108475 ] 

Sree Panchajanyam D commented on AMQ-3281:
------------------------------------------

Malcolm it would be great if you could report these two bugs on a different issue/thread. These are diffent from messages not getting dequeued.


> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112624#comment-13112624 ] 

Erkan commented on AMQ-3281:
----------------------------

Can be that the reason?

https://issues.apache.org/jira/browse/AMQ-2484


> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422474#comment-13422474 ] 

Edwin Yu commented on AMQ-3281:
-------------------------------

Hello, I encountered this issue as well with ActiveMQ 5.6.0.  I attached some debugging screenshots to this issue.  
In my case, the messages are consumed fine during normal operation.  It *seems* when JVM becomes busy doing gc, message(s) can be left in the queue forever until the server is restarted.  It's not 100% reproducible but does occur.  In the JConsole screenshot, you see ConsumerCount=1, InFlightCount=0, and QueueSize=1.  A message is left unconsumed.
I debugged the ActiveMQ library code.  Please see the debug-1.png and debug-2.png.  A thread regularly iterates through the queue, finds the pending messages, and tries to page in messages from kaha db store by filling a batch.  However, AbstractStoreCursor.fillBatch() doesn't  execute doFillBatch().  And the execution thread finishes without dispatching the pending message to the consumer.
I don't know what the expected behavior should be, and I don't know if I were debugging the wrong part of the ActiveMQ code.  ActiveMQ engineers, please let me know where else I should debug to help identify the problem. Thanks.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "malcolm davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073018#comment-13073018 ] 

malcolm davis commented on AMQ-3281:
------------------------------------

We see a similar problem.  

Queue Block: (only seen in production, unable to recreate)
* Producer: Transactional, Session.CLIENT_ACKNOWLEDGE
* Queue: Single consumer thread reading the queue.
* The queue blocks when under load (receive()) does not work.  We are not sure if this is a memory or CPU issue.
* The queue will eventually recover.


Queue going to a single consumer on restart: (easy to recreate)
* Create a queue with multiple consumers.
* Stick a lot of messages on the queue, with consumers slowly pulling messages.
* Restart ActiveMQ while messages are still on the queue.
* All existing messages on the queue go to a single consumer.
* New messages pushed to the queue are distributed to the other consumers as expected.


> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erkan updated AMQ-3281:
-----------------------

    Fix Version/s: 5.6.0

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Erkan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erkan updated AMQ-3281:
-----------------------

    Attachment: activemq-jdbc.xml
                activemq.xml

In activemq xml we refence to the activemq jdbc.xml. The both configuration files are from server side not client side.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422784#comment-13422784 ] 

Edwin Yu commented on AMQ-3281:
-------------------------------

@Gary, yes, org.apache.activemq.broker.region.cursors.AbstractStoreCursor#storeHasMessages is false in my case.  When I manually set this variable to true in my debugging session, the execution continued into KahaDBStore but didn't get any message back from the BTree (in sd.orderIndex).
I will try to create a test case hopefully to reproduce this issue easily.
Best regards.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135083#comment-13135083 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

Erkan, can you attach the log files from a 5.6-SNAPSHOT.
Add the following to your log4j.properties:
{code}log4j.logger.org.apache.activemq.broker.region.cursors.AbstractStoreCursor=TRACE
log4j.logger.org.apache.activemq.broker.region.PrefetchSubscription=TRACE{code}
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113227#comment-13113227 ] 

Erkan commented on AMQ-3281:
----------------------------

I tested it with the 5.6-SNAPSHOT and it is the same effect. I get the following warnings:

| WARN  | Transport failed: java.io.EOFException
WARN  | Transport failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport
WARN  | Transport failed: java.net.SocketException: Software caused connection abort: socket write error | org.apache.activemq.broker.TransportConnection.Transport | Async Exception Handler
WARN  | Duplicate message add attempt rejected. Destination:


Can be the duplicate messages the reason so that the duplicate messages can not be consume?

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422585#comment-13422585 ] 

Gary Tully commented on AMQ-3281:
---------------------------------

@Edwin

you are in the right space. is it org.apache.activemq.broker.region.cursors.AbstractStoreCursor#storeHasMessages that is false?
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Edwin Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edwin Yu updated AMQ-3281:
--------------------------

    Attachment:     (was: debug.zip)
    
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.7.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated AMQ-3281:
-----------------------------

    Fix Version/s:     (was: 5.7.0)
                   5.8.0
    
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.8.0
>
>         Attachments: activemq-jdbc.xml, activemq.log, activemq.xml, debug.zip
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113227#comment-13113227 ] 

Erkan edited comment on AMQ-3281 at 9/23/11 7:43 AM:
-----------------------------------------------------

I tested it with the 5.6-SNAPSHOT and it is the same effect. I get the following warnings:

WARN  | Transport failed: java.io.EOFException
WARN  | Transport failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport
WARN  | Transport failed: java.net.SocketException: Software caused connection abort: socket write error | org.apache.activemq.broker.TransportConnection.Transport Async Exception Handler
WARN  | Duplicate message add attempt rejected. Destination:


Can be the duplicate messages the reason so that the duplicate messages can not be consume?

      was (Author: lernit.2007):
    I tested it with the 5.6-SNAPSHOT and it is the same effect. I get the following warnings:

| WARN  | Transport failed: java.io.EOFException
WARN  | Transport failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport
WARN  | Transport failed: java.net.SocketException: Software caused connection abort: socket write error | org.apache.activemq.broker.TransportConnection.Transport | Async Exception Handler
WARN  | Duplicate message add attempt rejected. Destination:


Can be the duplicate messages the reason so that the duplicate messages can not be consume?
  
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AMQ-3281) Messages stuck

Posted by "Erkan (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erkan updated AMQ-3281:
-----------------------

    Attachment: activemq.log

By this log file 124 messages was stuck.
                
> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Critical
>             Fix For: 5.6.0
>
>         Attachments: activemq.log
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3281) Messages stuck

Posted by "Erkan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108737#comment-13108737 ] 

Erkan commented on AMQ-3281:
----------------------------

Can you please say how we can increase the consumer heap size?

> Messages stuck
> --------------
>
>                 Key: AMQ-3281
>                 URL: https://issues.apache.org/jira/browse/AMQ-3281
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.0
>         Environment: Linux and Windows
>            Reporter: Erkan
>            Priority: Blocker
>             Fix For: 5.x
>
>
> Sometimes the messages stuck in queue and after restart of activemq then this messages redeliver to consumer. There are a lot of of topics:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> and this some of them:
> http://activemq.2283324.n4.nabble.com/Stuck-messages-Dispatch-issues-td2367852.html
> http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-td3244342.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira