On Tue, Aug 28, 2018 at 6:50 PM, Jamo Luhrsen <[email protected]> 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*.
# 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.
However I would first suggest running the test with graceful shutdown first
to see if that properly cleans up /dev/shm.
>
> Thanks,
> JamO
> _______________________________________________
> controller-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev