Giter Site home page Giter Site logo

Stud dies during loadtest about stud HOT 4 CLOSED

bumptech avatar bumptech commented on June 15, 2024
Stud dies during loadtest

from stud.

Comments (4)

duja avatar duja commented on June 15, 2024

More tests completed.

Loadtested without shared session:
stud -n 4 -b 127.0.0.1 81 -f 0.0.0.0 443 --write-proxy /usr/share/ssl/certs/elite.callofduty.com.cert

and without --write-proxy (and HAProxy 1.4 instead of 1.5).
stud -n 4 -b 127.0.0.1 81 -f 0.0.0.0 443 /usr/share/ssl/certs/elite.callofduty.com.cert

Still getting up to 10k connections, running 10k for 1-2min (total time of test 5-6min incl ramp up).
After 1-2min the child dies.

{client} Connection closed (in data)
{client} Connection closed (in data)
{client} Connection closed (in data)
{client} Connection closed (in data)
{backend-connect}: Connection timed out
stud: ev.c:2651: ev_io_stop: Assertion `("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < ((loop)->anfdmax))' failed.
{client} Connection closed (in data)
{client} Connection closed (in data)
{client} Connection closed (in data)
{core} A child (17726) died! This should not happen! Goodbye cruel world!

/E

from stud.

duja avatar duja commented on June 15, 2024

I found a solution of the issue. It seems like stud dies when the conntrack table have reached its maximum.

Got this from syslog just before stud crashes: "kernel: [8905415.659519] nf_conntrack: table full, dropping packet."

Solved it by disabling the conntrack on the system (Fedora):

iptables -t raw -A PREROUTING -j NOTRACK
iptables -t raw -A OUTPUT -j NOTRACK

Hope that helps if someone else would see this problem.

I'm keeping the issue open. Stud should probably keep running even if the conntrack table is full?

from stud.

Neopallium avatar Neopallium commented on June 15, 2024

This could be caused by the bug that I fixed in this pull request: #40

from stud.

jamwt avatar jamwt commented on June 15, 2024

Closing, since pull request 40 (#40) has been merged. Also, pull request 26 (#26) adds some robustness that a child will be re-spawned if it dies.

from stud.

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.