<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 5, 2018 at 1:22 PM, Yuhao Zhang <span dir="ltr">&lt;<a href="mailto:zzyzxd@gmail.com" target="_blank">zzyzxd@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">This is a semi-production server and I can&#39;t bring it down right now. Will try to get the monitoring output when I get a chance. </div></blockquote><div><br></div><div>Collecting top output doesn&#39;t require to bring down servers.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>As I recall, the high CPU processes are brick daemons (glusterfsd) and htop showed they were in status D. However, I saw zero zpool IO as clients were all hanging.<div><div class="h5"><br><div><br><blockquote type="cite"><div>On Aug 5, 2018, at 02:38, Raghavendra Gowdappa &lt;<a href="mailto:rgowdapp@redhat.com" target="_blank">rgowdapp@redhat.com</a>&gt; wrote:</div><br class="m_-5304337048872840202Apple-interchange-newline"><div><br class="m_-5304337048872840202Apple-interchange-newline"><br style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div class="gmail_quote" style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">On Sun, Aug 5, 2018 at 12:44 PM, Yuhao Zhang<span class="m_-5304337048872840202Apple-converted-space"> </span><span dir="ltr">&lt;<a href="mailto:zzyzxd@gmail.com" target="_blank">zzyzxd@gmail.com</a>&gt;</span><span class="m_-5304337048872840202Apple-converted-space"> </span>wrote<wbr>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br><br>I am running into a situation that heavy write causes Gluster server went into zombie with many high CPU processes and all clients hangs, it is almost 100% reproducible on my machine. Hope someone can help.<br></blockquote><div><br></div><div>Can you give us the output of monitioring these processes with High cpu usage captured in the duration when your tests are running?<br></div><div><br></div><div><li><span style="font-family:terminal,monaco,monospace">MON_INTERVAL=10 # can be increased for very long runs</span></li><li><span style="font-family:terminal,monaco,monospace">top -bd $MON_INTERVAL &gt; /tmp/top_proc.${HOSTNAME}.txt # CPU utilization by process</span></li><li><span style="font-family:terminal,monaco,monospace">top -bHd $MON_INTERVAL &gt; /tmp/top_thr.${HOSTNAME}.txt # CPU utilization by thread</span></li><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>I started to observe this issue when running rsync to copy files from another server and I thought it might be because Gluster doesn&#39;t like rsync&#39;s delta transfer with a lot of small writes. However, I was able to reproduce this with &quot;rsync --whole-file --inplace&quot;, or even with cp or scp. It usually appears after starting the transfer for a few hours, but sometimes can happen within several minutes.<br><br>Since this is a single node Gluster distributed volume, I tried to transfer files directly onto the server bypassing Gluster clients, but it still caused the same issue.<br><br>It is running on top of a ZFS RAIDZ2 dataset. Options are attached. Also, I attached the statedump generated when my clients hung, and volume options.<br><br>- Ubuntu 16.04 x86_64 / 4.4.0-116-generic<br>- GlusterFS 3.12.8<br><br>Thank you,<br>Yuhao<br><br><br>______________________________<wbr>_________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br><a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mail<wbr>man/listinfo/gluster-users</a></blockquote></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div>