On Fri, Mar 6, 2009 at 11:41 PM, mabshoff
<[email protected]> wrote:
>
>
>
> On Mar 6, 11:22 pm, Rob Beezer <[email protected]> wrote:
>> My 30 MB nb.sobj was also being saved twice a minute.  Is this a
>> reasonable size for this file?
>>
>> After some head-scratching, I found the threadhttp://tinyurl.com/aht325
>>
>> which had the following commands to use at the sage command line:
>>
>> sage: nb = load('/home/rob/.sage/sage_notebook/
>> nb.sobj',compress=False)
>> sage: nb.conf()['save_interval']=int
>> (3600)
>> sage: nb.save()
>>
>> This seems to have halted the high frequency of the saves, but I
>> haven't waited an hour to see if that is what will really happen.
>>
>> It still does not appear that that the setting in user_conf.py was
>> having any effect for me.
>
> Did you run "sage -b" after editing the file?

user_conf.py define the defaults only for a new sage notebook install.
That's why the above snipped of code works and stays working.

I would be very happy with upping the default to 1 hour for save_interval.
Having a smaller interval is *only* an advantage if a user's notebook
server process crashes or is killed by a power outage or something --
which doesn't happen that much.  Even then, individual worksheet data
wouldn't be lost.

 -- William

>
> Sage 3.3 or later should not keep any snapshots around if the
> worksheet is unchanged. If it does in your case there is a new bug in
> there somewhere.
>
> Cheers,
>
> Michael
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to