On 08/28/2018 04:04 PM, Tom Pantelis wrote:
On Tue, Aug 28, 2018 at 6:50 PM, Jamo Luhrsen <jluhr...@gmail.com
<mailto:jluhr...@gmail.com>> wrote:
Tom, Robert, others,
the good news is I finally got a few things figured out and I can make
a local 3 node cluster work with artery (using udp).
The bad news is that I keep running out of shared memory (after not
too many iterations of my test).
I am launching my docker containers with 5G of /dev/shm, but something
is eating it up when I'm killing and restarting the controller in a
single container. Once it's gone, artery craps out and can't send any
messages, so the test is worthless after that.
I need to find a way to clean/flush whatever's using that memory after
each iteration, I think.
anyone with any expertise here?
I assume this is b/c killing the process doesn't free up the space. You can set the dir aeron uses via
*artery.advanced.aeron-dir*.
exactly. I tracked it down to some large folders
/dev/shm/aeron-root-opendaylight-* building
up after each restart.
I tried passing this -Daeron.dir.delete.on.start=true arg, but it's not working:
from:
https://github.com/real-logic/aeron/wiki/Configuration-Options#options-list
# Directory used by the Aeron media driver. It's mandatory to define
the 'aeron-dir'
# if using external media driver, i.e. when 'embedded-media-driver =
off'.
# Embedded media driver will use a this directory, or a temporary
directory if this
# property is not defined (empty).
# Only used when transport is aeron-udp.
aeron-dir = ""
So perhaps set it to a dedicated dir and delete the contents after every run.
yeah, this is easy enough for now.
However I would first suggest running the test with graceful shutdown first to
see if that properly cleans up /dev/shm.
I can, but not sure we need to worry about that yet.
JamO
Thanks,
JamO
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
<mailto:controller-dev@lists.opendaylight.org>
https://lists.opendaylight.org/mailman/listinfo/controller-dev
<https://lists.opendaylight.org/mailman/listinfo/controller-dev>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev