You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bhanu (JIRA)" <ji...@apache.org> on 2012/07/03 11:20:11 UTC

[jira] [Created] (AMQ-3910) Send fails while using STOMP

Bhanu created AMQ-3910:
--------------------------

             Summary: Send fails while using STOMP
                 Key: AMQ-3910
                 URL: https://issues.apache.org/jira/browse/AMQ-3910
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.1
         Environment: linux, solaris
            Reporter: Bhanu


We're using STOMP 1.0 and broker 5.5.1. We see that sometimes while sending messages on stomp using perl client, the send calls fails. We are providing a high enough value so that the send does not timeout. It fails half a dozen times and eventually succeeds.

Digging in the STOMP module shows that this exception is thrown when the output buffer is unable to write all the data to the socket. Our message size is ~10-20mb. Can you please provide your expertise on why the socket is not ready sometimes to send the message.

Thanks,
Bhanu

--
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-3910) Send fails while using STOMP

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

Timothy Bish commented on AMQ-3910:
-----------------------------------

You could try turning on debug logging on the broker but you might want to also look into the perl client's code for debugging options.
                
> Send fails while using STOMP
> ----------------------------
>
>                 Key: AMQ-3910
>                 URL: https://issues.apache.org/jira/browse/AMQ-3910
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: linux, solaris
>            Reporter: Bhanu
>
> We're using STOMP 1.0 and broker 5.5.1. We see that sometimes while sending messages on stomp using perl client, the send calls fails. We are providing a high enough value so that the send does not timeout. It fails half a dozen times and eventually succeeds.
> Digging in the STOMP module shows that this exception is thrown when the output buffer is unable to write all the data to the socket. Our message size is ~10-20mb. Can you please provide your expertise on why the socket is not ready sometimes to send the message.
> Thanks,
> Bhanu

--
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-3910) Send fails while using STOMP

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

Timothy Bish commented on AMQ-3910:
-----------------------------------

Need more information here, are you saying that the Perl client is failing?  Have you check the broker logs to see what the broker is saying, is the broker configured to have enough memory to handle such large messages etc?  Can't help without more info. 
                
> Send fails while using STOMP
> ----------------------------
>
>                 Key: AMQ-3910
>                 URL: https://issues.apache.org/jira/browse/AMQ-3910
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: linux, solaris
>            Reporter: Bhanu
>
> We're using STOMP 1.0 and broker 5.5.1. We see that sometimes while sending messages on stomp using perl client, the send calls fails. We are providing a high enough value so that the send does not timeout. It fails half a dozen times and eventually succeeds.
> Digging in the STOMP module shows that this exception is thrown when the output buffer is unable to write all the data to the socket. Our message size is ~10-20mb. Can you please provide your expertise on why the socket is not ready sometimes to send the message.
> Thanks,
> Bhanu

--
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-3910) Send fails while using STOMP

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

Bhanu commented on AMQ-3910:
----------------------------

Yes the perl producer fails  to send the message. I've checked the logs and broker does not report anything amiss. Is there a special configuration for message size too? We have configured the system usage and heap limits to have pretty large values.
                
> Send fails while using STOMP
> ----------------------------
>
>                 Key: AMQ-3910
>                 URL: https://issues.apache.org/jira/browse/AMQ-3910
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: linux, solaris
>            Reporter: Bhanu
>
> We're using STOMP 1.0 and broker 5.5.1. We see that sometimes while sending messages on stomp using perl client, the send calls fails. We are providing a high enough value so that the send does not timeout. It fails half a dozen times and eventually succeeds.
> Digging in the STOMP module shows that this exception is thrown when the output buffer is unable to write all the data to the socket. Our message size is ~10-20mb. Can you please provide your expertise on why the socket is not ready sometimes to send the message.
> Thanks,
> Bhanu

--
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] [Closed] (AMQ-3910) Send fails while using STOMP

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

Timothy Bish closed AMQ-3910.
-----------------------------

    Resolution: Not A Problem

>From what I can tell this is a client issue.  Would need additional information and test cases to determine anything additional on this.
                
> Send fails while using STOMP
> ----------------------------
>
>                 Key: AMQ-3910
>                 URL: https://issues.apache.org/jira/browse/AMQ-3910
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: linux, solaris
>            Reporter: Bhanu
>
> We're using STOMP 1.0 and broker 5.5.1. We see that sometimes while sending messages on stomp using perl client, the send calls fails. We are providing a high enough value so that the send does not timeout. It fails half a dozen times and eventually succeeds.
> Digging in the STOMP module shows that this exception is thrown when the output buffer is unable to write all the data to the socket. Our message size is ~10-20mb. Can you please provide your expertise on why the socket is not ready sometimes to send the message.
> Thanks,
> Bhanu

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