If it's a Rails app, two things spring to mind as first things to try once you have profiling in place:
- lower the number of web server workers and/or threads (depending on what you're using)
- Ruby 2.1's garbage collector is really not well suited to web apps because it will often promote objects from a single request to the long-lived generation, even though they will not be needed again. Going from 2.0 to 2.1 nearly doubled the memory usage of one of our apps. 2.2 is doing much better.
You might also want to see if you can offload any processing of tasks that can be queued using something like Sidekick or Resque.
There's a bunch of other things you could do but you really need to work out why your app isn't performing as you'd like first.