为什么宙斯在OSX上继续崩溃?

时间:2016-04-01 17:46:53

标签: ruby-on-rails macos zeus

我有一个Rails 4.2应用程序的工头。

Procfile.development文件是:

zeus: echo "Starting Zeus..." && zeus start &> /dev/null
web: sleep 1 && zeus s
redis: redis-server
sidekiq: bundle exec sidekiq

我用来启动Rails应用程序的命令是bundle exec foreman start -f Procfile.development并查看崩溃报告:

10:40:27 zeus.1    | started with pid 70377
10:40:27 web.1     | started with pid 70378
10:40:27 redis.1   | started with pid 70379
10:40:27 sidekiq.1 | started with pid 70381
10:40:27 zeus.1    | Starting Zeus...
10:40:27 redis.1   | 70379:C 01 Apr 10:40:27.425 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
10:40:27 redis.1   | 70379:M 01 Apr 10:40:27.426 * Increased maximum number of open files to 10032 (it was originally set to 256).
10:40:27 redis.1   |                 _._                                                  
10:40:27 redis.1   |            _.-``__ ''-._                                             
10:40:27 redis.1   |       _.-``    `.  `_.  ''-._           Redis 3.0.5 (00000000/0) 64 bit
10:40:27 redis.1   |   .-`` .-```.  ```\/    _.,_ ''-._                                   
10:40:27 redis.1   |  (    '      ,       .-`  | `,    )     Running in standalone mode
10:40:27 redis.1   |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
10:40:27 redis.1   |  |    `-._   `._    /     _.-'    |     PID: 70379
10:40:27 redis.1   |   `-._    `-._  `-./  _.-'    _.-'                                   
10:40:27 redis.1   |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
10:40:27 redis.1   |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
10:40:27 redis.1   |   `-._    `-._`-.__.-'_.-'    _.-'                                   
10:40:27 redis.1   |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
10:40:27 redis.1   |  |    `-._`-._        _.-'_.-'    |                                  
10:40:27 redis.1   |   `-._    `-._`-.__.-'_.-'    _.-'                                   
10:40:27 redis.1   |       `-._    `-.__.-'    _.-'                                       
10:40:27 redis.1   |           `-._        _.-'                                           
10:40:27 redis.1   |               `-.__.-'                                               
10:40:27 redis.1   | 
10:40:27 redis.1   | 70379:M 01 Apr 10:40:27.427 # Server started, Redis version 3.0.5
10:40:27 redis.1   | 70379:M 01 Apr 10:40:27.427 * DB loaded from disk: 0.000 seconds
10:40:27 redis.1   | 70379:M 01 Apr 10:40:27.427 * The server is now ready to accept connections on port 6379
10:40:27 zeus.1    | exited with code 1
10:40:27 system    | sending SIGTERM to all processes
10:40:27 redis.1   | 70379:signal-handler (1459532427) Received SIGTERM scheduling shutdown...
10:40:27 web.1     | terminated by SIGTERM
10:40:27 sidekiq.1 | terminated by SIGTERM
10:40:28 redis.1   | 70379:M 01 Apr 10:40:28.047 # User requested shutdown...
10:40:28 redis.1   | 70379:M 01 Apr 10:40:28.047 * Saving the final RDB snapshot before exiting.
10:40:28 redis.1   | 70379:M 01 Apr 10:40:28.049 * DB saved on disk
10:40:28 redis.1   | 70379:M 01 Apr 10:40:28.049 # Redis is now ready to exit, bye bye...
10:40:28 redis.1   | exited with code 0

之前我通过pkill -f zeus解决了这个问题并杀死了一堆幽灵宙斯进程。它以前工作过,但现在不行。我认为导致当前问题的原因是我不得不重新启动运行OSX的笔记本电脑。关于如何解决它的任何想法?

0 个答案:

没有答案