The current default is 1024 however this is not sufficent for most
deployments and it will cause a lot of issues if it does hit the
limit as the server will stop responding.
The overhead for this is very low and other deployment tooling
usually sets this to 8192[1], so 4096 is even very conservative.
[1]: https://github.com/saz/puppet-memcached/blob/bb9d55a2/manifests/init.pp#L26
Change-Id: I604f96a9431076e1f630d2045eac4c88a92935c1
This change cleans up the role a little bit making it more consistent.
A new configuration file has been added which will further isolate
our services using a named cgroup; this is similar to what we already do in
our openstack services. By further isolating the service from the system
we get quite a bit more control and accountability.
Change-Id: I02a84a2560853473c986ad0db26874341a23fc82
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.
Change-Id: I5e703e24fe0b3aed2784fbf63d0f2e8f81d44f0b
This patch consumes the centralised Ansible test scripts
implemented in https://review.openstack.org/381853
Change-Id: I486582d6793f61a08e09da8fe04203fac9c214bd
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.
Change-Id: Iece5efb32143979f4d4a0322e3b26aaa5f10d66a
This commit updates the memcached_server role to work on Trusty,
Xenial, and CentOS 7.
NOTES:
1. This role no longer creates the memcache user since both Ubuntu and
CentOS already install a suitable user
2. We have temporarily disabled testing of the log file since CentOS and
Xenial do not log to file
3. On Ubuntu we drop ulimits into /etc/defaults/memcached, we need to
figure out how to do the equivalent on CentOS
4. We update tasks/memcached_config.yml to use the correct memcached
user in limits.conf, however neither these limits or the ones in
templates/memcached.debian.j2 actually seem to be taking effect.
More work in an additional review will need to be done to clean this
all up.
Implements: blueprint multi-platform-host
Change-Id: I4c32f3d60939615c5d0c6fb202e96aacb35ab9b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
- Moved to the right folder to get it accessed on bare metal
when containerized
- Making it work for rsyslog and logrotation's existing
roles
- Changed the gate tests to reflect path change
Closes-Bug: #1569171
Change-Id: I3a1c2f50ab63b55b39318ba40c0921f6b738cafb