ActiveMQ error every 30 minutes -java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB












0















Our production environment has an ActiveMQ server and 4 machines connecting to it, both as producers and consumers.
Every 30 minutes, my ActiveMQ server logs display four lines(Corresponding to each of the four IPs connecting to the server)-



2018-11-18 11:32:19,081 | WARN  | Transport Connection to: tcp://{IP1_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP1_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP2_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP2_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP3_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP3_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP4_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP4_here}:52614@61616<br>


Please also note that the frequency of the above logs is 30 minutes.
We are not expecting our messages to get so big and all four machines send/receive different kinds of messages from different queues.



Another thing worth noticing is that the frame size 1140 MB is constant across all the logs.



Also, the server seems to be running fine for now and does not crash.
However, we have had a history of server crashing due to Out of memory issue. Hence, this issue is being analyzed carefully to eliminate it as a cause of any future OOM issue.



Why I suspect that the issue is at the server end and not the clients connecting to the AMQ server?

All four IPs run 6-8 different java programs connecting to the ActiveMQ server, which means I have 20-30 different java applications connecting to the server.
However, There are very consistently number of error messages every 30 minutes is only 4.



There are over 100000 messages being sent and received in a day. Our application logs do not show any error or warning corresponding to this. Thus, it is becoming very difficult to identify the cause of this warning or the message which caused this warning.
We are using ActiveMQ-5.10.0.










share|improve this question

























  • Looks like you have faulty client code, the log makes that pretty clear

    – Tim Bish
    Nov 21 '18 at 15:17











  • We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

    – Jijo Mathew
    Nov 23 '18 at 4:31
















0















Our production environment has an ActiveMQ server and 4 machines connecting to it, both as producers and consumers.
Every 30 minutes, my ActiveMQ server logs display four lines(Corresponding to each of the four IPs connecting to the server)-



2018-11-18 11:32:19,081 | WARN  | Transport Connection to: tcp://{IP1_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP1_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP2_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP2_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP3_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP3_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP4_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP4_here}:52614@61616<br>


Please also note that the frequency of the above logs is 30 minutes.
We are not expecting our messages to get so big and all four machines send/receive different kinds of messages from different queues.



Another thing worth noticing is that the frame size 1140 MB is constant across all the logs.



Also, the server seems to be running fine for now and does not crash.
However, we have had a history of server crashing due to Out of memory issue. Hence, this issue is being analyzed carefully to eliminate it as a cause of any future OOM issue.



Why I suspect that the issue is at the server end and not the clients connecting to the AMQ server?

All four IPs run 6-8 different java programs connecting to the ActiveMQ server, which means I have 20-30 different java applications connecting to the server.
However, There are very consistently number of error messages every 30 minutes is only 4.



There are over 100000 messages being sent and received in a day. Our application logs do not show any error or warning corresponding to this. Thus, it is becoming very difficult to identify the cause of this warning or the message which caused this warning.
We are using ActiveMQ-5.10.0.










share|improve this question

























  • Looks like you have faulty client code, the log makes that pretty clear

    – Tim Bish
    Nov 21 '18 at 15:17











  • We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

    – Jijo Mathew
    Nov 23 '18 at 4:31














0












0








0








Our production environment has an ActiveMQ server and 4 machines connecting to it, both as producers and consumers.
Every 30 minutes, my ActiveMQ server logs display four lines(Corresponding to each of the four IPs connecting to the server)-



2018-11-18 11:32:19,081 | WARN  | Transport Connection to: tcp://{IP1_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP1_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP2_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP2_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP3_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP3_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP4_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP4_here}:52614@61616<br>


Please also note that the frequency of the above logs is 30 minutes.
We are not expecting our messages to get so big and all four machines send/receive different kinds of messages from different queues.



Another thing worth noticing is that the frame size 1140 MB is constant across all the logs.



Also, the server seems to be running fine for now and does not crash.
However, we have had a history of server crashing due to Out of memory issue. Hence, this issue is being analyzed carefully to eliminate it as a cause of any future OOM issue.



Why I suspect that the issue is at the server end and not the clients connecting to the AMQ server?

All four IPs run 6-8 different java programs connecting to the ActiveMQ server, which means I have 20-30 different java applications connecting to the server.
However, There are very consistently number of error messages every 30 minutes is only 4.



There are over 100000 messages being sent and received in a day. Our application logs do not show any error or warning corresponding to this. Thus, it is becoming very difficult to identify the cause of this warning or the message which caused this warning.
We are using ActiveMQ-5.10.0.










share|improve this question
















Our production environment has an ActiveMQ server and 4 machines connecting to it, both as producers and consumers.
Every 30 minutes, my ActiveMQ server logs display four lines(Corresponding to each of the four IPs connecting to the server)-



2018-11-18 11:32:19,081 | WARN  | Transport Connection to: tcp://{IP1_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP1_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP2_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP2_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP3_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP3_here}:52614@61616<br>
2018-11-18 11:32:19,081 | WARN | Transport Connection to: tcp://{IP4_here}:52614 failed: java.io.IOException: Frame size of 1140 MB larger than max allowed 100 MB | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///{IP4_here}:52614@61616<br>


Please also note that the frequency of the above logs is 30 minutes.
We are not expecting our messages to get so big and all four machines send/receive different kinds of messages from different queues.



Another thing worth noticing is that the frame size 1140 MB is constant across all the logs.



Also, the server seems to be running fine for now and does not crash.
However, we have had a history of server crashing due to Out of memory issue. Hence, this issue is being analyzed carefully to eliminate it as a cause of any future OOM issue.



Why I suspect that the issue is at the server end and not the clients connecting to the AMQ server?

All four IPs run 6-8 different java programs connecting to the ActiveMQ server, which means I have 20-30 different java applications connecting to the server.
However, There are very consistently number of error messages every 30 minutes is only 4.



There are over 100000 messages being sent and received in a day. Our application logs do not show any error or warning corresponding to this. Thus, it is becoming very difficult to identify the cause of this warning or the message which caused this warning.
We are using ActiveMQ-5.10.0.







java activemq spring-jms






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 10:32







Jijo Mathew

















asked Nov 21 '18 at 6:38









Jijo MathewJijo Mathew

197111




197111













  • Looks like you have faulty client code, the log makes that pretty clear

    – Tim Bish
    Nov 21 '18 at 15:17











  • We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

    – Jijo Mathew
    Nov 23 '18 at 4:31



















  • Looks like you have faulty client code, the log makes that pretty clear

    – Tim Bish
    Nov 21 '18 at 15:17











  • We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

    – Jijo Mathew
    Nov 23 '18 at 4:31

















Looks like you have faulty client code, the log makes that pretty clear

– Tim Bish
Nov 21 '18 at 15:17





Looks like you have faulty client code, the log makes that pretty clear

– Tim Bish
Nov 21 '18 at 15:17













We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

– Jijo Mathew
Nov 23 '18 at 4:31





We have roughly 25 clients running from 4 different machines. I am of the opinion if the client is faulty then I should have had 25 messages in the log instead of 4. Could you please elaborate on how the log makes that clear?

– Jijo Mathew
Nov 23 '18 at 4:31












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53406482%2factivemq-error-every-30-minutes-java-io-ioexception-frame-size-of-1140-mb-larg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53406482%2factivemq-error-every-30-minutes-java-io-ioexception-frame-size-of-1140-mb-larg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith