Rails Warbler 部署

发布于 2024-08-23 22:53:58 字数 291 浏览 3 评论 0原文

我正在做一些测试来确定 Rails War 的资源使用情况。我已经使用 Warbler 使用 Rails 2.3.5 和 JRuby 1.4.0 打包了“15 分钟博客”应用程序。我正在部署到 Tomcat 6.0.24 中,并通过将 blog.war 文件复制为 blogN.war 来创建多个部署。

这对于前 4 次部署非常有效,但我似乎无法部署超过 4 次战争实例;换句话说,catalina.out 日志挂起并显示“部署 Web 应用程序存档 blog5.war”。

关于问题可能是什么或者我如何更好地解决这个问题有什么想法吗?

I am doing some testing to determine resource usage of a rails war. I have used Warbler to package the "15-minute Blog" application using Rails 2.3.5 and JRuby 1.4.0. I am deploying into Tomcat 6.0.24 and create multiple deployments by copying the blog.war file as blogN.war.

This worked great for the first 4 deployments but I can't seem to deploy any more than 4 instances of the war; in other words, the catalina.out log hangs with "Deploying web application archive blog5.war".

Any ideas on what the problem might be or how I might better trouble-shoot this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心意如水 2024-08-30 22:53:58

将 PermGenSpace 内存增加到“-XX:PermSize=64m -XX:MaxPermSize=128m”可以纠正此问题。

Increasing PermGenSpace memory to "-XX:PermSize=64m -XX:MaxPermSize=128m" corrected this problem.

梅窗月明清似水 2024-08-30 22:53:58

检查您的日志文件,可能是您执行 tomcat 的 java 进程内存不足,请参阅 java 参数 ( -Xmx -Xms ) 和 http://wiki.apache.org/tomcat/FAQ/Memory 。增加可用内存可能允许您运行更多应用程序实例。

Check your log files, may be the case that your java process, in which tomcat executes, runs out of memory, see java parameters ( -Xmx -Xms ) and http://wiki.apache.org/tomcat/FAQ/Memory . Increasing the available memory may allow you to run more instances of the application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文