# Getting things humming on a 4 gig server

**URL:** <https://www.ruby-forum.com/t/getting-things-humming-on-a-4-gig-server/237437>\
**Category:** NGINX\
**Created:** [November 13, 2013, 7:56am UTC](https://www.ruby-forum.com/t/getting-things-humming-on-a-4-gig-server/237437 "2013-11-13T07:56:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [November 13, 2013, 7:56am UTC](https://www.ruby-forum.com/t/getting-things-humming-on-a-4-gig-server/237437/1 "2013-11-13T07:56:14Z")

</div>

Will soon be migrating from a 2 gig CentOS server to a 4 Gig Ubuntu.  
We’ll be running nginx (of course), php-fpm, the fastcgi cache, MariaDB  
and Zend Opcache.

Though I realize that 4 gigs of RAM is still modest, it is twice what  
we’ve previously had. I’m just curious for some general suggestions (or  
pointers to articles) as how to allocate 4 gigs between php-fpm, the  
opcache, the fastcgi cache and DB caches.

Would appreciate any tips or pointers.
