Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Extending the default timeout periods for vCenter Server, ESX/ESXi hosts, and vCenter Update Manager (1017253)

Last Updated: 2/9/2022Categories: How toTotal Views: 123679Language:
Chinese (Simplified)Portuguese (European)JapaneseEnglish

5 like this article

Subscribe to get an email
newsletter with new updates

5 people found this helpful Please provide article feedback:

Details

The default timeout value for tasks performed and managed by VirtualCenter / vCenter Server is 30~40 minutes. If you run an Update Manager host task, such as scanning or remediating an ESXi/ESX host, the task may time out or fail if it takes more than 30 minutes to complete.

Any of these factors can cause such a timeout or failure:

The task takes more than 30 minutes to complete.

A slow connection between the vCenter Server and the ESXi/ESX host.

A network environment with low bandwidth, high latency, or in which packets are lost.

Conditions that prevent the task from completing within the default 30 minute time frame.

vLCM Scan time out happens due to network issue.

Solution

To resolve this issue, you can increase the vCenter Server and ESXi/ESX host timeout values. Three hours (10800 seconds) is generally sufficient, but in some environments, you might need to increase the timeout values to a longer period.

Increasing the vCenter Server timeout value

To increase the vCenter Server timeout value:

Log in to your vCenter Server with administrator privileges.

Back up the vpxd.cfg file. The default location is:

For Windows-based vCenter Server:

Windows 2003: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg

Windows 2008: C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg

For the vCenter Server Virtual Appliance: /etc/vmware-vpx/

Open the vpxd.cfg file in a text editor.

Paste these lines before the </config> tag:

Note: If the vpxd.cfg file already has a section for the <task> tag, place the <timeout> edit in the existing <task> section to avoid duplicate section tags. If you have duplicate section tags, the VMware VirtualCenter Server service may not start.

Caution: Do not make other changes to the configuration file.

<task>
<timeout>10800</timeout>
</task>
<vmomi>
<soapStubAdapter>
<blockingTimeoutSeconds>10800</blockingTimeoutSeconds>
</soapStubAdapter>
</vmomi>

Restart the VMware VirtualCenter Server service. For more information, see:

For the Windows-based vCenter Server: Stopping, starting, or restarting vCenter services (1003895)
For the vCenter Server Virtual Appliance: Stopping, starting, or restarting vCenter Server Appliance services (2054085)

Increasing the ESXi/ESX timeout value

To increase the ESXi/ESX timeout value:

Log in to your ESXi/ESX host with root privileges using the console or an SSH session. For more information, see:

Unable to connect to an ESX host using Secure Shell (SSH) (1003807)

Tech Support Mode for Emergency Support (1003677)

Back up the vpxa.cfg file.

The default path is /etc/opt/vmware/vpxa/vpxa.cfg

For ESXi 5.0 and above, the default path is /etc/vmware/vpxa/vpxa.cfg

Open the vpxa.cfg file in a text editor.

Paste this line between the <task> and</task> tags:

Caution: Do not make other changes to the configuration file.

<timeout>10800</timeout>

Paste these lines between the <vmomi> and </vmomi> tags:

<soapStubAdapter>
<blockingTimeoutSeconds>10800</blockingTimeoutSeconds>
</soapStubAdapter>

Note: For ESXi 7.0 U3 or later, see vSphere ESXi 7.0 U3 VPXA configuration properties (87438)

Restart the management services on your ESXi/ESX host. For more information, see Restarting the Management agents on an ESX or ESXi Server (1003490).

Increasing the timeout value in Update Manager 4.0 Update 2

In Update Manager 4.0 Update 2 and later, the default timeout period is 10 hours. You can change the default 10-hours timeout period using the <PatchTaskTimeoutSeconds> tag in the vci-integrity.xml file.

Note: The <PatchTaskTimeoutSeconds> tag is not present in earlier versions of Update Manager.

Log in to the machine where Update Manager server is installed with administrator privileges.

Back up the vci-integrity.xml file.

The default path in 32-bit Windows is C:\Program Files\VMware\Infrastructure\Update Manager

The default path in 64-bit Windows is C:\Program Files(x86)\VMware\Infrastructure\Update Manager

In VCSA file is located at /etc/vmware/service-state/updatemgr/vci-integrity.xml.

Open the vci-integrity.xml file in a text editor.

Set the timeout value in the <PatchTaskTimeoutSeconds> tag:

<PatchTaskTimeoutSeconds>timeout_value_in_seconds</PatchTaskTimeoutSeconds>

Caution: Do not make other changes to the configuration file.

Restart the Update Manager service:

In Windows, click Start > Run.

Type services.msc and press Enter.

Right-click VMware Update Manager Services and click Restart.

Wait for the service to restart.

For more information about the time required for host operations, see Update Manager host task might fail in slow networks (1021050).

While running scan operation in vLCM, sometimes scan opreation times out, which could be network delay/issues. vLCM scan can timeout on preconfigured value. Customer should have an option to extend this timeout value as per the need.

Increase the timeout value and retry the Scan operation

By adjusting the field "ScanTaskTimeoutSeconds" field in /usr/lib/vmware-updatemgr/bin/vci-integrity.xml and restarting the Update Manager service.

login to vcsa host with administrator privileges

Back up the /usr/lib/vmware-updatemgr/bin/vci-integrity.xml file.

open the /usr/lib/vmware-updatemgr/bin/vci-integrity.xml file in a text editor.

set the timeout value in the tag: <ScanTaskTimeoutSeconds>
<ScanTaskTimeoutSeconds>timeout_value_in_seconds</ScanTaskTimeoutSeconds>

Caution: Do not make other changes to the configuration file.

Restart the Update Manager service:
service-control --restart vmware-updatemgr

Additional Information

For translated versions of this article, see:

Español:

Português: Extensão dos períodos padrão de tempo limite para vCenter Server, hosts ESX/ESXi e vCenter Update Manager (2081519)

日本語: vCenter Server、ESX/ESXi ホスト、および vCenter Update Manager のデフォルト タイムアウト期間の延長 (2080216)

简体中文: 延长 vCenter Server、ESX/ESXi 主机和 vCenter Update Manager 的默认超时时间 (2079105)

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)Portuguese (European)JapaneseEnglish

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Result 1 of 1

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware vSphere

VMware VirtualCenter

VMware vCenter Update Manager

VMware vCenter Server Appliance

VMware vCenter Server

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.7

VMware vSphere ESXi 6.5

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware vSphere 7.0.x

VMware VirtualCenter 2.5.x

VMware vCenter Update Manager 6.5.x

VMware vCenter Update Manager 6.0.x

VMware vCenter Update Manager 5.5.x

VMware vCenter Update Manager 5.1.x

VMware vCenter Update Manager 5.0.x

VMware vCenter Update Manager 4.1.x

VMware vCenter Update Manager 4.0.x

VMware vCenter Update Manager 1.0.x

VMware vCenter Server Appliance 6.5.x

VMware vCenter Server Appliance 6.0.x

VMware vCenter Server Appliance 5.5.x

VMware vCenter Server Appliance 5.1.x

VMware vCenter Server Appliance 5.0.x

VMware vCenter Server 6.7.x

VMware vCenter Server 6.5.x

VMware vCenter Server 6.0.x

VMware vCenter Server 5.5.x

VMware vCenter Server 5.1.x

VMware vCenter Server 5.0.x

VMware vCenter Server 4.1.x

VMware vCenter Server 4.0.x

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Support Assistant