Comments (4)
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.
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.
This could be caused by the bug that I fixed in this pull request: #40
from stud.
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)
- ipv6 front address in configfile wrong when deamon starts
- Client mode still needs a cert file HOT 1
- Support the addition of a custom header to the client request HOT 1
- Support wildcards in the pem-file option
- Brew formula
- Makefile errors in FreeBSD 9.0
- what does "{client} Unexpected SSL error (in handshake): 5" mean? HOT 3
- stud segfaulting HOT 1
- Print client IP on logs HOT 2
- Installation on CentOS 6.2 notes HOT 2
- Memory leak on OpenSSL handling
- Is this project still maintained? HOT 4
- How can i uninstall this application? HOT 1
- when i try to install stud on centos i got below error HOT 2
- when i try to install stud on centos i got below error HOT 1
- SSL offloading to libvirtd
- FIPS Build Options
- --daemon does not work with --chroot HOT 8
- Enhancement: add a "--verbose" mode if possible
- Support for TLS 1.2 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stud.