Re: glusterd crashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-Atin
Sent from one plus one
On 04-Mar-2016 6:12 am, "Joseph Fernandes" <josferna@xxxxxxxxxx> wrote:
>
> 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
GlusterD does use mempool and it has infra for capturing statedump as well. I am aware of few bytes of memory leaks in few paths which is really not a huge concern but it shouldn't crash.
>
> Hope this helps
>
> ~Joe
>
>
> ----- Original Message -----
> > From: "Ajil Abraham" <ajil95.abraham@xxxxxxxxx>
> > To: "Atin Mukherjee" <atin.mukherjee83@xxxxxxxxx>
> > Cc: "Gluster Devel" <gluster-devel@xxxxxxxxxxx>
> > Sent: Thursday, March 3, 2016 10:48:56 PM
> > Subject: Re: 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@xxxxxxxxx
> > > 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@xxxxxxxxx > 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@xxxxxxxxxxx
> > http://www.gluster.org/mailman/listinfo/gluster-devel
> >
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel@xxxxxxxxxxx
> > http://www.gluster.org/mailman/listinfo/gluster-devel

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux