{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a55579be99a5fa1e1fe0aa395bff60f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a55579be99a5fa1e1fe0aa395bff60f6","url":"https://api.github.com/users/WouterVH","login":"WouterVH","id":469509},"assignee":null,"updated_at":"2011-11-17T13:34:30Z","labels":[],"closed_at":null,"comments":0,"url":"https://api.github.com/repos/ptahproject/ptah/issues/91","body":"I don't know what's causing this, I did not encounter this behaviour in earlier checkouts of ptah\r\nBut with checkouts done today (17/11/2011) I have to kill -9  the paster process to actually stop it around half of the times.\r\n\r\n\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >   ../bin/paster serve settings.ini --reload\r\n    Starting subprocess with file monitor\r\n    2011-11-17 13:27:58,094 INFO  [ptah.cms][MainThread] Generating fieldset for <class 'myapp102.models.Link'> content type.\r\n    2011-11-17 13:27:58,109 INFO  [ptah.config][MainThread] Initializing ptah settings\r\n    /opt/dev/ptah-pre-0.1/lib/python2.7/site-packages/SQLAlchemy-0.7.3-py2.7-linux-x86_64.egg/sqlalchemy/engine/default.py:453: SAWarning: Unicode type received non-unicode bind param value.\r\n    param.append(processors[key](compiled_params[key]))\r\n    Starting server in PID 18846.\r\n    serving on 0.0.0.0:6543 view at http://127.0.0.1:6543\r\n    Running Sphinx v1.1.2\r\n    loading pickled environment... not yet created\r\n    Running Sphinx v1.1.2\r\n    loading pickled environment... not yet created\r\n    ^C caught in monitor process\r\n    Exiting (-v to see traceback)\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >\r\n    \r\nso Control-C returns to the commandline as normal, and seems to stop the paster-process, \r\nhowever it's still running:\r\n\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >  ps aux|grep ptah\r\n    wouter   18846  6.0  1.4 414804 58532 pts/4    Sl   13:27   0:03 /opt/dev/ptah-pre-0.1/bin/python ../bin/paster serve settings.ini --reload\r\n    \r\nRefreshing the pages in the webbrowser, indicate the http-port is still open,  the the browser keeps spinning returning nothing.\r\nTry to kill the process does not work:\r\n\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >  kill 18846\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >  ps aux|grep ptah\r\n    wouter   18846  4.5  1.4 414804 58532 pts/4    Sl   13:27   0:04 /opt/dev/ptah-pre-0.1/bin/python ../bin/paster serve settings.ini --reload\r\n\r\nSo I currently need to do this:\r\n\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >  kill -9 18846\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >  ps aux|grep ptah\r\n    wouter@localhost: /opt/dev/ptah-pre-0.1/myapp102 >\r\n\r\nCurrently this happens around half of the times I start paster, the other times Control-C just works normally.\r\nDon't know yet how to reproduce.\r\n\r\n","html_url":"https://github.com/ptahproject/ptah/issues/91","title":"many times kill -9 needed to stop paster","number":91,"id":2268753,"created_at":"2011-11-17T13:34:30Z"},"action":"opened"}