[Mongrel] Mongrel using way more memory on production than staging

Chris Taggart lists at ruby-forum.com
Tue Oct 2 15:21:53 EDT 2007

Dee Zsombor wrote:
> Chris T wrote:
>> On staging:
>> #ruby -v
>> ruby 1.8.5 (2006-08-25) [i486-linux]
> This explains it well, pointers are 8 byte long on 64 bit while only 4
> byte long on 32 bit. Each ruby object is essentially a pointer (plus 
> some
> other magic encoded in the byte alignment and misc other data). A ruby
> process is bound to be more heavy on 64 bit.
> You can use a 64 bit db server and keep the application servers 32, this
> should give some benefits while trading in some uniformity.

OK. I think I get this. How do i ensure the app servers are 32 bit. Do I 
need to use a 32-bit kernel when creating up the instances?
Posted via http://www.ruby-forum.com/.

More information about the Mongrel-users mailing list