cloudfoundry/bosh — pull request #579 by peterellisjones (2014-05-14 13:09:57+00:00)
Title: Allow resource limits to be specified for Warden in the director config

When using bosh-lite to run processes that need many open file descriptors (eg Cassandra, Jenkins etc.), the default 1024 limit is insufficient. This allows us to change these limits within the warden containers by adding them to the director.yml:

```yml
---
name: Bosh Lite Director
# ...
cloud:
plugin: warden
properties:
warden:
unix_domain_socket: "/tmp/warden.sock"
rlimits:
nofiles: 10240
# ...
```

All options that can be specified within the rlimits property are defined in [Warden::Protocol::ResourceLimits](https://github.com/cloudfoundry/warden/blob/master/warden-protocol/lib/warden/protocol/pb/resource_limits.proto)