<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br></div>  I am looking for some help from glusterfs side for the Out of Memory (OOM) issue<br></div>we are seeing when using GlusterFS as a storage backend for openstack Cinder (block storage service)<br><br></div>    openstack has a upstream CI env managed by openstack infra team, where we added a new job that creates a devstack env (openstack all in one for newbies) and configures the block service (Cinder) with GlusterFS as storage backend. Once setup, the CI job runs openstack tempest (Integration test suite of openstack) that does API level testing of the whole openstack env. <br><br>    As part of that testing, ~1.5 to 2 hours into the run, the tempest job (VM) hits OOM and the kernel oom-killer kills the process with the max memory to reduce memory pressure.<br><br></div>    The tempest job is based on CentOS 7 and uses glusterfs 3.6.2 as the storage backend for openstack Cinder<br><br></div>    The openstack-dev thread @ <b><a href="http://thread.gmane.org/gmane.comp.cloud.openstack.devel/46861">http://thread.gmane.org/gmane.comp.cloud.openstack.devel/46861</a></b> has details including links to the logs captured from the tempest jobs. <br><br></div>Per the openstack infra folks, they have other jobs based off CentOS7 that doesn&#39;t hit this issue, the only change we are adding is configuring cinder with glusterfs when this happens, so right now glusterfs is in the spotlight for causing this. <br><br></div><div>I am looking thru the logs trying to co-relate syslog, dstat, tempest info to figure the state of the system and what was happening at and before the OOM to get any clues, but wanted to start this thread in gluster-devel to see if others can pitch in with their ideas to accelerate the debug and help root cause.<br></div><div><br></div>Also pasting relevant part of the chat log I had with infra folks ...<br><br>Feb 20 21:46:28 &lt;sdague&gt;        deepakcs: you are at 70% wait time at the end of that<br><br>Feb 20 21:46:37 &lt;sdague&gt;        so your io system is just gone bonkers<br><br>Feb 20 21:47:14 &lt;fungi&gt; sdague: that would explain why the console login prompt and ssh daemon both stopped working, and the df loop in had going in my second ssh session hung around the same time<br>Feb 20 21:47:26 &lt;sdague&gt;        yeh, dstat even says it&#39;s skipping ticks there<br>Feb 20 21:47:29 &lt;sdague&gt;        for that reason<br><br>Feb 20 21:47:48 &lt;fungi&gt; likely complete i/o starvation for an extended period at around that timeframe<br>Feb 20 21:48:05 &lt;fungi&gt; that would also definitely cause jenkins to give up on the worker if it persisted for very long at all<br><br>Feb 20 21:48:09 &lt;sdague&gt;        yeh, cached memory is down to double digit M<br><br>Feb 20 21:49:21 &lt;sdague&gt;        deepakcs: so, honestly, what it means to me is that glusterfs is may be too inefficient to function in this environment<br>Feb 20 21:49:34 &lt;sdague&gt;        because it&#39;s kind of a constrained environment<br><br></div>