SVC - some data missing
I migrated stor2rrd 7.30 installation to new system (Linux to Linux) and I have issues with one of storage: SVC. Configuration is presented but there is no performance data.
I removed all data for this SVC (from data, www, tmp) but it not helped.
In logs/error.log-SVC there is one repeated line:
I removed all data for this SVC (from data, www, tmp) but it not helped.
In logs/error.log-SVC there is one repeated line:
Max. recursion depth with nested structures exceeded at /usr/lib64/perl5/vendor_perl/Storable.pm line 278, at /opt/stor2rrd/bin/svcperf.pl line 902.
Could you help me with debugging it?
P.S. Another SVC works as expected.
Regards, Grzegorz
Comments
-
Hi,do you get same error by running this:perl -MStorable=nstore -e '$h->{$i}{a}{b}{c} = 0 while $i++<10000; nstore($h, "testfile")'what is your perl, older than 5.30?are you able to upgrade perl to 5.30.0 at least, it seems to be a perl issue
https://askubuntu.com/questions/1045683/max-recursion-depth-with-nested-structures-exceeded-at-usr-local-lib-perl-5-18
https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=912695#83As a workaround,you can change the value of the limit into the file /usr/lib64/perl5/vendor_perl/Storable/Limit.pm¿ like below:
# bisected by stacksize
$Storable::recursion_limit = -1
unless defined $Storable::recursion_limit;
$Storable::recursion_limit_hash = -1
unless defined $Storable::recursion_limit_hash;
1;
-
Hi Pavel,
Yes, We have RHEL 8.5 with perl 5.26 - default version. I've tried to upgrade it to 5.30 (using module streams), but a lot of dependency was missing. But your workaround with manually changed limit - works! Thank you!
Regards, Greg -
just a note for AIX users where Limit.pm does not exist with perl-5.30.3-2 at least.
in stor2rrd application directory (/home/stor2rrd/stor2rrd usually) open:
vi bin/svcperf.pl
and put this behind line: use Storable qw(retrieve nstore);
# Bug: Max. recursion depth with nested structures exceeded
$Storable::recursion_limit=-1;
$Storable::recursion_limit_hash=-1;
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 150 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle