アプリのシンを開始しようとしてpid
いますが、生成できません:
$ thin -C /var/www/project_path/current/config/myproject.testing.yml start
pidがないため、今は停止できません:
$ thin -C /var/www/project_path/current/config/myproject.testing.yml stop
/home/usr/.rvm/gems/ruby-1.9.2-p180@api/gems/thin-1.5.1/lib/thin/daemonizing.rb:131:in `send_signal': Can't stop process, no PID found in tmp/pids/thin.pid (Thin::PidFileNotFound)
これはyml
ファイルです:
pid: /home/usr/htdocs/testing/myproject/shared/pids/thin.pid
rackup: config.ru
log: /home/usr/htdocs/testing/myproject/shared/log/thin.log
timeout: 30
port: 1234
max_conns: 1024
chdir: /home/usr/htdocs/testing/myproject/current
max_persistent_conns: 128
environment: testing
address: 127.0.0.1
require: []
daemonize: true
アップデート:
これでサーバーを起動できますが、一部のseconds
プロセスが自動的に消えると; pid
数秒後にサーバーを起動して生成された が表示されないことを意味します。