Hi,
I am trying to collect memory of the OSD daemon with the following
./vstart.sh -n -x -l --valgrind_osd 'massif'
However, when I print massif.out file there is nothing
cat massif.out.15391
desc: (none)
cmd: ./ceph-osd -i 0 -c ceph.conf -f
time_unit: i
#---
snapshot=0
#---
ti
Hi,
I ran into this problem a while back and it was because I was trying to
use a version of valgrind that didn't support tcmalloc (which Ceph was
compiled to use). Try upgrading valgrind to 3.8.0 or newer. You'll
also need to pass something like:
--soname-synonyms=somalloc=*tcmalloc*
Mar
Hi Mark,
I upgraded valgrind to 3.8.1 and also used
--soname-synonyms=somalloc=*tcmalloc* option. However, no massif.out
file was created.
Kindly let me know if i am missing something.
With regards
Ranjan
On Tue, Jul 9, 2013 at 6:15 PM, Mark Nelson wrote:
> Hi,
>
> I ran into this problem a wh
On Wed, 10 Jul 2013, Ranjan Sarpangala Venkatesh wrote:
> Hi Mark,
>
> I upgraded valgrind to 3.8.1 and also used
> --soname-synonyms=somalloc=*tcmalloc* option. However, no massif.out
> file was created.
>
> Kindly let me know if i am missing something.
I haven't run into this. I usually run w
Hrm, I think I answered too quickly. I use that directly with valgrind
launching the daemon, not through vstart. Not sure if it passes it
through properly. Maybe try Sage's suggestion or see if valgrind works
when you launch the daemon directly?
Mark
On 07/11/2013 01:21 AM, Ranjan Sarpanga
Hi Sage,Mike
I reverted back to valgrind version 3.7.0, did what Sage suggested and
it worked. However, with valgrind 3.8.1 no massif.out file was created
even while running a build with no tcmalloc. Not sure why this is
happening.
Thanks Sage and Mark for your help.
With regards
Ranjan
On Thu,