<div dir="ltr">Hi David,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 6:00 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Attached is a screen shot of the process browser in the <a href="http://squeaksource.com" target="_blank">squeaksource.com</a><br>

image, showing the excess SSSession processes. They are deadlocked on<br>
accessing DateAndTime now, which contains a critical section using the<br>
LastTickSemaphore in class DateAndTime.<br>
<br>
In the <a href="http://squeaksource.com" target="_blank">squeaksource.com</a> image, LastTickSemaphore has 0 excess signals,<br>
whereas in other images I look at, it has 1 excess signal. This looks<br>
to me like a mutex that has gotten confused.<br>
<br>
I sent a signal to LastTickSemaphore in class DateAndTime, and now it<br>
looks like a mutex again. Let&#39;s see if that clears the problem.<br>
<br>
This certainly has a bad smell about it :-(  But I note also that<br>
we are running our SqueakSource services on older images, and a number<br>
of changes have been made to DateAndTime since then.<br>
<br>
Nicolas, I will send private email to give you the VNC password for access<br>
to the <a href="http://squeaksource.com" target="_blank">squeaksource.com</a> image in case you need it (I am going to get some<br>
sleep soon).<br></blockquote><div><br></div><div>All this LastTickSemaphore stuff is complete nonsense, wasting on average 1/2 a second on startup spinning until the clock rolls over.  If we move to the 64-bit microsecond timebase which is provided by the Cog time primitives we don&#39;t need to sync the second and the millisecond clocks because they are replaced by a single microsecond clock.  If the current Interpreter VMs do support the 64-bit microsecond primitives I suggest we move ASAP.  QWe&#39;ve already done this in our images at Cadence and been running happily with it for several months.  Would this help?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Dave<br>
<br>
<br>
On Thu, Nov 14, 2013 at 08:26:45PM -0500, David T. Lewis wrote:<br>
&gt; The image is now showing 10 session handler processes in the process<br>
&gt; browser. Presumably these are related to the failed upload requests.<br>
&gt;<br>
&gt; I do not understand the cause of this problem, and it may be that I<br>
&gt; should revert the changes that I did earlier today (in which I put<br>
&gt; squeaksource under the control of the supervise(8) for starting the<br>
&gt; image).<br>
&gt;<br>
&gt; But I suspect that the problem lies elsewhere, so for I will make<br>
&gt; a copy of the broken image for debugging, then terminate the excess<br>
&gt; processes. This should clear the problem temporarily. I will follow<br>
&gt; up with another email within about 30 minutes.<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Nov 15, 2013 at 01:28:18AM +0100, Nicolas Cellier wrote:<br>
&gt; &gt; Thanks David, it went back to normal speed for a moment, but is now<br>
&gt; &gt; rejecting my upload requests again (most will timeout, some do work<br>
&gt; &gt; intermittently)...<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; 2013/11/14 David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Thu, Nov 14, 2013 at 10:55:55PM +0100, Nicolas Cellier wrote:<br>
&gt; &gt; &gt; &gt; Yes, let&#39;s remove the alarms.<br>
&gt; &gt; &gt; &gt; But it has to be functional.<br>
&gt; &gt; &gt; &gt; Currently, I can connect on the web interface and I can download, but all<br>
&gt; &gt; &gt; &gt; my upload are failing with timeout... Any idea?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I made some changes to the launch script for <a href="http://squeaksource.com" target="_blank">squeaksource.com</a> earlier<br>
&gt; &gt; &gt; today:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; <a href="http://lists.squeakfoundation.org/pipermail/box-admins/2013-November/001598.html" target="_blank">http://lists.squeakfoundation.org/pipermail/box-admins/2013-November/001598.html</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; It is possible that this may be related to the problem you are seeing (I am<br>
&gt; &gt; &gt; not sure at this point).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I tried loading some packages from squeaksource a few minutes ago, and it<br>
&gt; &gt; &gt; was slow but functional. However, checking the image I see 15 active<br>
&gt; &gt; &gt; SSession handlers in a ProcessBrowser. This is not right, and it appears<br>
&gt; &gt; &gt; to be a recurrence of a problem that we have seen previously on an<br>
&gt; &gt; &gt; intermittent<br>
&gt; &gt; &gt; basis, both on <a href="http://squeaksource.com" target="_blank">squeaksource.com</a> and (probably) on <a href="http://source.squeak.org" target="_blank">source.squeak.org</a>.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I will terminate the runaway session handler processes, which I hope will<br>
&gt; &gt; &gt; clear up the immediate problem.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; More to follow I&#39;m sure ...<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Dave<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 2013/11/14 Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On 14.11.2013, at 13:04, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; The welcome (sic) message on the SqueakSource home page is overly<br>
&gt; &gt; &gt; &gt; &gt; alarming,<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; and IMHO should be changed to something that encourages new<br>
&gt; &gt; &gt; projects to<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; be created elsewhere, but that does not cause alarm for existing<br>
&gt; &gt; &gt; usurs.<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; But that is a policy decision, and I will defer to the Squeak board<br>
&gt; &gt; &gt; and<br>
&gt; &gt; &gt; &gt; &gt; &gt;&gt; the Squeak community on this.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; +1<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; I think we should we should delete the &quot;ATTENTION!&quot; line but leave<br>
&gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt; &gt; &gt; note about creation of projects being disabled.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Yep.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; - Bert -<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
<br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>