On Wed, Dec 7, 2011 at 2:30 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu>wrote:
Eliot,
Nice! Do you dump *all* stacks, or only those (in Dolphin lingo) for the non-dead processes. In a very active image at least, Dolphin can have a fair number of processes in various stages of being removed from the system, so it was useful to suppress stacks for the ones that were not going to come back.
It prints the active process, all processes waiting on Semaphores and/or Mutexes and the runnable processes, in that order.
Bill
------------------------------ *From:* pharo-project-bounces@lists.gforge.inria.fr [ pharo-project-bounces@lists.gforge.inria.fr] on behalf of Eliot Miranda [ eliot.miranda@gmail.com] *Sent:* Wednesday, December 07, 2011 4:49 PM
*To:* Pharo-project@lists.gforge.inria.fr *Subject:* Re: [Pharo-project] How to resurrect an unrepsonsive image?
On Wed, Dec 7, 2011 at 10:55 AM, Schwab,Wilhelm K <bschwab@anest.ufl.edu>wrote:
That assumes there is an error. Another (even more frustrating) failure arises when an image does nothing. It is very help to be able to get callstacks in that scenario.
On Mac and Linux the Cog VM responds to SIGUSR1 by dumping all stacks to crash.dmp.
------------------------------ *From:* pharo-project-bounces@lists.gforge.inria.fr [ pharo-project-bounces@lists.gforge.inria.fr] on behalf of Javier Pimás [ elpochodelagente@gmail.com] *Sent:* Wednesday, December 07, 2011 1:52 PM *To:* Pharo-project@lists.gforge.inria.fr *Subject:* Re: [Pharo-project] How to resurrect an unrepsonsive image?
Probably you have a crash.dmp or a PharoDebug.log which tells you what is happening. Look at the backtrace to see what causes the error and then maybe there's some way to help you fixing it.
Cheers, Javier.
On Wed, Dec 7, 2011 at 10:47 AM, Norbert Hartl <norbert@hartl.name>wrote:
I have a headless image that was running for a couple of days. Now it is not responding anymore. The image was running still but the sockets for http and vnc were closed and restarting the image just brings it up without any sockets opened. Injecting something via script does not work either. I copied the image to my desktop and tried a few things but no success. What would be a good way to get a glimpse of what is causing problems? I had Scheduler running that saved the image every hour. And the image itself issues http request to the outside world every 10 minutes.
thanks,
Norbert
-- Lic. Javier Pimás Ciudad de Buenos Aires
-- best, Eliot
-- best, Eliot