Skip to content

Leaking threads (and low performance) in docker image #91

@karatekaneen

Description

@karatekaneen

Hi,

I'm running the latest (master) version in Docker. We've allocated a VM with 4 cores and 32gb RAM for Glutton.

When running a batch of lookups (started with about 200k) by their bibliographic strings we can only process about 70-80 strings per minute.

The elasticsearch cluster is almost running idle so when I looked closer at the container I saw that the threads kept increasing. It looks like one thread is added for every citation processed and none is ever removed.

htop

Edit:

Forgot to mention that this does not respect maxThreads in the config.yml. I've tried running it both with the default value of 2048 and higher as well as lower. The performance is still low and the threads keeps on ticking up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions