What is the file extension for a libaio kernel module? Also I'm going to be
picking this up again tomorrow but I'm done for today, so there might be a
delay in my response, just a heads up.

On Thu, Jan 27, 2022 at 4:40 PM Justin Bertram <jbert...@apache.org> wrote:

> You need *both* the libaio kernel module installed as well as the shared
> object (i.e. .so) file shipped with ActiveMQ Artemis. I've only seen you
> mention the .so file. Do you have the libaio kernel module installed?
>
>
> Justin
>
> On Thu, Jan 27, 2022 at 3:14 PM Matthew Harris <harrisman1...@gmail.com>
> wrote:
>
> > Hi,
> >
> > I'm trying to containerize apache-artemis-2.20.0, and right now I'm
> working
> > on adding libaio to the container so I can use an AIO journal for faster
> > performance. I stored the .so files for libaio in a directory in the
> > container, and I set the LD_LIBRARY_PATH environment variable to point to
> > the directory containing those files.
> >
> > However, when I spin up the container and run the broker, it can't find
> > libaio and defaults to an NIO journal. I see here:
> >
> >
> https://activemq.apache.org/components/artemis/documentation/1.1.0/using-server.html#library-path
> > that java.library.path is specified automatically in the scripts, so I'm
> > assuming why the JVM isn't using the environment variable to find libaio.
> >
> > I also see that there's a --java-options argument that can be provided
> when
> > the broker is created. Is there a way to overwrite or add a path to
> > java.library.path this way? It's been a long time since I've worked with
> > Java so I'm a little lost as to how to point this to the correct
> directory
> > and load libaio.
> >
> > Thanks,
> > Matthew
> >
>

Reply via email to