【发布时间】:2022-01-22 13:19:39
【问题描述】:
我有一个基本的 playframwork2/scala 应用程序,可以在本地正常工作。
一旦导出到我的 lunix/apache 服务器,情况就完全不同了。(我使用 dist 进行部署)
一旦我加载包含图像的页面,应用程序就会停止,并且出现以下错误:
Uncaught error from thread [application-akka.actor.default-dispatcher-14]: unable to create new native thread, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[application]
java.lang.OutOfMemoryError: unable to create new native thread
我的服务器有这样配置的反向代理:
ProxyRequests Off
ProxyPass / http://serverUrl.net:30000/
ProxyPassReverse / http://serverUrl.net:30000/
有人遇到过同样的问题吗?
【问题讨论】:
标签: java scala playframework