<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 2:31 PM, Schwab,Wilhelm K <span dir="ltr"><<a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a>></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 "how it is") 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'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 <<a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a><mailto:<a href="mailto:janko.mivsek@eranova.si">janko.mivsek@eranova.si</a>>><br>
<div class="im">Hi Henrik,<br>
<br>
S, Henrik Sperre Johansen piše:<br>
> On 05.10.2011 01:18, Schwab,Wilhelm K wrote:<br>
<br>
>> The log you posted contains the string "Not enough space for external<br>
>> objects, set a larger size at startup!" Maybe a command-line switch<br>
>> to the vm will give you more memory and a way to get the image going?<br>
<br>
> Smalltalk vm maxExternalSemaphoresSilently: aSize would be the line to<br>
> include.<br>
> If the script passed on a command line is higher in the startuplist than<br>
> the InputEventSensor, it would get it working again.<br>
<br>
</div>Ok, I'm back having time to look at this problem and I made a <a href="http://start.st" target="_blank">start.st</a><<a href="http://start.st" target="_blank">http://start.st</a>><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't help.<br>
<br>
</div><a href="http://start.st" target="_blank">start.st</a><<a href="http://start.st" target="_blank">http://start.st</a>><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><<a href="http://start.st" target="_blank">http://start.st</a>><br>
<div><div></div><div class="h5"><br>
Any more idea? Otherwise I'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>