I guess, the UI is frozen and alt-. does not work anymore (or you run
headless)...
Then, I suggest to printAllStacks(), printCurrentStack() (or
similar), and do a backtrace with gdb when the image is in a bad
state. This should give you more datapoints.
Please keep us up to date or ask for more help if necessary.
Adrian
Btw., any unusual high memory consumption of such an image?
On Mar 19, 2007, at 13:29 , Florian Minjat wrote:
> I have almost the same problem...
>> I am running Squeak3.9 with Seaside2.7a1-mb.205. I use squeak as a
> transparent persistant object database and save the image every
> 12hours. Everything works fine.
>> BUT after some days, sometimes two days, sometimes one week, the
> image finish to hang strangely : everything works fine in the
> seaside app, you can use the application normally perhaps a little
> slower than usual, but it could be my network. But any attempt to
> save the image, or update the code via monticello, or use a
> SmartRefStream to save a part of the image using a Seaside app just
> makes my browser load until timeout (with WAVersionUploader for
> example). If I check the process using top, I just see Squeak at
> 99.9% CPU. If I use the WAScreenshot app to look at the UI, there
> is no debugger, no error, nothing out of the ordinary...
>> This is very bad because when it ends like this, I have no choice
> to kill squeak and loose all the data since the last save of the
> image. And when I restart with the last save, everything is ok ant
> squeak is quick and very responsive. Until the next times it hangs...
>> Every 12 hours I 'clean' the image before saving it with this code :
> WARegistry clearAllHandlers.
> MCFileBasedRepository flushAllCaches.
> Smalltalk garbageCollect.
>> I run this code and the save of the image inside an on:do: Error
> block with log of the stack in case of an Error, but I get nothing.
>> I don't know what to add to be sure the image will stay healthy.
> Should I save then kill and restart the image each night ?
>> How can I track or inspect or debug the image in such a state to
> find out what is happening?
>> Thanks in advance for any suggestion, I am a little lost with no
> clue there.
>> Florian
>> Philippe Marschall wrote:
>> 2007/3/16, Brad Fuller <brad at sonaural.com>:
>>> I have an image that seemed to not respond, and was running about
>>> 99%
>>> (from top). I tried ATL+. to see if that would help from VNC,
>>> but isn't
>>> that just for UI issues?
>> No
>>> What are good ways to found out what is
>>> happening to an image that is taking up all CPU time?
>> Process explorer or gdb.
>>> After a while, it went down to about 45% and has slowed to a
>>> whopping
>>> but steady 40%. So, I'm just going to wait until it settles down.
>>>>>> In the meantime, I'd like to find out what was going on. This is a
>>> remote, headless seaside image (latest production) and 3.9 Final.
>>>>>> Any advice is much appreciated!
>>>>>> thanks,
>>> brad
>>>>>>>>>>>> _______________________________________________
>>> Seaside mailing list
>>>Seaside at lists.squeakfoundation.org>>>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>>>>> _______________________________________________
>> Seaside mailing list
>>Seaside at lists.squeakfoundation.org>>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside> _______________________________________________
> Seaside mailing list
>Seaside at lists.squeakfoundation.org>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside