Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow fetch from vcsa #126

Closed
avinchakov opened this issue Sep 4, 2017 · 3 comments
Closed

Slow fetch from vcsa #126

avinchakov opened this issue Sep 4, 2017 · 3 comments

Comments

@avinchakov
Copy link

Hi,
I have a trouble with ViPullStatistics.pl after upgrade from Ubuntu 14 to Ubuntu 16. I try to fetch metrics every 1 min. It worked good on Ubuntu 14 but now:

[2017/09/04 12:52:01] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:52:01] /opt/bin/ViPullStatistics.pl line82 - [INFO] Login to vCenter us-vcsa.local
[2017/09/04 12:52:01] /opt/bin/ViPullStatistics.pl line96 - [INFO] vCenter us-vcsa.local session file saved
[2017/09/04 12:52:02] /opt/bin/ViPullStatistics.pl line145 - [INFO] Processing vCenter us-vcsa.local datacenters
[2017/09/04 12:52:02] /opt/bin/ViPullStatistics.pl line152 - [INFO] Processing vCenter us-vcsa.local clusters in datacenter us-datacenter
[2017/09/04 12:52:11] /opt/bin/ViPullStatistics.pl line366 - [INFO] Processing vCenter us-vcsa.local standalone hosts in datacenter us-datacenter
[2017/09/04 12:52:11] /opt/bin/ViPullStatistics.pl line477 - [INFO] End processing vCenter us-vcsa.local
[2017/09/04 12:53:01] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:53:01] /opt/bin/ViPullStatistics.pl line82 - [INFO] Login to vCenter us-vcsa.local
[2017/09/04 12:53:01] /opt/bin/ViPullStatistics.pl line96 - [INFO] vCenter us-vcsa.local session file saved
[2017/09/04 12:53:02] /opt/bin/ViPullStatistics.pl line145 - [INFO] Processing vCenter us-vcsa.local datacenters
[2017/09/04 12:53:02] /opt/bin/ViPullStatistics.pl line152 - [INFO] Processing vCenter us-vcsa.local clusters in datacenter us-datacenter
[2017/09/04 12:53:10] /opt/bin/ViPullStatistics.pl line366 - [INFO] Processing vCenter us-vcsa.local standalone hosts in datacenter us-datacenter
[2017/09/04 12:53:10] /opt/bin/ViPullStatistics.pl line477 - [INFO] End processing vCenter us-vcsa.local
[2017/09/04 12:54:02] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:54:02] /opt/bin/ViPullStatistics.pl line82 - [INFO] Login to vCenter us-vcsa.local
[2017/09/04 12:54:02] /opt/bin/ViPullStatistics.pl line96 - [INFO] vCenter us-vcsa.local session file saved
[2017/09/04 12:54:03] /opt/bin/ViPullStatistics.pl line145 - [INFO] Processing vCenter us-vcsa.local datacenters
[2017/09/04 12:54:03] /opt/bin/ViPullStatistics.pl line152 - [INFO] Processing vCenter us-vcsa.local clusters in datacenter us-datacenter
[2017/09/04 12:54:11] /opt/bin/ViPullStatistics.pl line366 - [INFO] Processing vCenter us-vcsa.local standalone hosts in datacenter us-datacenter
[2017/09/04 12:54:11] /opt/bin/ViPullStatistics.pl line477 - [INFO] End processing vCenter us-vcsa.local
[2017/09/04 12:55:02] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:55:02] /opt/bin/ViPullStatistics.pl line82 - [INFO] Login to vCenter us-vcsa.local
[2017/09/04 12:56:02] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:56:02] /opt/bin/ViPullStatistics.pl line72 - [ERROR] ViPullStatistics from us-vcsa.local is already running!
[2017/09/04 12:56:02] /usr/share/perl5/Log/Log4perl/Logger.pm line906 - DIE [ERROR] ViPullStatistics from us-vcsa.local is already running! at /opt/bin/ViPullStatistics.pl line 72
[2017/09/04 12:56:37] /opt/bin/ViPullStatistics.pl line96 - [INFO] vCenter us-vcsa.local session file saved
[2017/09/04 12:56:38] /opt/bin/ViPullStatistics.pl line145 - [INFO] Processing vCenter us-vcsa.local datacenters
[2017/09/04 12:56:38] /opt/bin/ViPullStatistics.pl line152 - [INFO] Processing vCenter us-vcsa.local clusters in datacenter us-datacenter
[2017/09/04 12:56:46] /opt/bin/ViPullStatistics.pl line366 - [INFO] Processing vCenter us-vcsa.local standalone hosts in datacenter us-datacenter
[2017/09/04 12:56:46] /opt/bin/ViPullStatistics.pl line477 - [INFO] End processing vCenter us-vcsa.local
[2017/09/04 12:57:01] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:57:01] /opt/bin/ViPullStatistics.pl line82 - [INFO] Login to vCenter us-vcsa.local
[2017/09/04 12:58:01] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:58:01] /opt/bin/ViPullStatistics.pl line72 - [ERROR] ViPullStatistics from us-vcsa.local is already running!
[2017/09/04 12:58:01] /usr/share/perl5/Log/Log4perl/Logger.pm line906 - DIE [ERROR] ViPullStatistics from us-vcsa.local is already running! at /opt/bin/ViPullStatistics.pl line 72
[2017/09/04 12:59:02] /opt/bin/ViPullStatistics.pl line60 - [INFO] Start processing vCenter us-vcsa.local
[2017/09/04 12:59:02] /opt/bin/ViPullStatistics.pl line72 - [ERROR] ViPullStatistics from us-vcsa.local is already running!
[2017/09/04 12:59:02] /usr/share/perl5/Log/Log4perl/Logger.pm line906 - DIE [ERROR] ViPullStatistics from us-vcsa.local is already running! at /opt/bin/ViPullStatistics.pl line 72
[2017/09/04 12:59:02] /opt/bin/ViPullStatistics.pl line96 - [INFO] vCenter us-vcsa.local session file saved
[2017/09/04 12:59:02] /opt/bin/ViPullStatistics.pl line145 - [INFO] Processing vCenter us-vcsa.local datacenters
[2017/09/04 12:59:02] /opt/bin/ViPullStatistics.pl line152 - [INFO] Processing vCenter us-vcsa.local clusters in datacenter us-datacenter
[2017/09/04 12:59:11] /opt/bin/ViPullStatistics.pl line366 - [INFO] Processing vCenter us-vcsa.local standalone hosts in datacenter us-datacenter
[2017/09/04 12:59:11] /opt/bin/ViPullStatistics.pl line477 - [INFO] End processing vCenter us-vcsa.local

After starting of script, first two or three times it works good, but then a big time-size between "login" and "save session file"

@rschitz
Copy link
Member

rschitz commented Sep 4, 2017 via email

@avinchakov
Copy link
Author

Thank you @rschitz
I found the problem. I downgraded all perl libs.

@rschitz
Copy link
Member

rschitz commented Sep 5, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants