Giter Club home page Giter Club logo

Comments (3)

dan-v avatar dan-v commented on May 25, 2024 1

Hi @unk2k - thanks for reporting this issue. This project was created just as a small prototype and definitely not designed to be used a high performance proxy with a large number of connections. There's a lot of work to refactor this into a real production quality solution, and that is not something I currently intend on doing, but maybe at some point in the future. Be aware that there is likely a hard limit on the number of outbound connections allowed from a single Lambda function (not sure what that is off the top of my head), so I would assume you'd be bumping into that here. The specific fatal log you posted looks like a concurrency bug (and there's probably a number of them in this current codebase). Happy to take any PRs to fix that.

from awslambdaproxy.

russian-developer avatar russian-developer commented on May 25, 2024

Easy way to reproduce

$ hey -n 5000 -c 200  -x 'http://admin:awslambdaproxy@<PROXY_IP_HERE>:8080' https://github.com/

I found that number of connections with port 8082 is growing up during the test.
from 32 at startup to 1600 at the panic error

from awslambdaproxy.

russian-developer avatar russian-developer commented on May 25, 2024

@dan-v You were right. There is a limit in 1024 file descriptors. which means that the error should be around it. I'll come back if I found something.

from awslambdaproxy.

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.