So here are the dumps, gzip'ed.
What I did: 1. mounting the volume, removing all its content, umounting it 2. mounting the volume 3. performing a cp -Rp /usr/* /root/MNT 4. performing a rm -rf /root/MNT/* 5. taking a dump (glusterdump.p1.dump) 6. re-doing 3, 4 and 5 (glusterdump.p2.dump) VSZ/RSS are respectively: - 381896 / 35688 just after mount - 644040 / 309240 after 1st cp -Rp - 644040 / 310128 after 1st rm -rf - 709576 / 310128 after 1st kill -USR1 - 840648 / 421964 after 2nd cp -Rp - 840648 / 422224 after 2nd rm -rf I created a small script that performs these actions in an infinite loop: while /bin/true do cp -Rp /usr/* /root/MNT/ + get VSZ/RSS of glusterfs process rm -rf /root/MNT/* + get VSZ/RSS of glusterfs process done At this time here are the values so far: 971720 533988 1037256 645500 1037256 645840 1168328 757348 1168328 757620 1299400 869128 1299400 869328 1364936 980712 1364936 980944 1496008 1092384 1496008 1092404 1627080 1203796 1627080 1203996 1692616 1315572 1692616 1315504 1823688 1426812 1823688 1427340 1954760 1538716 1954760 1538772 2085832 1647676 2085832 1647708 2151368 1750392 2151368 1750708 2282440 1853864 2282440 1853764 2413512 1952668 2413512 1952704 2479048 2056500 2479048 2056712 So at this time glusterfs process takes not far from 2Gb of resident memory, only performing exactly the same actions 'cp -Rp /usr/* /root/MNT' + 'rm -rf /root/MNT/*'. Swap usage is starting to increase a little, and I don't saw any memory dropping at this time. I can understand that kernel may not release the removed files (after rm -rf) immediatly, but the fist 'rm' occured at ~12:00 today and it is ~17:00 here so I can't understand why so much memory is used. I would expect the memory to grow during 'cp -Rp', then reduce after 'rm', but it stays the same. Even if it stays the same I would expect it to not grow more while cp-ing again. I let the cp/rm loop running to see what will happen. Feel free to ask for other data if it may help. Please note that I'll be in hollidays at the end of this week for 3 weeks so I will mostly not be able to perform tests during this time (network connection is too bad where I go). Regards, -- Y. Le 02/08/2016 à 05:11, Pranith Kumar Karampuri a écrit :
|
Attachment:
glusterdump.p1.dump.gz
Description: application/gzip
Attachment:
glusterdump.p2.dump.gz
Description: application/gzip
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users