Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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.

share|improve this question
    
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. –  Searke Nov 29 '12 at 0:32
    
@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. –  au700 Nov 29 '12 at 0:56
    
If the mathlm isn't restarted fast enough you might see this. I don't know what the period of check-ins would be. –  Searke Nov 29 '12 at 16:05
1  
You should really see my answer here. –  John Fultz Dec 3 '12 at 2:07

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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