问题
我似乎无法停止我的应用程序(node.js 0.10.12)以确认它正在运行我的最新环境。
背景
我有:
- 将所有测功机缩放到 0
- heroku ps 报告没有 dynos/tasks/processes
- heroku restart 声称成功
- heroku ps:stop 声称成功
...但我之前的测功机的输出仍在继续。它看起来像这样:
2013-08-03T07:49:32.637139+00:00 heroku[web.1]: State changed from up to down
2013-08-03T07:49:32.659860+00:00 heroku[api]: Scale to web=0 by heroku@circuithub.com
2013-08-03T07:49:32.732688+00:00 app[web.1]: error rabbitConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
2013-08-03T07:49:34.315956+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2013-08-03T07:49:34.775579+00:00 app[web.1]: error rabbitConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
2013-08-03T07:49:35.720788+00:00 heroku[web.1]: Process exited with status 143
2013-08-03T07:49:36.743217+00:00 app[web.1]: error rabbitConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
2013-08-03T07:49:38.797592+00:00 app[web.1]: error rabbitConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
2013-08-03T07:49:40.787696+00:00 app[web.1]: error rabbitConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
2013-08-03T07:49:42.812921+00:00 app[web.1]: error rabbit
ConnectedError RabbitMQ server at @lemur.cloudamqp.com/nfeqoqcg reports ERROR. { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' } []
此输出会无限期地继续(根据设计,node-amqp 驱动程序将无休止地尝试重新连接)意味着测功机仍在运行。它现在仍在运行(大约 2 小时后)。
问
我错过了什么吗?有什么方法可以真正关闭测功机编队?
那里必须有更好的东西(更便宜、性能更高、更可靠)允许 git push 吗?