Differences between revisions 8 and 12 (spanning 4 versions)
Revision 8 as of 2010-01-24 19:20:48
Size: 1206
Editor: qed777
Comment: Add title
Revision 12 as of 2022-04-05 02:12:08
Size: 0
Editor: mkoeppe
Comment: outdated sagenb
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Starting the Notebook: Tips and Tricks =

This page is intended to complement and extend the docstring for the `notebook()` function in Sage, which is long and complicated enough as it is!

I think we should have some more extended discussion of the examples from the notebook docstring here, particularly the options for running a public notebook server.

Here's an example of one thing that's probably better here than in the docstring: the `timeout` parameter is useful if you find that your server is running out of memory, or seriously bogging down with multiple users. Setting a nonzero timeout will kill idle sessions that are needlessly using memory. See [[http://groups.google.com/group/sage-support/browse_thread/thread/6735e88260cc079/|this sage-support thread]] (and particularly kcrisman's comments).

If you are having trouble accessing the notebook server, make sure you specify `address=''` when starting the notebook. The tells the notebook server to listen on all network addresses. Using the incorrect `address` line can have strange effects, such as images not showing up in published worksheets!

Example of configuring the Sage notebook using !VirtualBox: SageVirtualBox