[
https://issues.apache.org/jira/browse/VCL-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949917#comment-15949917
]
ASF subversion and git services commented on VCL-1032:
------------------------------------------------------
Commit 1789590 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1789590 ]
VCL-1032
Removed /s from 2 regex's in utils.pm causing very slow text processing.
Other
Added utils.pm::format_array_reference. It's currently only used for generating
output to help development.
> VIM_SSH.pm::get_config_option_info very slow when using run_ssh_command
> -----------------------------------------------------------------------
>
> Key: VCL-1032
> URL: https://issues.apache.org/jira/browse/VCL-1032
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend)
> Affects Versions: 2.4.2
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Fix For: 2.5
>
>
> VIM_SSH.pm::get_config_option_info causes *vim-cmd solo/querycfgopt* to be
> executed on an ESXi host. The output is rather complex.
> When utils.pm::run_ssh_command is used to execute the command (_rather than
> OS.pm::execute\_new_), there is a 1-2 minute or more pause as the following
> lines are executed:
> {code}
> $ssh_output =~ s/.*ssh-askpass:[^\n]*//igs;
> $ssh_output =~ s/.*bad permissions:[^\n]*//igs;
> {code}
> The problem is due to the /s parameter. Removing it speeds processing these
> lines up.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)