in reply to Re^2: [Ceph::RADOS] Help Debugging Inline C
in thread [Ceph::RADOS] Help Debugging Inline C

Greetings,
Thanks for the additional info.

While still groping in the dark a bit...
BUILD_NOISY || VERBOSE || DEBUG = 1 || TRUE;
Just thinking out loud.

"Out of memory!"
Any chance you can flush some, or all of this data to disk, and use it there? That would at least prevent memory exhaustion.
Hmm...

connected Kbytes: 4880394048 Kbytes used: 1327705520 Kbytes avail: 3552688528 Objects: 164563 error(17) in create_pool:File exists create pool this_test_pool success Testing list_pools Out of memory!
error(17) in create_pool:File exists Is it possible that File is/has been created too early? This might mean that the buffers/pools are filling up, causing the memory exhaustion. As they are expecting File, which can't be operated on, because it can't be re-created.
Best guess given the data I have available.

HTH

--Chris

#!/usr/bin/perl -Tw
use perl::always;
my $perl_version = (5.12.5);
print $perl_version;

Replies are listed 'Best First'.
Re^4: [Ceph::RADOS] Help Debugging Inline C
by three18ti (Monk) on Nov 09, 2013 at 20:03 UTC

    Hey Chris

    Thanks for the advice. What does this bit do?

    BUILD_NOISY || VERBOSE || DEBUG = 1 || TRUE

    I was unable to get that to work when pasted in as it sits, adjusting to:

    BUILD_NOISY=> 1, VERBOSE => 1, DEBUG => 1,

    Gives me an error that Verbose and Debug are not valid config directives for Inline::C. A quick check of the Inline documentation confirms this. While I've solved this specific error (see below), I intend to continue working on this module, so if I can enable more verbose error messaging I think it may help down the line.

    Thanks again for your help!

      LOL. Sorry. As noted -- "Thinking out loud"

      I was just asserting in my mind that
      BUILD_NOISY is the same, or equal to VERBOSE, which is the same as, or equal to DEBUG if they were set 1 or TRUE

      Sorry for any confusion.

      In other words; if setting BUILD_NOISY TRUE, or to a positive integer didn't work. Setting any of the following might/would be an effective equivilent: VERBOSE, DEBUG.

      That's all.

      Again, sorry for any confusion I might have added.

      --Chris

      #!/usr/bin/perl -Tw
      use Perl::Always or die;
      my $perl_version = (5.12.5);
      print $perl_version;