我正在使用本地计算机,并在服务器上运行我的算法。为了保持Jupyter笔记本的运行,我在服务器上运行以下命令:
nohup jupyter笔记本电脑—无浏览器&
ssh -nNT -L 9999:localhost:8888 myuser@ipServer
profile=pandas_profiling.ProfileReport(df)
profile.to_file(outputfile='myoutputfile_FINAL_DATASET.html')
这个数据集非常庞大:4,51gb,有840000行和5308列(运行该数据集需要4天时间)
我想如果我添加这两行运行nohup,它将保持可变的配置文件,并转到下面的行。然而,似乎变量配置文件在运行完第一行之后就消失了。
编辑:
我意识到今天早上发生了一些事情,突然,内核在
[I 06:54:03.346记事本应用程序]
[I 12:43:53.577 NotebookApp] Starting buffering for c9688f9f-ed12-4eff-a18c-aa300b62faf1:8a1a4286bc5d43d6823c15c9ad8c9512
[I 12:43:55.592 NotebookApp] Starting buffering for b207c9f7-f0c7-40e7-8f67-1c85024a8be6:4a9971a622294cd1832873e0fbc181f0
[I 06:54:03.346 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
[I 09:35:34.509 NotebookApp] 302 GET / (127.0.0.1) 24.76ms
[W 09:35:35.347 NotebookApp] 404 GET /apple-touch-icon-precomposed.png (127.0.0.1) 53.83ms referer=None
[W 09:35:35.376 NotebookApp] 404 GET /apple-touch-icon.png (127.0.0.1) 1.23ms referer=None
[I 09:35:47.593 NotebookApp] Adapting to protocol v5.1 for kernel b207c9f7-f0c7-40e7-8f67-1c85024a8be6
[I 09:37:47.424 NotebookApp] Saving file at /Profiling_FINAL_DATASET.ipynb
[I 09:39:49.759 NotebookApp] Saving file at /Profiling_FINAL_DATASET.ipynb
[I 09:41:49.777 NotebookApp] Saving file at /Profiling_FINAL_DATASET.ipynb
[W 09:44:47.657 NotebookApp] WebSocket ping timeout after 119897 ms.
[I 09:44:52.708 NotebookApp] Starting buffering for b207c9f7-f0c7-40e7-8f67-1c85024a8be6:eb4a6d0415604f078b9c0229d93cdc33
[I 10:04:17.875 NotebookApp] Adapting to protocol v5.1 for kernel b207c9f7-f0c7-40e7-8f67-1c85024a8be6
[I 10:04:17.884 NotebookApp] Restoring connection for b207c9f7-f0c7-40e7-8f67-1c85024a8be6:eb4a6d0415604f078b9c0229d93cdc33
[I 10:04:25.803 NotebookApp] 302 GET / (127.0.0.1) 3.45ms
[I 10:04:42.583 NotebookApp] Adapting to protocol v5.1 for kernel b207c9f7-f0c7-40e7-8f67-1c85024a8be6
[I 10:07:56.233 NotebookApp] Saving file at /Profiling_FINAL_DATASET.ipynb
[I 10:09:56.421 NotebookApp] Saving file at /Profiling_FINAL_DATASET.ipynb