ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 13 Nov 2011 08:28:48 +0100Green bar in notebookhttps://ask.sagemath.org/question/8451/green-bar-in-notebook/It happens somewhat often, with different programs, that I click shift-enter to run a long calculation in Sage, and at some point later notice that the green bar is gone, but now that skinny red bar is there, as if it had never been run. And, if I try to run something else, even something that takes a millisecond, it sits there with the green bar. My thought is that the original long calculation is still running. Do you think my estimation is correct? If so, is this a known issue? Is there a way to fix it?Tue, 08 Nov 2011 08:09:59 +0100https://ask.sagemath.org/question/8451/green-bar-in-notebook/Answer by Jason Grout for <p>It happens somewhat often, with different programs, that I click shift-enter to run a long calculation in Sage, and at some point later notice that the green bar is gone, but now that skinny red bar is there, as if it had never been run. And, if I try to run something else, even something that takes a millisecond, it sits there with the green bar. My thought is that the original long calculation is still running. Do you think my estimation is correct? If so, is this a known issue? Is there a way to fix it?</p>
https://ask.sagemath.org/question/8451/green-bar-in-notebook/?answer=12867#post-id-12867That's possible. Can you give an example of such a computation for sagenb.org? We can look at the network traffic and try to diagnose it.Tue, 08 Nov 2011 09:05:33 +0100https://ask.sagemath.org/question/8451/green-bar-in-notebook/?answer=12867#post-id-12867Answer by William Stein for <p>It happens somewhat often, with different programs, that I click shift-enter to run a long calculation in Sage, and at some point later notice that the green bar is gone, but now that skinny red bar is there, as if it had never been run. And, if I try to run something else, even something that takes a millisecond, it sits there with the green bar. My thought is that the original long calculation is still running. Do you think my estimation is correct? If so, is this a known issue? Is there a way to fix it?</p>
https://ask.sagemath.org/question/8451/green-bar-in-notebook/?answer=12888#post-id-12888Are you using one of the public servers such as [http://sagenb.org](http://sagenb.org)? If so, you get the red bar because the server resets worksheets after 10 minutes of CPU time has elapsed. I configured it this way because there are tens of thousands of accounts, everything runs on a single computer (right now), and I wanted to control usage. Now that scalability has been improving a lot (due to work of Mike Hansen and others), I'll likely increase this time substantially.
Sat, 12 Nov 2011 11:09:19 +0100https://ask.sagemath.org/question/8451/green-bar-in-notebook/?answer=12888#post-id-12888Comment by G-Sage for <p>Are you using one of the public servers such as <a href="http://sagenb.org">http://sagenb.org</a>? If so, you get the red bar because the server resets worksheets after 10 minutes of CPU time has elapsed. I configured it this way because there are tens of thousands of accounts, everything runs on a single computer (right now), and I wanted to control usage. Now that scalability has been improving a lot (due to work of Mike Hansen and others), I'll likely increase this time substantially. </p>
https://ask.sagemath.org/question/8451/green-bar-in-notebook/?comment=20913#post-id-20913@WilliamStein Actually, no it's not a public server. And, there is no timeout on this server. But, thanks for the idea.Sun, 13 Nov 2011 08:28:48 +0100https://ask.sagemath.org/question/8451/green-bar-in-notebook/?comment=20913#post-id-20913Comment by William Stein for <p>Are you using one of the public servers such as <a href="http://sagenb.org">http://sagenb.org</a>? If so, you get the red bar because the server resets worksheets after 10 minutes of CPU time has elapsed. I configured it this way because there are tens of thousands of accounts, everything runs on a single computer (right now), and I wanted to control usage. Now that scalability has been improving a lot (due to work of Mike Hansen and others), I'll likely increase this time substantially. </p>
https://ask.sagemath.org/question/8451/green-bar-in-notebook/?comment=20918#post-id-20918I just upped the timeout from 10 minutes to 1 hour, and am restarting all the public servers now.Sat, 12 Nov 2011 11:10:45 +0100https://ask.sagemath.org/question/8451/green-bar-in-notebook/?comment=20918#post-id-20918