cloudfoundry-community / memcache-release

Bosh releases for the Memcache service.
Apache License 2.0
6 stars 1 forks source link

Increase open file limit and monitor main port #14

Closed forbushbl closed 4 years ago

forbushbl commented 4 years ago

We've had problems where memcache will stop listening on its port (11211 by default) but the hazelcast server seems to still be healthy. We typically see an IOException with the message "Too many open files".

Now monit will restart memcache if it stops listening on its port. Also, there is now a BOSH property (memcache_hazelcast.open_file_limit) which allows the operator to specify the maximum number of open files/connections.