STACK. Maxima command "timeout --kill-after=10s 10s maxima"

STACK. Maxima command "timeout --kill-after=10s 10s maxima"

by Evgeniy Grishenko -
Number of replies: 2

I'm trying to optimize the STACK with the Maxima. They are running on a weak server. Sometimes there are zombie processes of Maxima that consume resources. 

I found the field "Maxima command" in the STACK settings. Can we write the command "timeout --kill-after=10s 10s maxima" directly to this field? 

Average of ratings: -
In reply to Evgeniy Grishenko

Re: STACK. Maxima command "timeout --kill-after=10s 10s maxima"

by Christopher Sangwin -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Please use the "optimised maxima" route instead.  This will use the timeout command as well.  There is a button to do this at the bottom of the healthcheck page.

In reply to Christopher Sangwin

Re: STACK. Maxima command "timeout --kill-after=10s 10s maxima"

by Evgeniy Grishenko -
Thank you very much for your answers.

I don't understand how parameters in the field "Maxima command" and automatic creation of the optimized image are related. If I don't click the button "Create Maxima image", the parameter in the field "Maxima command" doesn't work? It doesn't affect anything?  

I read in the documentation that the Maxima's timeout should be longer than the CAS connection timeout. Why is this times equal when automatically creating an optimized image? Both are equal to 10 seconds. Can I write "timeout --kill-after=15s 15s maxima" in the field "Maxima command"?

One more question. Do I understand correctly that creating Maxima image is done by compiling it from sources using gcc?