Hi,<br>I have been working towards setting up a dedicated server (Ubuntu) to host my Seaside app as per Ramon&#39;s Blog <a href="http://onsmalltalk.com/programming/smalltalk/scaling-seaside-redux-enter-the-penguin/">http://onsmalltalk.com/programming/smalltalk/scaling-seaside-redux-enter-the-penguin/</a><br>
<br>Till now, I have been successful in having Apache serve static content and Load balance between 3 images of my Seaside App. Sticky sessions are working and everything is going well so far. But I had a problem when installing Daemontools (which Ramon has written in his blog and also Lukas has written in Mailing lists), the recent versions of Ubuntu, dont support Daemontools out of the box. <br>
<br>In one of the comments to Ramon&#39;s post, I could learn that some of the seasiders have used Monit to do much more than want Daemontools does. Could you please guide me how to go about.<br><br>I came across a blog on Rails using Monit&nbsp; <a href="http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/">http://www.igvita.com/2006/11/07/monit-makes-mongrel-play-nice/</a><br>
In that, what is the equivalent code to Seaside of the following code ?<br><br><pre class="ruby"><font size="4">start program = <span style="color: rgb(153, 102, 0);">&quot;/usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -e production -p 8010 -a <a href="http://127.0.0.1">127.0.0.1</a> -P /home/user/current/log/mongrel.8010.pid -c /home/user/rails/current&quot;</span><br>
    stop program  = <span style="color: rgb(153, 102, 0);">&quot;/usr/local/bin/ruby /usr/local/bin/mongrel_rails stop -P /home/user/current/log/mongrel.8010.pid&quot;</span></font></pre>Till now, I have been starting the images manually by <br>
/seaside$ squeakvm&nbsp; -nodisplay seasidedemo &quot;&quot; port 9090 &amp;<br><br>and to kill it, i use $ pkill squeakvm&nbsp;&nbsp;&nbsp; or $ kill [PID of SqueakVM]<br><br>I suppose, we will also have to change the following code<br><pre class="ruby">
<font size="4"><span style="color: rgb(153, 102, 204); font-weight: bold;">if</span> totalmem is greater than <span style="color: rgb(0, 102, 102);">60.0</span> MB <span style="color: rgb(153, 102, 204); font-weight: bold;">for</span> <span style="color: rgb(0, 102, 102);">5</span> cycles <span style="color: rgb(153, 102, 204); font-weight: bold;">then</span> restart<br>
<br></font></pre>When an image is running on my server (Pentium Dual Core 2.8 GHz with 1 GB RAM), it shows almost 3-4% CPU and 3-4% RAM , should we shift the memory cap from 60 MB to 100 MB / image ?<br><br><br>Is there any other options we have ? <br>
<br>Thanks for the help,<br>&nbsp;<br>Rajeev <br><br>Co-founder, AR-CAD.com<br><br><a href="http://www.ar-cad.com">http://www.ar-cad.com</a><br>+91 9243468076 (Bangalore)<br>080 65355873