<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; We
have a postgresdb that streams archive logs into a glusterfs mount point.
&nbsp;Their writing process shows continuous writes but not any <i>flush
</i>or <i>close </i>system calls. &nbsp; During this writing the virtual
memory of the glusterfs process gradually increases that it eventually
surpasses the amount of system memory. &nbsp;And then other processes cannot
start because shared memory cannot be allocated.</font>
<br>
<br><font size=2 face="sans-serif">Each file 'chunk' written is 16Mb and
writes are up to 100 a minuet.</font>
<br>
<br><font size=2 face="sans-serif">The postgresql process is /opt/PostgresPlus/9.4AS/bin/pg_receivexlog</font>
<br>
<br><font size=2 face="sans-serif">My work around is to stop the archive
log writer pg_receivexlog and unmount the glusterfs file systems, which
frees the virtual memory, mount the file system and start pg_receivexlog.
</font>
<br>
<br><font size=2 face="sans-serif">We plan to replace our RedHat gluster
setup with community Glusterfs, but I would like to know if gluster is
suitable for this type of writing.</font>
<br>
<br><font size=2 face="sans-serif">Or did we hit a bug?</font>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><b>Client</b></font>
<br><font size=2 face="sans-serif">3.10.0-514.el7.x86_64 / RHEL 7.3</font>
<br><font size=2 face="sans-serif"># rpm -qa|grep -i gluster</font>
<br><font size=2 face="sans-serif">glusterfs-3.7.9-12.el7.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-client-xlators-3.7.9-12.el7.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-fuse-3.7.9-12.el7.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-libs-3.7.9-12.el7.x86_64</font>
<br><font size=2 face="sans-serif">Process: </font>
<br><font size=2 face="sans-serif"><i># ps -eaf |grep glusterfs</i></font>
<br><font size=2 face="sans-serif">root &nbsp; &nbsp; 12593 &nbsp; &nbsp;
1 &nbsp;0 Mar30 ? &nbsp; &nbsp; &nbsp; &nbsp;00:13:27 /usr/sbin/glusterfs
--acl --volfile-server=glustersrv1.int.local --volfile-server=glustersrv1.int.local
--volfile-id=/db_backup_111 &nbsp;/backup_111_2</font>
<br>
<br><font size=2 face="sans-serif"><b>Server</b></font>
<br><font size=2 face="sans-serif">2.6.32-573.12.1.el6.x86_64 &nbsp;/ &nbsp;RHEL
6.8</font>
<br><font size=2 face="sans-serif"># rpm -qa |grep -i gluster</font>
<br><font size=2 face="sans-serif">glusterfs-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-cli-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-geo-replication-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-libs-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-fuse-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-server-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">gluster-nagios-addons-0.1.10-2.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">vdsm-gluster-4.14.7.2-1.el6rhs.noarch</font>
<br><font size=2 face="sans-serif">samba-glusterfs-3.6.23-35.el6_8.x86_64</font>
<br><font size=2 face="sans-serif">glusterfs-api-3.6.0.29-1.el6rhs.x86_64</font>
<br><font size=2 face="sans-serif">gluster-nagios-common-0.1.3-2.el6rhs.noarch</font>
<br><font size=2 face="sans-serif">glusterfs-rdma-3.6.0.29-1.el6rhs.x86_64</font>
<br>
<br><font size=2 face="sans-serif">Kind regards,</font>
<br><font size=2 face="sans-serif">Sophie Loewenthal</font>
<br>
<br><font size=2 face="sans-serif">Server Infrastructure<br>
Smals.be</font>
<table width=1202 style="border-collapse:collapse;">
<tr height=8>
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=1179 valign=top style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=5 valign=top style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=5 valign=top style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<tr height=8>
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=1179 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=3 color=blue><u><br>
</u></font><a href=http://www.smals.be/><font size=3 color=blue><u><br>
</u></font><img src=cid:_2_0B50122C0B500E5800495C08C12580FE></a><font size=3><br>
</font>
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<tr height=8>
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=1179 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=3><br>
<br>
</font>
<hr noshade><font size=1 color=#424282 face="Verdana"><br>
<br>
Overeenkomstig de bepalingen inzake de vertegenwoordiging van de vzw in
haar statuten, kan enkel de gedelegeerde bestuurder, de algemeen directeur
of zijn uitdrukkelijke lasthebber verbintenissen aangaan namens Smals.<br>
Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk
aan ons te melden en het bericht te vernietigen.<br>
<br>
Conformément aux dispositions relatives à la représentation de l'asbl dans
ses statuts, seul l'administrateur délégué, le directeur général ou son
mandataire exprès est habilité à souscrire des engagements au nom de Smals.<br>
Si ce message ne vous est pas destiné, nous vous prions de nous le signaler
immédiatement et de détruire le message.<br>
<br>
According to the provisions regarding representation of the non profit
association in its bylaws, only the chief executive officer, the general
manager or his explicit agent can enter into engagements on behalf of Smals.<br>
If you are not the addressee of this message, we kindly ask you to signal
this to us immediately and to delete the message.</font><font size=3><br>
</font>
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;">
<td width=5 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"></table>
<br>
<br>