<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 2:31 PM, Schwab,Wilhelm K <span dir="ltr">&lt;<a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Eliot,<br>
<br>
Is there a way to save the image given that it is non-responsive?  Otherwise (and this could be &quot;how it is&quot;) one would have to apply the fix before having the problem.  Just curious.  Should we all periodically take a semaphore head count in our images?<br>

<br>
I try to leave a reasonable trail of backups of working images just in case I do something stupid; a little uncertainty can motivate cautious behavior...<br></blockquote><div><br></div><div>Hmm... I think what&#39;s needed is a command-line parameter.  Give me a few...</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Bill<br>
<br>
<br>
<br>
________________________________________<br>
From: <a href="mailto:pharo-project-bounces@lists.gforge.inria.fr">pharo-project-bounces@lists.gforge.inria.fr</a> [<a href="mailto:pharo-project-bounces@lists.gforge.inria.fr">pharo-project-bounces@lists.gforge.inria.fr</a>] On Behalf Of Eliot Miranda [<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>]<br>

Sent: Friday, October 07, 2011 4:22 PM<br>
To: <a href="mailto:Pharo-project@lists.gforge.inria.fr">Pharo-project@lists.gforge.inria.fr</a><br>
Subject: Re: [Pharo-project] Too many semaphores, image blocked<br>
<div class="im"><br>
Hi Janko,<br>
<br>
    you need to /save/ the image having applied Smalltalk vm maxExternalSemaphoresSilently: 3000.  This must be set in the image at start-up, not after the image has loaded.  i.e. the VM inspects the value saved in the image header and applies the value *before* the image starts running.<br>

<br>
</div>2011/10/7 Janko Mivšek &lt;<a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a>&lt;mailto:<a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a>&gt;&gt;<br>
<div class="im">Hi Henrik,<br>
<br>
S, Henrik Sperre Johansen piše:<br>
&gt; On 05.10.2011 01:18, Schwab,Wilhelm K wrote:<br>
<br>
&gt;&gt; The log you posted contains the string &quot;Not enough space for external<br>
&gt;&gt; objects, set a larger size at startup!&quot;  Maybe a command-line switch<br>
&gt;&gt; to the vm will give you more memory and a way to get the image going?<br>
<br>
&gt; Smalltalk vm maxExternalSemaphoresSilently: aSize  would be the line to<br>
&gt; include.<br>
&gt; If the script passed on a command line is higher in the startuplist than<br>
&gt; the InputEventSensor, it would get it working again.<br>
<br>
</div>Ok, I&#39;m back having time to look at this problem and I made a <a href="http://start.st" target="_blank">start.st</a>&lt;<a href="http://start.st" target="_blank">http://start.st</a>&gt;<br>
<div class="im">script below, start the image with it, but get the same blank screen as<br>
you can see in attached screenshot. Ctrl or Alt . doesn&#39;t help.<br>
<br>
</div><a href="http://start.st" target="_blank">start.st</a>&lt;<a href="http://start.st" target="_blank">http://start.st</a>&gt;<br>
Smalltalk vm maxExternalSemaphoresSilently: 3000<br>
<br>
<br>
./Contents/Linux/squeak ./Contents/Resources/waste.image <a href="http://start.st" target="_blank">start.st</a>&lt;<a href="http://start.st" target="_blank">http://start.st</a>&gt;<br>
<div><div></div><div class="h5"><br>
Any more idea? Otherwise I&#39;ll start to recover from changes, but<br>
starting this nonresponsive image would of course be faster solution:)<br>
<br>
Best regards<br>
Janko<br>
<br>
<br>
--<br>
Janko Mivšek<br>
Aida/Web<br>
Smalltalk Web Application Server<br>
<a href="http://www.aidaweb.si" target="_blank">http://www.aidaweb.si</a><br>
<br>
<br>
<br>
--<br>
best,<br>
Eliot<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>