VirtualBox

Changeset 55275 in vbox for trunk/doc


Ignore:
Timestamp:
Apr 15, 2015 10:57:04 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99593
Message:

heartbeat service: document it, sanity check and fixed logging

Location:
trunk/doc/manual
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r55156 r55275  
    36913691  </sect1>
    36923692
     3693  <sect1 id="heartbeatservice">
     3694    <title>Configuring the heartbeat service</title>
     3695    <para>
     3696      VirtualBox ships a simple heartbeat service. Once the Guest Additions are
     3697      active, the guest sends frequent heartbeat pings to the host. If the guest
     3698      stops sending the heartbeat pings without properly termination the service,
     3699      the VM process will log this event in the VBox.log file. In the future it
     3700      might be possible to configure dedicated actions but for there is only a
     3701      warning in the log file.</para>
     3702
     3703    <para>
     3704      There are two parameters to configure. The <emphasis>heartbeat interval</emphasis>
     3705      defines the time between two heartbeat pings. The default value is 2 seconds, that
     3706      is, the heartbeat service of the VirtualBox Guest Additions will send a heartbeat
     3707      ping every two seconds. The value in nanoseconds can be configured like this:
     3708    </para>
     3709    <screen>VBoxManage controlvm "VM name" VBoxInternal/Devices/VMMDev/0/Config/HeartbeatInterval 2000000000</screen>
     3710    <para>
     3711      The <emphasis>heartbeat timeout</emphasis> defines the time the host waits
     3712      starting from the last heartbeat ping before it defines the guest as unresponsive.
     3713      The default value is 2 times the heartbeat interval (4 seconds) and can be configured
     3714      as following (in nanoseconds):
     3715    </para>
     3716
     3717    <screen>VBoxManage controlvm "VM name" VBoxInternal/Devices/VMMDev/0/Config/HeartbeatTimeout 4000000000</screen>
     3718
     3719    <para>
     3720      If the heartbeat timeout expires, there will be a log message like
     3721      <emphasis>VMMDev: HeartBeatCheckTimer: Guest seems to be unresponsive. Last heartbeat
     3722        received 5 seconds ago.</emphasis>
     3723      If another heartbeat ping arrives after this warning, there will be a log
     3724      message like
     3725      <emphasis>VMMDev: GuestHeartBeat: Guest is alive.</emphasis>
     3726    </para>
     3727
     3728  </sect1>
     3729
    36933730</chapter>
  • trunk/doc/manual/user_ChangeLogImpl.xml

    r55261 r55275  
    134134      <listitem>
    135135        <para>3D: fixed a possible memory leak in the host service</para>
     136      </listitem>
     137
     138      <listitem>
     139        <para>Guest Additions: added a heartbeat service (see <xref linkend="heartbeatservice" />)</para>
    136140      </listitem>
    137141
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette