<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Folks,<br>
    <br>
    last week I upgraded gluster from 3.7.11 to 3.7.12. Unfortunately I
    had two times the problem<br>
    of a task being blocked for more than 120 seconds leaving me with
    nothing more than a hard reset of the node!<br>
    <br>
    kernel: [1705322.676270] INFO: task apache2:3092 blocked for more
    than 120 seconds.<br>
    kernel: [1705322.682202]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not tainted 3.13.0-88-generic
    #135-Ubuntu<br>
    kernel: [1705322.682770] &quot;echo 0 &gt;
    /proc/sys/kernel/hung_task_timeout_secs&quot; disables this message.<br>
    kernel: [1705322.683738] apache2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D ffff880a03d93180&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;
    3092&nbsp;&nbsp; 1800 0x00000000<br>
    kernel: [1705322.683761]&nbsp; ffff88016f865b38 0000000000000082
    ffff8809cbde8000 0000000000013180<br>
    kernel: [1705322.683769]&nbsp; ffff88016f865fd8 0000000000013180
    ffff8809cbde8000 ffff880a03d93a18<br>
    kernel: [1705322.683775]&nbsp; ffff880a03f92d90 0000000000000002
    ffffffffa029e670 ffff88016f865bb0<br>
    kernel: [1705322.683782] Call Trace:<br>
    kernel: [1705322.683978]&nbsp; [&lt;ffffffffa029e670&gt;] ?
    nfs_free_request&#43;0xb0/0xb0 [nfs]<br>
    kernel: [1705322.684043]&nbsp; [&lt;ffffffff8172e10d&gt;]
    io_schedule&#43;0x9d/0x130<br>
    kernel: [1705322.684096]&nbsp; [&lt;ffffffffa029e67e&gt;]
    nfs_wait_bit_uninterruptible&#43;0xe/0x20 [nfs]<br>
    kernel: [1705322.684103]&nbsp; [&lt;ffffffff8172e582&gt;]
    __wait_on_bit&#43;0x62/0x90<br>
    kernel: [1705322.684162]&nbsp; [&lt;ffffffff81617018&gt;] ?
    sk_reset_timer&#43;0x18/0x30<br>
    kernel: [1705322.684193]&nbsp; [&lt;ffffffffa029e670&gt;] ?
    nfs_free_request&#43;0xb0/0xb0 [nfs]<br>
    kernel: [1705322.684203]&nbsp; [&lt;ffffffff8172e627&gt;]
    out_of_line_wait_on_bit&#43;0x77/0x90<br>
    kernel: [1705322.684234]&nbsp; [&lt;ffffffff810adac0&gt;] ?
    autoremove_wake_function&#43;0x40/0x40<br>
    kernel: [1705322.684258]&nbsp; [&lt;ffffffffa029ea33&gt;]
    nfs_wait_on_request&#43;0x33/0x40 [nfs]<br>
    kernel: [1705322.684276]&nbsp; [&lt;ffffffffa02a3a40&gt;]
    nfs_updatepage&#43;0x150/0x660 [nfs]<br>
    kernel: [1705322.684290]&nbsp; [&lt;ffffffffa0294dfb&gt;]
    nfs_write_end&#43;0x5b/0x340 [nfs]<br>
    kernel: [1705322.684318]&nbsp; [&lt;ffffffff811522da&gt;]
    generic_file_buffered_write&#43;0x16a/0x250<br>
    kernel: [1705322.684336]&nbsp; [&lt;ffffffff81153991&gt;]
    __generic_file_aio_write&#43;0x1c1/0x3d0<br>
    kernel: [1705322.684340]&nbsp; [&lt;ffffffff81153bf8&gt;]
    generic_file_aio_write&#43;0x58/0xa0<br>
    kernel: [1705322.684354]&nbsp; [&lt;ffffffffa029406b&gt;]
    nfs_file_write&#43;0xbb/0x1d0 [nfs]<br>
    kernel: [1705322.684387]&nbsp; [&lt;ffffffff811c096a&gt;]
    do_sync_write&#43;0x5a/0x90<br>
    kernel: [1705322.684394]&nbsp; [&lt;ffffffff811c10f4&gt;]
    vfs_write&#43;0xb4/0x1f0<br>
    kernel: [1705322.684399]&nbsp; [&lt;ffffffff811c1b29&gt;]
    SyS_write&#43;0x49/0xa0<br>
    kernel: [1705322.684411]&nbsp; [&lt;ffffffff8173a4dd&gt;]
    system_call_fastpath&#43;0x1a/0x1f<br>
    <br>
    Some research came up with this links:<br>
    *
    <a class="moz-txt-link-freetext" href="https://www.gluster.org/pipermail/gluster-users/2016-July/027327.html">https://www.gluster.org/pipermail/gluster-users/2016-July/027327.html</a><br>
    
    *
<a class="moz-txt-link-freetext" href="http://serverfault.com/questions/500222/kernel-3-8-apache2-with-wsgi-info-task-apache2-blocked-for-more-than-120-sec">http://serverfault.com/questions/500222/kernel-3-8-apache2-with-wsgi-info-task-apache2-blocked-for-more-than-120-sec</a><br>
    * <a class="moz-txt-link-freetext" href="https://www.novell.com/support/kb/doc.php?id=7010287l">https://www.novell.com/support/kb/doc.php?id=7010287l</a><br>
    <br>
    The gluster volume serves a home directory for apache/php-fpm and
    usually the server is quite busy in terms of requests.<br>
    As with 3.7.11 I did not have any problems the last few weeks, I am
    unsure if it is related to the 3.7.11 -&gt; 3.7.12 upgrade.<br>
    (or is just the file system blocking?)<br>
    <br>
    My setup is:<br>
    # dpkg -l | grep gluster<br>
    ii&nbsp; glusterfs-client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    3.7.12-ubuntu1~trusty1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; amd64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    clustered file-system (client package)<br>
    ii&nbsp; glusterfs-common&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    3.7.12-ubuntu1~trusty1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; amd64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    GlusterFS common libraries and translator modules<br>
    ii&nbsp; glusterfs-server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    3.7.12-ubuntu1~trusty1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; amd64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    clustered file-system (server package)<br>
    The gluster Volume is mounted on the same host as the volume:<br>
    XXX:/gldata on /home/gldata type nfs (rw,nfsvers=3,addr=XXX,_netdev)<br>
    <br>
    Are there any known race conditions with 3.7.12 and NFS?<br>
    Should I apply the
    
    <span style="color: rgb(0, 0, 0); font-family: Arial, Helvetica,
      sans-serif; font-size: 12px; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: auto; text-align: left; text-indent: 0px;
      text-transform: none; white-space: normal; widows: 1;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none; background-color: rgb(255, 255, 255);">vm.dirty_ratio
      settings mentioned in the links above?</span><br>
    Should I downgrade to 3.7.11 or upgrade to 3.7.13?<br>
    <br>
    I appreciate any help,<br>
    THX Georg<br>
    <br>
    <br>
  </body>
</html>