bot@my-web:~/works/hello> mongrel_rails start -h
Usage: mongrel_rails <command> [options]
-e, --environment ENV Rails environment to run as
-d, --daemonize Run daemonized in the background
-p, --port PORT Which port to bind to
-a, --address ADDR Address to bind to
-l, --log FILE Where to write log messages
-P, --pid FILE Where to write the PID
-n, --num-processors INT Number of processors active before clients denied
-o, --timeout TIME Time to wait (in seconds) before killing a stalled thread
-t, --throttle TIME Time to pause (in hundredths of a second) between accepting clients
-m, --mime PATH A YAML file that lists additional MIME types
-c, --chdir PATH Change to dir before starting (will be expanded)
-r, --root PATH Set the document root (default 'public')
-B, --debug Enable debugging mode
-C, --config PATH Use a config file
-S, --script PATH Load the given file as an extra config script
-G, --generate PATH Generate a config file for use with -C
--user USER
User to run as
--group GROUP
Group to run as
--prefix PATH
URL prefix for Rails app
-h, --help Show this message
--version Show version
一个典型的配置就是:
#!/bin/sh
mongrel_rails start -d -e production -c /web/bot_backend2 -p 3001 -P /web/bot_backend2/log/mongrel-3001.pid
mongrel_rails start -d -e production -c /web/bot_backend2 -p 3003 -P /web/bot_backend2/log/mongrel-3003.pid
mongrel_rails start -d -e production -c /web/bot_backend2 -p 3004 -P /web/bot_backend2/log/mongrel-3004.pid
mongrel_rails start -d -e production -c /web/bot_backend2 -p 3005 -P /web/bot_backend2/log/mongrel-3005.pid
mongrel_rails start -d -e production -c /web/bot_backend2 -p 3006 -P /web/bot_backend2/log/mongrel-3006.pid
分享到:
相关推荐
Mongrel
Mongrel2是一个基于ZeroMQ的Web服务器,语言独立,可以用17种语言编写应用,还有更多非常奇特的地方:What makes Mongrel2 special is how it satisfies these requests in a language agnostic andasynchronous way...
Mongrel是一种快速的针对Ruby的Http 服务器,专门为部署发布rails应用而产生的。 可以替代mod_ruby/fastcgi,可以用于生产部属环境。
相信安装Redmine时会用到它们 win32-service-0.5.2.gem gem_plugin-0.2.3.gem mongrel_service-0.3.4-i386-mswin32.gem
基于Ubuntu Nginx Mongrel Mysql部署rails monit-5.0
NULL 博文链接:https://ilstar.iteye.com/blog/370808
Mongrel 是一个 Eclipse 插件,用来在 Eclipse 环境中开发和运行基于 Tomcat 的Web应用。可方便进行配置、调试 Tomcat 会话,基于 Sysdeo Tomcat 插件开发。 安装方法:下载后将压缩包解压到 Eclipse 的 plugins ...
Mongrel2:与语言无关的Web服务器Mongrel2是与应用程序,语言和网络体系结构无关的Web服务器,其重点是使用现代浏览器技术的Web应用程序。特征语言不可知论者,带有一个简单的后端协议,支持Mongrel2粉丝编写的17种...
mongrel-1.1.4-x86-mswin32-60.gem 的gem包
公司的系统部署的实践过程,参考了许多网上前辈的经验
nim-mongrel2:Mongrel2 Web服务器的处理程序框架
将RedMine安装为Windows服务所需的文件,有了这个文件,就可以非上网机上安装了。
博文链接:https://swachian.iteye.com/blog/175033
m2php - 在 PHP 中开发 Mongrel2 处理程序的库Mongrel2: ://mongrel2.org Mongrel2 Python 库: ://sheddingbikes.com/posts/1279007133.html要求ZeroMQ 2.0.7 或更高版本: ://... 只需为您的项目创建一个 composer....
绍linux系统上配Nginx Mongrel cluster方法和步骤。
我认为处理程序是长时间运行的应用程序,它发布对使用几个ØMQ套接字从 Mongrel2 服务器拉出的请求的响应。 我写Seraph是因为我想强调的是,在 Mikko Koppanen 的“php-zmq”PHP 扩展的帮助下,PHP 不再受 Apache ...
XBreed Martin Keegan 和 Alistair Turnbull 的最小 OCaml Web 框架。 名字读作“杂交”。 取决于 Zed Shaw 的 Mongrel2。 许可证:Apache 2.0 质量:pre-alpha
帮助您开发 Mongrel2 处理程序。 它还带有 ASP.NET Web 服务器的粗略端口,用于使用 m2net 而不是套接字。 金块 该库在上。 依赖关系 .NET 框架 4.0 执照 m2net 在 3 条款下获得。 m2net.asp 是根据获得,因为它源自...