=== adrien_o1w is now known as adrien_oww | ||
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:19 |
mpoole | 12 seconds for a response from a simple write of "moo" to the socket | 20:20 |
mpoole | from the python script | 20:20 |
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:23 |
mpoole | OK if I turn off load to it.. it runs every time in 90ms | 20:25 |
mpoole | so i guess this isn't made for load since sending traffic seems to kill it | 20:29 |
mpoole | https://gist.github.com/reedox/8029394 | 20:30 |
mpoole | really wanted to use upstart instead of xinetd :/ | 20:33 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!