title: Jupyter notebook : kernel restarts suddenly
body: <p>I use Jupyter lab and Jupyter Notebook for my Deep Learning programs, so I made some long runs in order to train my models. But for some weeks, I've had recurrent kernel restarts after hours of training, which is very annoying. In addition, very few informations are given by the server console or by the browser log :</p>
  <p>Jupyter-lab server log :</p>
  <pre><code>[I 2021-02-26 00:40:03.756 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports
  kernel 1330ee40-a826-44e2-9be9-f123deeaa1b2 restarted
  [I 2021-02-26 00:40:04.070 ServerApp] Starting buffering for 1330ee40-a826-44e2-9be9-f123deeaa1b2:1b7fa111-f2d2-4804-bd90-c81e26562254
  [I 2021-02-26 00:40:04.112 ServerApp] Restoring connection for 1330ee40-a826-44e2-9be9-f123deeaa1b2:1b7fa111-f2d2-4804-bd90-c81e26562254
  </code></pre>
  <p>I have the same problem when I use Jupyter-notebook instead of Jupyter-lab.</p>
  <p>Various remarks :</p>
  <ul>
  <li>The server and the client are not on the same machine, therefore I use ssh to connect to the server as described <a href="https://amber-md.github.io/pytraj/latest/tutorials/remote_jupyter_notebook" rel="nofollow noreferrer">here</a>.</li>
  <li>I work under a corporation proxy</li>
  <li>I use Tensorflow 2 for Deep Learning</li>
  </ul>