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 <
<a href="mailto:anibalrojas@gmail.com">anibalrojas@gmail.com</a>> 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 <<a href="mailto:ficovh@gmail.com">ficovh@gmail.com</a>
> wrote:<br>> ;-)<br><div><div></div><div class="Wj3C7c">><br>> I have only 128MB both rails app are typo blogs . my server are running<br>> OpenBSD 4.1 stable.<br>> One typo instance work fine but the second one none. I hope put more RAM
<br>> today .<br>><br>> Regards.<br>><br>><br>><br>><br>> On Dec 13, 2007 12:20 PM, BJ Clark <<a href="mailto:bjclark@scidept.com">bjclark@scidept.com</a>> wrote:<br>> ><br>> > Francisco,
<br>> > How much ram is available on the server for your mongrel instances? I've<br>> found that each mongrel takes at least 90mb of ram, so 8 instances could<br>> easily be maxing out memory on your box, which would cause things to slow
<br>> down dramatically.<br>> ><br>> ><br>> ><br>> > -----<br>> > BJ Clark<br>> > the science department<br>> > <a href="mailto:bjclark@scidept.com">bjclark@scidept.com</a><br>
> > <a href="http://www.scidept.com" target="_blank">www.scidept.com</a><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > On Dec 13, 2007, at 10:53 AM, Francisco Valladolid wrote:
<br>> ><br>> > Thank you for your suggest.<br>> ><br>> > No my two rails instances are working fine, the only problem is:<br>> ><br>> > The second instance is very slow, maybe a need do some tuning in nginx ?
<br>> ><br>> > Regards.<br>> ><br>> ><br>> > On Dec 12, 2007 10:56 PM, Eden Li < <a href="mailto:eden@mojiti.com">eden@mojiti.com</a>> wrote:<br>> ><br>> > > you need to setup another upstream block which specifies the ports for
<br>> > > second batch of mongrels and then proxy to that.<br>> > ><br>> > > eg<br>> > ><br>> > > upstream mongrel_cluster_2 {<br>> > > server <a href="http://127.0.0.1:4000" target="_blank">
127.0.0.1:4000</a>;<br>> > > server <a href="http://127.0.0.1:4001" target="_blank">127.0.0.1:4001</a>;<br>> > > server <a href="http://127.0.0.1:4002" target="_blank">127.0.0.1:4002</a>;<br>> > > server
<a href="http://127.0.0.1:4003" target="_blank">127.0.0.1:4003</a>;<br>> > > }<br>> > ><br>> > > ...<br>> > ><br>> > > proxy_pass <a href="http://mongrel_cluster_2" target="_blank">
http://mongrel_cluster_2</a><br>> > ><br>> > > make sure your 2nd cluster config is setup to use different ports from<br>> > > your first mongrel cluster<br>> > ><br>> > > side note: you seem to have some references to fcgi and apache in your
<br>> > > config -- you might want to clean those out...<br>> > ><br>> > ><br>> > ><br>> > ><br>> > > On 12/13/07, Francisco Valladolid < <a href="mailto:ficovh@gmail.com">
ficovh@gmail.com</a>> wrote:<br>> > > > Hi.<br>> > > ><br>> > > > I have two different rails app under the same server, using the same<br>> IP.<br>> > > ><br>> > > > How can do it? my primary web site is working correctly but the second
<br>> one<br>> > > > no.<br>> > > ><br>> > > > this is my config.<br>> > > ><br>> > > ><br>> > > ><br>> > > > --<br>> > > > Francisco Valladolid H.
<br>> > > > -- <a href="http://bsdguy.net" target="_blank">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --<br>> > > ><br>> > ><br>> > ><br>> ><br>> ><br>> >
<br>> > --<br>> > Francisco Valladolid H.<br>> > -- <a href="http://bsdguy.net" target="_blank">http://bsdguy.net</a> - Perl, [Open-Net] BSD fan. --<br>> ><br>><br>><br>><br>> --<br>>
<br>><br>> Francisco Valladolid H.<br>> -- <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. --