Code Monkey home page Code Monkey logo

Comments (6)

hynek avatar hynek commented on July 19, 2024

This error is coming directly from Argon2 the C library. Is it possible, that you're running in an environment that restricts threading in any way? Try setting parallelism=1 and see if it helps.

from argon2-cffi.

ChrisTerBeke avatar ChrisTerBeke commented on July 19, 2024

We're running in a Docker + Kubernetes environment, shouldn't be a problem. But I'll try parallelism=1 and let you know. Thanks!

from argon2-cffi.

hynek avatar hynek commented on July 19, 2024

Double check your memory usage too.

from argon2-cffi.

ChrisTerBeke avatar ChrisTerBeke commented on July 19, 2024

It seems memory usage is increasing over time, eventually causing the container to run out of memory and Kubernetes killing it. Could this be related to this package? We see a lot of FUTEX access in Linux (which is used by Python threading).

from argon2-cffi.

hynek avatar hynek commented on July 19, 2024

This package contains no threading code whatsoever, so that's unlikely. Of course I can't rule rule out memory leaks, but I'm not aware of any and I'd expect to hear at least from from pypi/warehouse if there were any.

from argon2-cffi.

ChrisTerBeke avatar ChrisTerBeke commented on July 19, 2024

For now we have increased our memory limits and added extra logging to gather more information. Will let you know if we find anything. Thanks!

from argon2-cffi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.