首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spring-xd奇怪的打开文件太多错误

Spring-xd奇怪的打开文件太多错误
EN

Stack Overflow用户
提问于 2016-03-17 02:37:51
回答 1查看 97关注 0票数 0

我从spring-xd 1.2.1升级到1.3.0,并在我的系统上的/opt下安装了这两个工具。在单节点中启动xd (但配置为使用Zookeeper)后,我尝试创建另一个流(例如"time | log"),spring-xd抛出以下异常:

代码语言:javascript
复制
java.io.FileNotFoundException: /opt/spring-xd-1.2.1.RELEASE/xd/config/modules/modules.yml (Too many open files)

我更改了ulimit -n 60000,但它没有解决问题。奇怪的是为什么它仍然指向spring-xd-1.2.1.RELEASE?我已经在/opt/spring-xd-1.3.1.RELEASE下启动了xd-singlenode和xd-shell

编辑:添加xd-singlenode运行进程输出,以显示它指向1.3.1:

代码语言:javascript
复制
/usr/java/default/bin/java -Dspring.application.name=admin 
-Dlogging.config=file:/opt/spring-xd-1.3.0.RELEASE/xd/config//
/xd-singlenode-logback.groovy -Dxd.home=/opt/spring-xd-1.3.0.RELEASE/xd 
-Dspring.config.location=file:/opt/spring-xd-1.3.0.RELEASE/xd/config// 
-Dxd.config.home=file:/opt
/spring-xd-1.3.0.RELEASE/xd/config// 
-Dspring.config.name=servers,application 
-Dxd.module.config.location=file:/opt/spring-xd-1.3.0.RELEASE/xd/config//modules/ 
-Dxd.module.config.name=modules -classpath 
/opt/spring-xd-1.3.0.RELEASE/xd/modules/processor/scripts:/opt/spring-xd
-1.3.0.RELEASE/xd/config:/opt/spring-xd-1.3.0.RELEASE/xd/lib/activation-
...
EN

回答 1

Stack Overflow用户

发布于 2016-03-17 02:47:09

你更新你的环境变量了吗?具体地说,就是基于上面显示的错误的XD_CONFIG_LOCATION。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36044261

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档