Yes, my nginx I has fixed nginx issues, it run fine now<br><br>I think increasing RAM size can be help and it can run more better.<br><br>Regards.<br><br><br><div class="gmail_quote">On Dec 13, 2007 1:59 PM, Aníbal Rojas &lt;
<a href="mailto:anibalrojas@gmail.com">anibalrojas@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You are running out of memory, too many Mongrels.
<br><br>I would recommend switching to the Rails Deployment Google Group:<br><br><a href="http://groups.google.com/group/rubyonrails-deployment" target="_blank">http://groups.google.com/group/rubyonrails-deployment</a><br>
<br>As you already fixed your Nginx issue.<br><div class="Ih2E3d"><br>Aníbal Rojas<br><a href="http://hasmanydevelopers.com" target="_blank">http://hasmanydevelopers.com</a><br><a href="http://rubycorner.com" target="_blank">
http://rubycorner.com</a><br><a href="http://anibal.rojas.com" target="_blank">http://anibal.rojas.com</a><br><br></div>On Dec 14, 2007 2:58 PM, Francisco Valladolid &lt;<a href="mailto:ficovh@gmail.com">ficovh@gmail.com</a>
&gt; wrote:<br>&gt; ;-)<br><div><div></div><div class="Wj3C7c">&gt;<br>&gt; I have only 128MB both rails app are typo blogs . my server are running<br>&gt; OpenBSD 4.1 stable.<br>&gt; One typo instance work fine but the second one none. I hope put more RAM
<br>&gt; today .<br>&gt;<br>&gt; Regards.<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; &nbsp;On Dec 13, 2007 12:20 PM, BJ Clark &lt;<a href="mailto:bjclark@scidept.com">bjclark@scidept.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Francisco,
<br>&gt; &gt; How much ram is available on the server for your mongrel instances? I&#39;ve<br>&gt; found that each mongrel takes at least 90mb of ram, so 8 instances could<br>&gt; easily be maxing out memory on your box, which would cause things to slow
<br>&gt; down dramatically.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; -----<br>&gt; &gt; BJ Clark<br>&gt; &gt; the science department<br>&gt; &gt; <a href="mailto:bjclark@scidept.com">bjclark@scidept.com</a><br>
&gt; &gt; <a href="http://www.scidept.com" target="_blank">www.scidept.com</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Dec 13, 2007, at 10:53 AM, Francisco Valladolid wrote:
<br>&gt; &gt;<br>&gt; &gt; Thank you for your suggest.<br>&gt; &gt;<br>&gt; &gt; No my two rails instances are working fine, the only problem is:<br>&gt; &gt;<br>&gt; &gt; The second instance is very slow, maybe a need do some tuning in nginx ?
<br>&gt; &gt;<br>&gt; &gt; Regards.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Dec 12, 2007 10:56 PM, Eden Li &lt; <a href="mailto:eden@mojiti.com">eden@mojiti.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; you need to setup another upstream block which specifies the ports for
<br>&gt; &gt; &gt; second batch of mongrels and then proxy to that.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; eg<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &nbsp;upstream mongrel_cluster_2 {<br>&gt; &gt; &gt; &nbsp; &nbsp;server <a href="http://127.0.0.1:4000" target="_blank">
127.0.0.1:4000</a>;<br>&gt; &gt; &gt; &nbsp; &nbsp;server <a href="http://127.0.0.1:4001" target="_blank">127.0.0.1:4001</a>;<br>&gt; &gt; &gt; &nbsp; &nbsp;server <a href="http://127.0.0.1:4002" target="_blank">127.0.0.1:4002</a>;<br>&gt; &gt; &gt; &nbsp; &nbsp;server 
<a href="http://127.0.0.1:4003" target="_blank">127.0.0.1:4003</a>;<br>&gt; &gt; &gt; &nbsp;}<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; proxy_pass <a href="http://mongrel_cluster_2" target="_blank">
http://mongrel_cluster_2</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt; make sure your 2nd cluster config is setup to use different ports from<br>&gt; &gt; &gt; your first mongrel cluster<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; side note: you seem to have some references to fcgi and apache in your
<br>&gt; &gt; &gt; config -- you might want to clean those out...<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 12/13/07, Francisco Valladolid &lt; <a href="mailto:ficovh@gmail.com">
ficovh@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; Hi.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I have two different rails app under the same server, using the same<br>&gt; IP.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; How can do it? my primary web site is working correctly but the second
<br>&gt; one<br>&gt; &gt; &gt; &gt; no.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; this is my config.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &nbsp;--<br>&gt; &gt; &gt; &gt; Francisco Valladolid H.
<br>&gt; &gt; &gt; &gt; &nbsp;-- <a href="http://bsdguy.net" target="_blank">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;
<br>&gt; &gt; --<br>&gt; &gt; Francisco Valladolid H.<br>&gt; &gt; -- <a href="http://bsdguy.net" target="_blank">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt;
<br>&gt;<br>&gt; Francisco Valladolid H.<br>&gt; &nbsp;-- <a href="http://bsdguy.net" target="_blank">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --<br><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Francisco Valladolid H.
<br> -- <a href="http://bsdguy.net">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --