# Running several rails apps

**URL:** <https://www.ruby-forum.com/t/running-several-rails-apps/151082>\
**Category:** Rails\
**Created:** [October 16, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/running-several-rails-apps/151082 "2008-10-16T16:04:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [October 16, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/running-several-rails-apps/151082/1 "2008-10-16T16:04:52Z")

</div>

i am currently running four concurrent rails apps on the same server…  
they are all running as individual mongrel apps…

this seems to be an inefficient use of memory…

is there a better way to do this?

thanks!

---

<div class="post-metadata">

**Author:** ![spacechurro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d2c977/32.png) [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Post date:** [October 16, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/running-several-rails-apps/151082/2 "2008-10-16T16:36:52Z")

</div>

On 16 Oct 2008, at 15:04, Sergio R. wrote:

> i am currently running four concurrent rails apps on the same server…  
> they are all running as individual mongrel apps…
> 
> this seems to be an inefficient use of memory…
> 
> is there a better way to do this?

IIRC if you use mod\_rails along side with their version of ruby you’ll  
save a lot of the memory associated with having multiple copies of the  
rails framework in memory.

Fred
