[sage-support] Re: Processes followup

2009-04-09 Thread kcrisman


 The symptom of twisted going nuts is exactly what happened in the
 wiki. Which kernel are you using? Can you check kern.log (or is it
 kernel.log) in /var/log for any oddities?

Linux sage 2.6.17-12-386 #2 Tue Dec 18 02:08:33 UTC 2007 i686 GNU/
Linux

No oddities in kern.log.

- kcrisman
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-support] Re: Processes followup

2009-04-09 Thread kcrisman



 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.

Just for reference, is there any file or command that would give a
complete list of server configuration options as current while the
server is running?

I honestly don't think we did anything unusual or not by the wiki
when setting up, but we are trying several alternate things in a quest
to track it down.

- kcrisman
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sage-support] Re: Processes followup

2009-04-09 Thread William Stein

On Thu, Apr 9, 2009 at 8:26 AM, kcrisman kcris...@gmail.com wrote:



 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.

 Just for reference, is there any file or command that would give a
 complete list of server configuration options as current while the
 server is running?

The file sage_notebook/twistedconf.tac gives all twisted-related
configuration information.

 I honestly don't think we did anything unusual or not by the wiki
 when setting up, but we are trying several alternate things in a quest
 to track it down.

 - 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
-~--~~~~--~~--~--~---



[sage-support] Re: Processes followup

2009-04-08 Thread William Stein

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 50; 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
-~--~~~~--~~--~--~---



[sage-support] Re: Processes followup

2009-04-08 Thread mabshoff



On Apr 8, 1:11 pm, William Stein wst...@gmail.com wrote:
 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


The symptom of twisted going nuts is exactly what happened in the
wiki. Which kernel are you using? Can you check kern.log (or is it
kernel.log) in /var/log for any oddities?

The issue on the old sagemath.org was with some probability a hardware
issue, i.e. wonky RAM, even though that was never 100% verified.

Cheers,

Michael
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---