I'm using this kickstart to build a centos AMI,
https://gist.github.com/andrewklau/9c354a43976d951bdeddFor some reason, selinux isn't getting installed correctly, on first boot:
$ semodule -B
libsemanage.semanage_link_sandbox: Could not access sandbox base file
We're running a Rails app in Passenger 4.0.45 and nginx 1.6.0 (installed by Passenger installer) running on Ubuntu 14.04. Under heavy load Passenger restarts all of the application processes. After enabling passenger debug logs, I found "Cannot accept client: Too many open files (errno=24)" errors in the Passenger logs.
Nginx is configured with "worker_rlimit_nofile 200000".