[20:19] <mpoole> hey.. i'm trying to use start on socket PROTO=inet PORT=9300
[20:19] <mpoole> piping to a python script
[20:19] <mpoole> for some reason... sometimes it works, sometimes it hangs there
[20:19] <mpoole> any idea how i can debug this?
[20:20] <mpoole> 12 seconds for a response from a simple write of "moo" to the socket
[20:20] <mpoole> from the python script
[20:23] <mpoole> I'm getting these in my upstart log:
[20:23] <mpoole> raceback (most recent call last):
[20:23] <mpoole>   File "/usr/bin/cluster_check.py", line 15, in <module>
[20:23] <mpoole>     conn.send(reply.encode('UTF-8'))
[20:23] <mpoole> socket.error: [Errno 104] Connection reset by peer
[20:25] <mpoole> OK if I turn off load to it.. it runs every time in 90ms
[20:29] <mpoole> so i guess this isn't made for load since sending traffic seems to kill it
[20:30] <mpoole> https://gist.github.com/reedox/8029394
[20:33] <mpoole> really wanted to use upstart instead of xinetd :/