GithubHelp home page GithubHelp logo

Add Load Balance about httpproxy HOT 5 CLOSED

sunshineplan avatar sunshineplan commented on July 20, 2024
Add Load Balance

from httpproxy.

Comments (5)

sunshineplan avatar sunshineplan commented on July 20, 2024

Do you have any logs about the error?
I guess it would be "Too many open files" error.

from httpproxy.

jealvin avatar jealvin commented on July 20, 2024

this is the error log

2022/08/24 17:34:26 http: TLS handshake error from 182.1.191.106:58896: read tcp 51.159.67.69:443->182.1.191.106:58896: i/o timeout
2022/08/24 17:34:26 http: TLS handshake error from 182.1.191.106:58898: read tcp 51.159.67.69:443->182.1.191.106:58898: i/o timeout
2022/08/24 17:34:31 http: TLS handshake error from 182.1.191.106:58900: read tcp 51.159.67.69:443->182.1.191.106:58900: i/o timeout
2022/08/24 17:34:47 http: TLS handshake error from 176.59.18.6:55736: remote error: tls: unknown certificate
2022/08/24 17:35:02 http: TLS handshake error from 203.8.207.90:7116: EOF
2022/08/24 17:36:12 http: TLS handshake error from 103.132.55.83:59564: EOF
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 5ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 10ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 20ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 40ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 80ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 160ms
2022/08/24 17:36:22 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 320ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 5ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 10ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 20ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 5ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 10ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 20ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 40ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 80ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 160ms
2022/08/24 17:36:23 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 320ms
2022/08/24 17:36:24 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 5ms
2022/08/24 17:36:24 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 10ms
2022/08/24 17:36:24 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 20ms
2022/08/24 17:36:24 http: Accept error: accept tcp [::]:443: accept4: too many open files; retrying in 40ms

do you have the fix for this?

from httpproxy.

sunshineplan avatar sunshineplan commented on July 20, 2024

Actruely, this occurs because of system limit, default the limit of open files number is 1024.
Every active user maybe use about 50 tcp connections, so default limit is not suitable for heavy usage.
Your can find some ways to increase this limit, for example modify service file with adding a line "LimitNOFILE=xxx"
https://www.baeldung.com/linux/error-too-many-open-files
https://www.freedesktop.org/software/systemd/man/systemd.exec.html

from httpproxy.

jealvin avatar jealvin commented on July 20, 2024

Thank you its fixed now
Thank you for the httpproxy its a great tool

from httpproxy.

jealvin avatar jealvin commented on July 20, 2024

Do you have telegram @sunshineplan ?

from httpproxy.

Related Issues (1)

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.