sending 10k hellos to server results in 3200 socket errors
edwindotcom opened this issue · 0 comments
edwindotcom commented
What I'm doing:
- open a socket to server and send hello, then ping every 20 secs 10 times, then close socket.
- run at 10k clients, i'm using mozilla-services/loads
here's the specific test:
run this test against simplePush-QA
https://github.com/edmoz/load-test/blob/master/loads/pushgo/load_gen.py with ping_loop.
result: server:
worker: Websocket Error map[error:EOF]
3200 times
client: socket doesn't return notification upon hello:
Traceback (most recent call last):
File "/home/ec2-user/loads/lib/python2.6/site-packages/ws4py-0.3.0_beta-py2.6.egg/ws4py/websocket.py", line 290, in once
b = sock.recv(self.reading_buffer_size)
File "/home/ec2-user/loads/lib/python2.6/site-packages/gevent/socket.py", line 385, in recv
return sock.recv(*args)
error: [Errno 104] Connection reset by peer