Have you confirmed (via techniques such as the ones described in
https://www.cyberciti.biz/faq/linux-which-process-is-using-swap/) that the
ActiveMQ process is the one whose pages are getting swapped?

Also, what does top show your buffer usage (i.e. Linux using memory to
buffer disk writes for performance reasons) during this period of time?

Linux has an OS setting (vm.swappiness) that will let you control how
willing the OS is to swap out pages. You could adjust this value to make
paging less likely (or forbid it entirely) if you wanted.

Tim

On Jun 21, 2017 12:53 PM, "Abhinav2510" <abhinav.suryawan...@tcs.com> wrote:

> In ActiveMQ 5.13.2 .
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/High-swap-usage-and-network-timeouts-during-heavy-publishing-
> tp4661946p4727692.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to