ipython / ipython/ipyparallel

ipcluster won't start in a certain directory

未关闭
#451 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Jupyter Notebook
星标
2.6k
派生
1k
PR 合并指标
30 天内没有已合并 PR

描述

There is one directory where when I try to start ipcluster, I get the following:
>ipcluster start
2021-04-23 10:06:33.597 [IPClusterStart] Starting ipcluster with [daemon=False]
2021-04-23 10:06:33.597 [IPClusterStart] Creating pid file: /home/zach/.ipython/profile_default/pid/ipcluster.pid
2021-04-23 10:06:33.636 [IPClusterStart] Starting Controller with LocalControllerLauncher
2021-04-23 10:06:34.638 [IPClusterStart] Starting 8 Engines with LocalEngineSetLauncher
2021-04-23 10:07:05.411 [IPClusterStart] Engines appear to have started successfully
2021-04-23 10:07:08.690 [IPClusterStart] ERROR | IPython cluster: stopping
2021-04-23 10:07:08.690 [IPClusterStart] Stopping Engines...
2021-04-23 10:07:11.694 [IPClusterStart] Removing pid file: /home/zach/.ipython/profile_default/pid/ipcluster.pid

This is on both my local and remove Ubuntu machines. Here is some version info:

local machine
ipython version 7.22.0
Python 3.8.5
ipyparallel 6.3.0
ipykernel 5.5.3

remote machine
Python 3.6.9
ipython 7.16.1
ipyparallel 6.3.0
ipkernel 5.4.2

Things I have tried:
copying directory
restarting
upgrading everything
deleting ipython pid and engines.json files
ls -al to find files in the problem directory that might cause an issue.
deleting __pycache__

It was working well before today. Last tried several days ago, when it was working. Unfortunately the directory that is not working is the one I always use.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在报告所述的目录中使用入口点 `ipcluster start` 重现故障,并将其与启动成功的目录进行比较。检查 controller 和 engine 启动附近的启动输出,然后确认 cluster 仍在运行,并且只有在有意停止时才会清理 pid 文件。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter, python
领域
cli, distributed-systems
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。