Iam using Hornetq server as a transport iam using following paging setting in hornetq-configuration.xml .
<!--default for catch all-->
My typical messages are minimum 2.5 MB. But i do not want to let them be treated as large message (As i want them to be stored in the memory )so i have following setting in hornetq-jms.xml
<min-large-message-size>650000</min-large-message-size> <!-- This is to make sure that large mesage is anything over 6.5 MB -->
But i still see files getting created under the large-message directory . also i see directories under paging. Though from JConsole i can see that only 400 mb is used .My -xMX setting is 2048 though. My understanding was that Paging would only kick in when we reach almost the to xMX but not so soon.
Also when i reach around 3000 to 4000 messages , hornetq just simply refuses to take any more messages. System doesnt hangs but lots of we do not recieve any more messages from the producer. I do not see any exception too in the logs.
We do not send acknowledgement soon . We send it after 8-9 hours of processing so these messages remain in the memory or on disk for long time. We have 8Gb ram and 250GB disk system , and we havent yet reached the memory limit. But i still see the hornetq refusing any further messages
Any idea why this is happening?