On 2013-10-18, at 14:33, "David T. Lewis" lewis@mail.msen.com wrote:
On Thu, Oct 17, 2013 at 04:29:09PM +0200, Bert Freudenberg wrote:
On 2013-10-17, at 14:56, "David T. Lewis" lewis@mail.msen.com wrote:
On Sun, Oct 13, 2013 at 05:34:11PM -0400, David T. Lewis wrote:
The new squeaksource image seems to be running well. It is too early to say for sure, but the runaway socket leaks that I saw in the old image do not appear to be occurring in the new image. There is however one socket leak that I have found to be associated with the VNC server. This apparently leaves one open file descriptor when a client closes its connection (BYW, this is the first time I've really had occasion to use Ian's RFBServer, it is really quite amazing). This does not directly impact squeaksource.com stability so I'm not going to worry about it for now.
To follow up - the new squeaksource.com image has continued to run without problems since I wrote the above. I intentionally restarted it two days ago (testing signal handlers for SIGHUP and SIGTERM based on suggestion from Chris), but otherwise it has run reliably and no manual intervention has been needed.
The socket leak problem is resolved, aside from the minor VNC bug mentioned above, and there has been no recurrence of the unexplained system overload that had occurred one time with the old image.
I still need to set up squeaksource.com under daemontools (tips or examples from source.squeak.org welcome, I've never done it before). Once that is done, I expect that the squeaksource.com image can run indefinitely with little or no manual intervention.
Dave
Do you know how much traffic it has?
The current apache log /var/log/apache2/squeaksource-access.log covers over five days of access logging (beginning at 13/Oct/2013:05:32:19 +0200) and it shows a good deal of read access activity:
ot@box3-squeak:/var/log/apache2# grep GET squeaksource-access.log | wc -l 54163 root@box3-squeak:/var/log/apache2#
So we are seeing around 10,000 GETs per day.
Here are the repository updates that have been made during the last seven days:
2013-10-11T13:13:22+00:00 STORED SmaccDevelopment/SmaCCDev-ThierryGoubier.34.mcz 2013-10-11T15:37:48+00:00 STORED ProcessWrapper/ProcessWrapper-Core-GustavoSantos.3.mcz 2013-10-13T17:21:39.327+00:00 STORED OSProcess/OSProcess-Base-ThierryGoubier.38.mcz 2013-10-13T17:22:49.056+00:00 STORED OSProcess/OSProcess-Base-dtl.39.mcz 2013-10-13T17:23:33.093+00:00 STORED OSProcess/OSProcess-dtl.85.mcz 2013-10-16T01:19:17.699+00:00 STORED OSProcessPlugin/VMConstruction-Plugins-OSProcessPlugin.oscog-eem.43.mcz 2013-10-17T08:26:45.651+00:00 STORED DaliotsPlayground/ConfigurationOfDaliotsPlayground-HwaJong.350.mcz 2013-10-17T11:59:46.884+00:00 STORED DaliotsPlayground/ConfigurationOfDaliotsPlayground-HwaJong.351.mcz 2013-10-17T18:07:40.466+00:00 STORED DaliotsPlayground/ConfigurationOfDaliotsPlayground-HwaJong.352.mcz 2013-10-17T18:34:03.74+00:00 STORED DaliotsPlayground/ConfigurationOfDaliotsPlayground-HwaJong.353.mcz
Dave
Interesting, thanks! Hope it holds up :)
- Bert -