2
$\begingroup$

If one restarts MathLM on a Linux server, will that restart mathkernel as well? In other words, will restarting MathLM affect the current jobs running that use MathKernels?

Thanks.

$\endgroup$
  • $\begingroup$ No. If for example the MathLM server crashes, the client copies of Mathematica won't suddenly close. In other words the clients are not constantly contacting the license server for their licenses. $\endgroup$ – Searke Nov 29 '12 at 0:32
  • $\begingroup$ @Searke it contradicts my observations. It happened to me few times (two times I guess) that I lost part of my work some time after the crash of the server running MathLM. But in all these cases I was working in the frontend, not in pure MathKernel. $\endgroup$ – au700 Nov 29 '12 at 0:56
  • $\begingroup$ If the mathlm isn't restarted fast enough you might see this. I don't know what the period of check-ins would be. $\endgroup$ – Searke Nov 29 '12 at 16:05
  • 1
    $\begingroup$ You should really see my answer here. $\endgroup$ – John Fultz Dec 3 '12 at 2:07
0
$\begingroup$

I found that yes, it does affect the current jobs. One has to restart the jobs. The jobs just lose "connection" with the license manager. One would expect it to run as an independent process and get finished despite losing the communication with license manager. However, MathKernel does not execute the jobs and neither does it throw an error. Finally, the processes need to be killed.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.