ruby on rails - Thin processes die without message -
i have 2 thin servers running rails app. start them bundle exec thin start.
chdir: /[root]/current environment: production address: 0.0.0.0 port: 3001 timeout: 30 log: /[root]/log/thin.log pid: tmp/pids/thin.pid max_conns: 1024 max_persistent_conns: 100 require: [] wait: 30 threadpool_size: 20 servers: 2 daemonize: true when wait few hours 1 of 2 servers gone (e.g., see 1 htop or pgrep -lf thin). , worse, both of them gone after 10 hours or results in 500 error via browser. furthermore, when start 3 or 4 servers 2 of 4 processes die within 1 minute on average.
i don't see error messages in rails production.log nor in thin.[port] log files specified in app.yml file.
is there way keep thin servers running?
are sure can run server bundle exec -c app.yml start?
try bundle exec thin -c app.yml start
Comments
Post a Comment