As (maybe) you remember I starting the installation of my "university
wide" Sage server.
One idea is to launch 2 Sage servers on each machine (one machine has
32Gb ram and 4x2 cores). So: I create a "sage" user, in /home/sage I
create two directories.
In the first one I do:
sage<notebook(port=8001,secure=True,address='',open_viewer=False,accounts=True)&
ok... cd to the second directory; there I do:
sage<notebook(port=8002,secure=True,address='',open_viewer=False,accounts=True)&
and I get:
----
Another twistd server is running, PID 8301
This could either be a previously started instance of your application or a
different application entirely. To start a new one, either run it in
some other
directory, or use the --pidfile and --logfile parameters to avoid clashes.
----
same problem if I change the definition of the pidfile and the logfile.
*But*, anyway, is it the good way to do? I remember something about
launching more than one Sage process, but cannot find this in the doc.
Yours
t.d.
-------------
French universities are on a permanent strike!
Have a look at the International Call:
http://math.univ-lyon1.fr/appel
-------------
You must do
notebook(dir='local_notebook',
port=8001,secure=True,address='',open_viewer=False,accounts=True)
instead in both cases.
>
> ok... cd to the second directory; there I do:
> sage<notebook(port=8002,secure=True,address='',open_viewer=False,accounts=True)&
>
> and I get:
>
> ----
> Another twistd server is running, PID 8301
>
> This could either be a previously started instance of your application or a
> different application entirely. To start a new one, either run it in
> some other
> directory, or use the --pidfile and --logfile parameters to avoid clashes.
> ----
>
> same problem if I change the definition of the pidfile and the logfile.
>
>
> *But*, anyway, is it the good way to do? I remember something about
> launching more than one Sage process, but cannot find this in the doc.
>
> Yours
> t.d.
>
>
> -------------
> French universities are on a permanent strike!
> Have a look at the International Call:
> http://math.univ-lyon1.fr/appel
> -------------
>
>
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
thanks, but... it does not work (or I did not understand); the error
message is:
TypeError: notebook_twisted() got an unexpected keyword argument 'dir'
yours
t.d.
>
>
--
Try
notebook('local_notebook',
port=8001,secure=True,address='',open_viewer=False,accounts=True)