I have seen this from time to time as well, though was never able to reliably reproduce it (and it hasn't happened to me for a while, so I thought it was fixed). Sometimes when running a calculation *or* adding/removing cells the notebook process (not the sage process actually doing the computation) gets pegged at 100% and the notebook becomes completely unresponsive.
I wonder if hitting control-C while the notebook is in this state would shed any light on what it's actually doing? (Perhaps after disabling catching the control-C exception. - Robert On May 29, 2009, at 1:45 PM, Marshall Hampton wrote: > "This", for me, is extremely sluggish notebook behavior in creating > cells, and to a lesser extent autocompletion. I'm not sure if its > related to the "100% CPU" issue of Kiran. > > The first version I saw this in was 3.4, and its still there in > 3.4.2. But it seems much much worse on one of my servers than the > others - all of which are now running 3.4.2 on the same machine. I > just set up a seperate server for a small class and it seems fine, > which makes me wonder if the age of my sluggish server is the problem > - there are hundreds of worksheets from a variety of users on it. > This is on an intel mac pro running OS 10.4. > > Its very frustrating to my grad students; they sometimes have to wait > 10-20 seconds for a new cell to be created after clicking. Its almost > impossible to resist clicking multiple times when that happens, and > then they get multiple new cells all at once when it finally gets > unstuck. > > I could give you access to that server if you want to check it out > firsthand. > > -Marshall > > On May 29, 12:50 pm, William Stein <wst...@gmail.com> wrote: >> 2009/5/29 Kiran Kedlaya <ksk...@gmail.com>: >> >> >> >> >> >>> On Apr 14, 3:47 pm, William Stein <wst...@gmail.com> wrote: >>>> On Tue, Apr 14, 2009 at 12:30 PM, Kiran Kedlaya >>>> <ksk...@gmail.com> wrote: >> >>>>> I see 100% CPU usage when the notebook is processing a cell. I >>>>> don't >>>>> remember whether I still have it when a worksheet is open but >>>>> idle. >> >>>>> Kiran >> >>>> For the record, I definitely don't see that (I just checked now) >>>> and >>>> in fact I've never seen that on any OS/hardware combination ever. >> >>>> Could you make the above statement *precise*: >>>> - what OS/hardware? >>>> - what process(es) are 100% utilizing the CPU, exactly? >>>> (obviously >>>> at least one should be!) >> >>>> etc. >> >>>> -- William >> >>> I'm seeing this on a 64-bit Opteron box running Fedora 10. When I >>> run >>> top, I see a "python" process at 100% CPU. >> >> What is "this" precisely? Is it "I see 100% CPU usage when the >> notebook is processing a cell."? Since you *should* see 100% when >> Sage is doing a calculation. >> >> >> >>> Update: I'm now seeing this in every version of Sage that I've >>> tried, >>> back all the way to 3.0 and forward all the way to 4.0.rc1 (which >>> appears to fix some other memory issues on 64-bit Fedora 10). >> >>> Kiran >> >> -- >> William Stein >> Associate Professor of Mathematics >> University of Washingtonhttp://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 -~----------~----~----~----~------~----~------~--~---