Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home

How to check for packet loss with psping

Last updated on 9 December 2024

Overview

Packet loss is often a symptom of an unstable network and can manifest as strange connectivity issues. For example, the vault connection may work, then stop working or error out, or you may experience sporadic slowness (e.g., of loading the metadata card) that also goes away sometimes. In other cases, objects with a lot of metadata may load their metadata card much slower than objects with little metadata.

This article explains how you can try to emulate heavy load from the M-Files Client (e.g., loading a large metadata card of an object) to see if the network is unstable (e.g., has latency or even drops packets).

Solution

To check the latency and packet loss with psping:

  1. Download the PsPing tool: https://learn.microsoft.com/en-us/sysinternals/downloads/psping
  2. Run the command prompt as the SYSTEM user: /article/Opening-CMD-as-Local-System-Account
    1. This is needed only if you are testing the M-Files Desktop Client, as it runs as the SYSTEM user. If you are trying to test something else, ensure the tool runs as the corresponding user (which will usually be the current user). 
  3. When the symptoms are experienced, execute the following command in the elevated command prompt:
    psping -n 100 -i 0 -q <vaultdnsname>:443
    where you need to replace the vault DNS name with the real address of the vault

The outcome is a bit of statistics on the packets sent (100 in this example, you can alter the number, e.g., increase it).

The goal is that there is no packet loss (0%). If you see any, discuss the issue with your network administrator because the network is not in the control of M-Files.

Notes

  • High latency can also be seen with this approach, it should be reduced as much as possible, see more at: Network Quality Impact on M-Files Desktop (site.com)
  • This can also be used as a tool to confirm if the client has connectivity to the vault at all.
  • It is important to run the command prompt as the SYSTEM user like the M-Files Client runs, because running under the current user credentials may result in different behavior (e.g., different firewall rules may block one but not the other).
  • This tool is a different process than the M-Files client or browser or other tool that you may be having network difficulties with, therefore, different rules may apply to it (e.g., different firewall or proxy rules on the local network), and so tests need to be considered in light of this. Discuss results with your local network administrators.

Still need help?