On Wed, Apr 8, 2009 at 12:14 PM, kcrisman <kcris...@gmail.com> wrote:
>
>> You probably don't have nearly enough RAM to support running several
>> Sage processes.   Perhaps your use of ulimit to limit resource
>> consumption isn't setup very well.  It's hard to give you any
>> information at all though, given that your email question doesn't
>> clearly summarize all the details about your current Sage notebook
>> install.  There are infinitely many ways to configure a Sage notebook
>> server.
>
> Just as a postscript, this (very new) problem we are having turns out
> to have nothing to do with memory etc, at least not directly.
> Instead, the following process in the virtual machine seems to be the
> problem:
>
> python /usr/local/sage/local/bin/twistd --pidfile=sage_notebook/
> twistd.pid -ny sage_notebook/twistedconf.tac

That process is the Sage notebook server.

>
> It consumes between 99% and 100% of all CPU on the VM whenever one
> attempts to evaluate, e.g., 2+2.  For minutes on end, with no other
> users doing anything.  Eventually, when people give up or the
> calculation ends or is interrupted, it goes back to a quiescent
> state.  It starts up immediately upon starting the machine, which is
> done with the additional instruction

Your Sage notebook is probably seriously misconfigured.  Not knowing anything
further and not having access, I have no idea how.  I've never seen
the actual problem
you're describing though.

I hope you figure it out.

William

>
> su - notebook
>
> but everything else is the same as anywhere else.  For instance each
> new worksheet or user or whatever is via
>
> bash -c ulimit -v 500000; sage -python -u
>
> On my own installation of 3.4 I have similar extremely slow issues in
> the notebook, e.g. checking whether a Legendre symbol is + or -1 takes
> around two minutes, with a huge amount due to this process.
>
> - kcrisman
> >
>



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

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

Reply via email to