【发布时间】:2013-07-02 04:51:47
【问题描述】:
我正在运行一个安装了 debian 的虚拟机作为本地网络服务器。我正在使用远程项目(RSE 插件)直接在那个虚拟机上使用 eclipse。我遇到的问题是,当我打开项目时,eclipse 会立即启动 DLTK-indexer。在 debian 机器上,我的 /var/log/auth.log 立即被无穷无尽的列表填满:
sshd[4271]: error: no more sessions
在 Eclipse 中,错误日志被填满(尽管使用 JRE 6):
org.eclipse.core.runtime.CoreException: Operation failed. File system input or output error: rse://xxx.xxx.xxx.xxx/path/to/file/being/indexed
org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
索引完成后,我无法保存正在处理的任何文件,因为所有 ssh 会话都已在服务器上使用。
索引进程似乎试图为它索引的每个文件打开一个新连接。
索引完成后,一切都恢复正常,我可以保存文件等。 我希望索引器完成它的工作,但由于代码完成之后不起作用,eclipse 无法进行索引。
一种解决方案是禁用索引,但这不是 IDE 的目的,代码完成是我仍然使用 IDE 的少数原因之一(至少对于大型项目而言)。
任何关于如何使索引工作和摆脱 ssh 错误的想法都会很棒!
更多系统信息:
主机系统: Windows 7 Prof. 64 位
来宾系统(虚拟机):启用 sftp 子系统的 Debian Lenny
Eclipse: 带有 Zend PDT 和 RSE 的 Indigo(已经运行 Java 6 JRE 1.6.0_45)
感谢您的帮助!
大卫
【问题讨论】: