From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Nelson Subject: Re: Using valgrind_osd option Date: Thu, 11 Jul 2013 15:21:41 -0500 Message-ID: <51DF13D5.3020204@inktank.com> References: <51DCB596.4040800@inktank.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qe0-f41.google.com ([209.85.128.41]:51950 "EHLO mail-qe0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755174Ab3GKUVm (ORCPT ); Thu, 11 Jul 2013 16:21:42 -0400 Received: by mail-qe0-f41.google.com with SMTP id b4so4777710qen.28 for ; Thu, 11 Jul 2013 13:21:41 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Ranjan Sarpangala Venkatesh Cc: ceph-devel@vger.kernel.org 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 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. > > With regards > Ranjan > > On Tue, Jul 9, 2013 at 6:15 PM, Mark Nelson wrote: >> 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* >> >> Mark >> >> >> On 07/09/2013 08:10 PM, Ranjan Sarpangala Venkatesh wrote: >>> >>> 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 >>> #----------- >>> time=0 >>> mem_heap_B=0 >>> mem_heap_extra_B=0 >>> mem_stacks_B=0 >>> heap_tree=empty >>> >>> -- >>> With regards, >>> Ranjan >>> -- >>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >> > > >