<br><br><div class="gmail_quote">On Sun, Jul 18, 2010 at 9:56 AM, Rob Withers <span dir="ltr">&lt;<a href="mailto:reefedjib@yahoo.com">reefedjib@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I start the image with the following command:<br>
<br>
setsid bin/squeak -vm-display-null -vm-sound-null echat-server.image introducer.sq &amp;<br>
<br>
which runs it as a daemon, turns off display and sound, and runs a small script that starts a listening socket.  The output from top, after running a few minutes, is<br>
<br>
 PID       USER      PR  NI  VIRT     RES  SHR   S  %CPU %MEM    TIME+ COMMAND<br>
12557 vawhigso  20   0 1036m  42m 1276  S    23.4      0.3      0:28.32 squeak<br>
<br>
There are 8 cpus, so we are getting time on more than one cpu.  Memory has grown from 0.2 to 0.3 but doesn&#39;t seem to be growing ridiculously.  At some point in time (several hours, I believe), squeak is no longer running.  I do not know if this is because it runs out of memory, some other internal exit, or the webhost kills it.   It looks like it is infinitely looping, but not grabbing memory.   I expect it to idle at extremely low cpu.<br>

<br>
What kinds of debugging tools can I use to see what it is doing?<br></blockquote><div><br></div><div>In Cog platforms/unix/vm/sqUnixMain.c you&#39;ll find code to cause SIGUSR1 to print all stacks.  This can easily be ported to the standard VM. Is the above with Cog or the standard VM?</div>
<div><br></div><div>cheers</div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Thanks,<br><font color="#888888">
Rob <br>
<br>
</font></blockquote></div><br>