Greetings.
I am having an issue where I get an error from our filer stating that my request is too big for available memory.
The request I'm making is for the list of volumes and some counters associated with each volume.
We have about 150 volumes that I'm trying to retrieve information on.
This is the error:
Not enough memory to get instances for volume.Use perf-object-get-instances-iter-* calls and/or ask for specific counters to limit the amount of data retrieved
The code I'm using is as follows:
my $inperf = NaElement->new("perf-object-get-instances-iter-start");
$inperf->child_add_string("objectname", "volume");
my $counters = NaElement->new("counters");
$counters->child_add_string("counter","avg_latency");
$counters->child_add_string("counter","total_ops");
$counters->child_add_string("counter","read_data");
$counters->child_add_string("counter","read_latency");
$counters->child_add_string("counter","read_ops");
$counters->child_add_string("counter","write_data");
$counters->child_add_string("counter","write_latency");
$counters->child_add_string("counter","write_ops");
$counters->child_add_string("counter","other_latency");
$counters->child_add_string("counter","other_ops");
$inperf->child_add($counters);
my $outperf = $netapp->invoke_elem($inperf);
Is there a better way to get this information from the filer?
Is there a call that I can use that will give me just a list of volumes that I can then parse and query the specific info for each volume with?
Is there other information that I can provide which will help troubleshoot this issue?
Any help or insight will be greatly appreciated.
Cheers,
Mike