Public bug reported: Distro: Ubuntu Lucid (10.04)
Kernel: 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux Packages: ii gearman 0.32-0~598-1~lucid1 ii gearman-job-server 0.32-0~598-1~lucid1 ii gearman-tools 0.32-0~598-1~lucid1 ii libgearman6 0.32-0~598-1~lucid1 ii python-gearman-cluster 1.1.0 Error: (Loops endlessly until oom-killer kills the job server) ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> libgearman-server/plugins/protocol/http/protocol.cc:287 Cause: When testing gearman, I accidentally included the line "HTTP/1.0 200 OK" while POST'ing to the HTTP listener during a telnet session (I was copying/pasting a query from a colleague and accidentally caught the gearman response from his session). This caused gearman to go into an infinite loop until oom-killer, well, killed the job server. Sanitized Copy of Session: laptop:~$ ssh server server:~$ telnet 127.0.0.1 8888 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. POST /foo HTTP/1.1 Content-Length: 219 {"aaa": "bbb", "ccc": [ { "ddd": {"eee": "fff", "ggg": "hhh", "iii": 5}, "jjj": "kkk", "lll": ["mmm"] } ] } HTTP/1.0 200 OK Connection to server closed. laptop:~$ ** Affects: gearmand (Ubuntu) Importance: Undecided Status: New ** Description changed: Distro: Ubuntu Lucid (10.04) Kernel: 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux Packages: - ii gearman 0.32-0~598-1~lucid1 Distributed job queue - ii gearman-job-server 0.32-0~598-1~lucid1 Job server for the Gearman distributed job q - ii gearman-tools 0.32-0~598-1~lucid1 Tools for the Gearman distributed job queue - ii libgearman6 0.32-0~598-1~lucid1 Library providing Gearman client and worker - ii python-gearman-cluster 1.1.0 Configuration package for returning gearman + ii gearman 0.32-0~598-1~lucid1 + ii gearman-job-server 0.32-0~598-1~lucid1 + ii gearman-tools 0.32-0~598-1~lucid1 + ii libgearman6 0.32-0~598-1~lucid1 + ii python-gearman-cluster 1.1.0 Error: - ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> libgearman-server/plugins/protocol/http/protocol.cc:287 + ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> libgearman-server/plugins/protocol/http/protocol.cc:287 Cause: - When testing gearman, I accidentally included the line "HTTP/1.0 200 OK" after POST'ing to the HTTP listener during a telnet session (I was copying/pasting a query from a colleague and accidentally caught the gearman response from his session). This caused gearman to go into an infinite loop until oom-killer, well, killed the job server. + When testing gearman, I accidentally included the line "HTTP/1.0 200 OK" while POST'ing to the HTTP listener during a telnet session (I was copying/pasting a query from a colleague and accidentally caught the gearman response from his session). This caused gearman to go into an infinite loop until oom-killer, well, killed the job server. Sanitized Copy of Session: - laptop:~$ ssh someserver + laptop:~$ ssh someserver - server:~$ telnet 127.0.0.1 8888 - Trying 127.0.0.1... - Connected to 127.0.0.1. - Escape character is '^]'. - POST /foo HTTP/1.1 - Content-Length: 219 + server:~$ telnet 127.0.0.1 8888 + Trying 127.0.0.1... + Connected to 127.0.0.1. + Escape character is '^]'. + POST /foo HTTP/1.1 + Content-Length: 219 - {"aaa": "bbb", "ccc": [ { "ddd": {"eee": "fff", "ggg": "hhh", "iii": 5}, "jjj": "kkk", "lll": ["mmm"] } ] } - HTTP/1.0 200 OK + {"aaa": "bbb", "ccc": [ { "ddd": {"eee": "fff", "ggg": "hhh", "iii": 5}, "jjj": "kkk", "lll": ["mmm"] } ] } + HTTP/1.0 200 OK - Connection to server closed. + Connection to server closed. - laptop:~$ + laptop:~$ ** Description changed: Distro: Ubuntu Lucid (10.04) Kernel: 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux Packages: ii gearman 0.32-0~598-1~lucid1 ii gearman-job-server 0.32-0~598-1~lucid1 ii gearman-tools 0.32-0~598-1~lucid1 ii libgearman6 0.32-0~598-1~lucid1 ii python-gearman-cluster 1.1.0 Error: - ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> libgearman-server/plugins/protocol/http/protocol.cc:287 + (Loops endlessly until oom-killer kills the job server) + + ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> + libgearman-server/plugins/protocol/http/protocol.cc:287 Cause: When testing gearman, I accidentally included the line "HTTP/1.0 200 OK" while POST'ing to the HTTP listener during a telnet session (I was copying/pasting a query from a colleague and accidentally caught the gearman response from his session). This caused gearman to go into an infinite loop until oom-killer, well, killed the job server. Sanitized Copy of Session: laptop:~$ ssh someserver server:~$ telnet 127.0.0.1 8888 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. POST /foo HTTP/1.1 Content-Length: 219 {"aaa": "bbb", "ccc": [ { "ddd": {"eee": "fff", "ggg": "hhh", "iii": 5}, "jjj": "kkk", "lll": ["mmm"] } ] } HTTP/1.0 200 OK Connection to server closed. laptop:~$ ** Description changed: Distro: Ubuntu Lucid (10.04) Kernel: 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011 x86_64 GNU/Linux Packages: ii gearman 0.32-0~598-1~lucid1 ii gearman-job-server 0.32-0~598-1~lucid1 ii gearman-tools 0.32-0~598-1~lucid1 ii libgearman6 0.32-0~598-1~lucid1 ii python-gearman-cluster 1.1.0 Error: - (Loops endlessly until oom-killer kills the job server) + (Loops endlessly until oom-killer kills the job server) ERROR 2012-09-24 14:04:03.000000 [ 1 ] bad method: HTTP/1.0 -> libgearman-server/plugins/protocol/http/protocol.cc:287 Cause: When testing gearman, I accidentally included the line "HTTP/1.0 200 OK" while POST'ing to the HTTP listener during a telnet session (I was copying/pasting a query from a colleague and accidentally caught the gearman response from his session). This caused gearman to go into an infinite loop until oom-killer, well, killed the job server. Sanitized Copy of Session: - laptop:~$ ssh someserver + laptop:~$ ssh server server:~$ telnet 127.0.0.1 8888 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. POST /foo HTTP/1.1 Content-Length: 219 {"aaa": "bbb", "ccc": [ { "ddd": {"eee": "fff", "ggg": "hhh", "iii": 5}, "jjj": "kkk", "lll": ["mmm"] } ] } HTTP/1.0 200 OK Connection to server closed. laptop:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1070900 Title: gearmand infinite loop invokes oom-killer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gearmand/+bug/1070900/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs