Ruby on Rails Wednesday, June 27, 2018

Wow. That's quite a lot of RAM to be starved like that. I've been running four moderately-traffic'd Rails apps, along with a smattering of PHP apps, on one "droplet" with (I had to go look at the control panel) 1GB RAM and 30GB SSD. It's been up and running for four years. There's a Rails 3.2 app, a Rails 4.0 app, a Rails 4.2 app, and a Rails 5.1 app. There's also two major PHP apps that get a lot of love from mostly spammers, and one minor one that never gets any traffic. I'm not holding this up as a bastion of good devops, but just to give you the counterpoint that your server is probably not your problem.

What application server are you using, and which database? I'm on Passenger (mod_passenger compiled into Apache), using MySQL.

Walter

> On Jun 27, 2018, at 8:35 AM, tom <tomabroad@gmail.com> wrote:
>
> hi,
> i was wondering what a typical setup for a small web app is.
>
> my challenge currently is that my server kills some processes because im out of memory.
>
> i am running ruby 2.3, nginx, passenger, mta, sidekick.
>
> i have 4gb ram and i am on digital ocean. i have barely any traffic on the site.
>
> what "should" that server be handle?
> what does your configuration look like? care to share configs?
>
> thx
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfHstCNvt65wFQzDy-fptU3aDM3YAkjj24LV6pfpFCoEg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/244C3A27-3A02-4C6F-8DF8-3D3B767D0B77%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment