yaozhibing41001 发表于 2013-09-27 15:40

(ruby)nginx+RAR thin启动无法返回数据,求解


这个之前发表在ruby版。没人回复。。望这边的大牛帮我看看。谢谢了。

目前我碰到这样一个问题, 我有个站,后端有三台应用机器,全部是 nginx+RAR , 启动方法为 /usr/local/bin/thin start -C /etc/thin/club.yml

/etc/thin/club.yml文件内容为:
pid: /home/admin/club/current/tmp/pids/thin.pid
address: 192.168.1.212
port: 7010
timeout: 30
wait: 30
log: /tmp/log/thin.log
max_conns: 1024
require: []

environment: production
max_persistent_conns: 512
servers: 10
#servers: 2
daemonize: true
chdir: /home/admin/club/current


也就是目前启动了10个ruby的端口。


但是,自动23号开始(也不知道做了什么,貌似把网通前端的varnish改成nginx了) 就断断续续发现其中一台应用,老是打不开页面。

我在本机上使用curl 192.168.1.212:7010-7019 全部无法读取数据,但是过一会,又好了。 然后又一会,又无法读取数据了。。

系统为:Centos 5.4
ruby:1.9.3
rails:3.2.11

求各位大牛看看。谢谢。不胜感激。。。
页: [1]
查看完整版本: (ruby)nginx+RAR thin启动无法返回数据,求解