Apologies for bringing up an old question (very neat how the google group 
pointed me to it before I asked my question). We have a sage server that 
has been hanging a bit recently and I had to restart it for the first time 
today (completely unresponsive until I did at which point it was good as 
new). Has the command changed and it is now: timeout? I.e. starting a 
server with below will timeout after 1200 seconds (20 minutes).

notebook(interface='localhost', 
directory='./sage_notebook.sagenb',port=8000, accounts=True, timeout=1200, 
server_pool=['sage%d@localhost'%i for i in range(100)], ulimit='-u 100 -t 
36000 -v 500000', open_viewer=None)

I'm also pasting the whole command in there just in case there's anything 
else we're doing that might not be quite right...

Thanks,

Vince

On Thursday, May 26, 2011 6:33:49 PM UTC+1, Jason Grout wrote:
>
> On 5/26/11 12:19 PM, Chris Seberino wrote:
> > Suppose different students sign into the same Sage server at different
> > times.
> >
> > Won't that cause EVERY STUDENT's notebook to be in memory bogging down
> > the server?
> >
> > I've been rebooting but maybe the smartest thing is to either...
> >
> > 1. Make students sign out? (Some will forget!!)
> >
> > 2. Autokill after 1 hour of inactivity?
>
> You can set a timeout that "autokills" worksheets after a certain period 
> of time.  See the notebook command help:
>
> notebook?
>
> Jason
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to