Increase swap size to 4GB

This is to address issues in the cinder-plugin-ceph-tempest* jobs
where a significant number of builds are failing.  Symptoms are a
lot of server fault errors, identity error: unexpected status
code 500, and db connection errors in the tempest log.  On these
jobs, syslog shows multiple
   oom_reaper: reaped process xxxxxxx (mysqld)
lines.  Occasionally ceph-osd or ceph-mons are also reaped, but
it's pretty consistently mysqld.

Default swap size is currently 1G.  Increase to 4GB was determined
experimentally.  (See other patches on topic: increase-swap.)

Change-Id: I3c08f363f5b74e1fe7900f4398bd2cb6df3a80d7
This commit is contained in:
Brian Rosmaita 2022-05-13 12:09:38 -04:00
parent 7965c08a5a
commit d41abbf538
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@
required-projects:
- opendev.org/openstack/cinderlib
vars:
configure_swap_size: 4096
zuul_additional_subunit_dirs:
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
devstack_local_conf:
@ -181,6 +182,7 @@
required-projects:
- opendev.org/openstack/cinderlib
vars:
configure_swap_size: 4096
zuul_additional_subunit_dirs:
- "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/cinderlib'].src_dir }}"
devstack_localrc: