[Gluster-devel] glusterd crashing

Joseph Fernandes josferna at redhat.com
Fri Mar 4 00:42:31 UTC 2016


Hi Ajil,

Well few things,

1. Whenever you see a crash its better to send across the Backtrace(BT) using gdb and attach the log files (or share it via some cloud drive)

2. About the memory leak, What kind of tools are you using for profiling memory, valgrind ? if so please attach the valgrind reports.
   $> glusterd --xlator-option *.run-with-valgrind=yes 

3. Well I am not sure if glusterd uses any of the mempools as we do in client and brick processes, Atin can shed some light on this.
   Well In that case you can used the statedump mechanism check for mem-leaks check the glusterfs/doc/debugging/statedump.md

Hope this helps

~Joe


----- Original Message -----
> From: "Ajil Abraham" <ajil95.abraham at gmail.com>
> To: "Atin Mukherjee" <atin.mukherjee83 at gmail.com>
> Cc: "Gluster Devel" <gluster-devel at gluster.org>
> Sent: Thursday, March 3, 2016 10:48:56 PM
> Subject: Re: [Gluster-devel] glusterd crashing
> 
> Hi Atin,
> 
> The inputs I use are as per the requirements of a project I am working on for
> one of the large finance institutions in Dubai. I will try to handle the
> input validation within my code. I uncovered some of the issues while doing
> a thorough testing of my code.
> 
> I tried with 3.7.6 and also my own build from master branch. I will check
> with my superiors before sending you backtrace and other details. So far, I
> have seen memory leak in 100s of KBs.
> 
> -Ajil
> 
> 
> On Thu, Mar 3, 2016 at 10:17 PM, Atin Mukherjee < atin.mukherjee83 at gmail.com
> > wrote:
> 
> 
> 
> 
> Hi Ajil,
> 
> Its good to see that you are doing a thorough testing gluster. From your mail
> it looks like your automation focuses on mostly negative tests. I need few
> additional details to get to know whether they are known:
> 
> 1. Version of gluster
> 2. Backtrace of the crash along with reproducer
> 3. Amount of memory leak in terms of bytes/KB/MB?? Have you already
> identified them?
> 
> -Atin
> Sent from one plus one
> On 03-Mar-2016 10:01 pm, "Ajil Abraham" < ajil95.abraham at gmail.com > wrote:
> 
> 
> 
> For my project, I am trying to do some automation using glusterd. It is very
> frustrating to see it crashing frequently. Looks like input validation is
> the culprit. I also see lot of buffer overflow and memory leak issues.
> Making a note of these and will try to fix them. Surprised to see such basic
> issues still existing in Gluster.
> 
> -Ajil
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel


More information about the Gluster-devel mailing list