Skip to content

Yagna leaks memory and threads #3456

@SewerynKras

Description

@SewerynKras

Yesterday I ran a script that deployed a new demand every minute, negotiated all received proposals and started 10 activities. After running for 7 hours my yagna grew to 2.4G memory and crashed. It also created a ton of threads in the process (more than 1000 after 2 hours, I couldn't check the exact number at the moment of the crash). Below are screenshots from the logs

Image Image

After the crash the thread count got reduced to 31 and yagna stopped responding to any http call. This happened on version 0.17.1-allocation4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions