Brazil's biggest MU Online portal — since 2003
Tutorial Intermediate Infrastructure

Network lag or server lag? How to diagnose the real cause on your MU Online

Learn to tell network lag (latency, packet loss, routing) apart from server lag (CPU, database, GameServer tick) on your MU Online server, with practical ping, traceroute, and internal monitoring tests.

RO Rodrigo · Updated on Mar 6, 2020 · ⏱ 13 min read
Quick answer

"It's lagging" is the most common and most ambiguous complaint a MU Online server administrator receives — and it can mean two completely different things with opposite solutions. Network lag is a problem in the path between the player and the server (latency, packet loss, routing); server lag is an

"It's lagging" is the most common and most ambiguous complaint a MU Online server administrator receives — and it can mean two completely different things with opposite solutions. Network lag is a problem in the path between the player and the server (latency, packet loss, routing); server lag is an internal problem (saturated GameServer CPU, slow database, delayed tick). Treating one as if it were the other wastes time and can even make the experience worse. This tutorial teaches you to tell the two apart with objective tests, before switching hosting or reconfiguring the GameServer unnecessarily.

The two types of lag and how each one feels

Network lag usually shows up as teleporting (the character "jumps" position), attacks that take a while to register, or intermittent disconnects — and tends to affect one player or a group of players from the same region/provider, while others play normally. Server lag shows up as a general, synchronized freeze: everyone freezes at the same time, monsters stop moving, chat lags, and it usually coincides with peak hours or a specific event (boss, Castle Siege). Rule of thumb: if the problem is localized to people/regions, suspect network; if it's global and synchronized, suspect server.

Quick diagnosis: comparison table

SymptomNetwork lagServer lag
Who's affectedSpecific players/regionEveryone at the same time
Player's pingHigh or unstableCan look normal
GameServer CPUNormalHigh (near 100%)
Timing of the issueRandom, tied to the player's routePeak hours or a specific event
PersistenceDisappears when switching network/VPNContinues on any connection
Affects NPCs/monstersNoYes (they stop or lag)

Step 1 — Ask the player for a basic ping and traceroute

The first, simplest test already filters out a lot. Ask the player to run in the terminal:

ping YOUR_IP_OR_DOMAIN -n 20
tracert YOUR_IP_OR_DOMAIN

A stable ping (small variation between minimum and maximum) with a reasonable value for the geographic distance indicates a healthy network. Ping fluctuating a lot (e.g., swinging from 40ms to 400ms) or with packet loss reported in the summary already points to a network problem — on the player's side or somewhere along the way.

Step 2 — Run MTR/WinMTR from the server side

From the server side (or from a VPS in the same region), run an MTR against the complaining player's IP (if available) or against reference points along the route (regional backbone). MTR shows, hop by hop, where packet loss and delay appear — letting you distinguish "problem in your own datacenter," "problem somewhere in the internet," or "problem in the player's last mile."

WinMTR: add the destination IP and let it run for a few minutes.
Watch the "Loss %" column — hops with high, consistent loss indicate the problem point.

Step 3 — Check the GameServer's internal health

If the symptom pattern suggests server lag (affects everyone, synchronized, monsters freeze), look inward:

MetricToolWhat indicates a problem
GameServer.exe process CPUTask ManagerConstant usage above 80-90%
GameServer memory usageTask ManagerContinuous growth without stabilizing
Database query latencySee the slow SQL tutorialRecurring queries above 100-200ms
Concurrent connections (CPS)ConnectServer logPeak well above configured capacity

If the GameServer's CPU is saturated during the incident, the "lag" players are reporting is, in practice, the server's tick falling behind — nothing to do with anyone's internet.

Step 4 — Distinguish ConnectServer, GameServer, and the database

A frequently overlooked detail: the "server" in MU is actually several processes (ConnectServer, JoinServer, GameServer, database), and each can independently become the bottleneck. Slow login points to ConnectServer/JoinServer or the database; freezing during gameplay (movement, combat) points to the GameServer; slow ranking/guild points almost always to the database. Isolating which process is under stress at the moment of the symptom avoids "optimizing" the wrong part.

Step 5 — Test with a control player

A simple, effective technique: ask an administrator or GM to play from a different network (mobile 4G, another city) during the supposed lag window. If the GM feels the same synchronized freeze players are reporting, the cause is the server. If the GM plays normally while others complain, the cause is network/routing specific to those players.

Continuous monitoring tools

To avoid relying only on one-off complaints, it's worth keeping passive monitoring running:

  • Zabbix/Grafana + host agent: CPU, memory, disk, and network on the server, with history and alerts.
  • GameServer tick log: many emulators let you log when a cycle's processing exceeds a threshold (e.g., over 100ms), directly flagging tick delay.
  • Database latency log: record the time of critical queries (login, movement) to detect degradation before it becomes a mass complaint.

Specific cases: Castle Siege and boss events

Events with many players concentrated in a small area (Castle Siege, world boss) are the classic scenario where server lag shows up even on otherwise healthy infrastructure — the volume of simultaneous position/attack packets overloads per-tick processing. In this case, the solution isn't switching hosts, but reviewing simultaneous player limits in the area, optimizing collision/damage calculation, or slightly increasing the position sync interval during the event.

When switching hosting really is the solution

After confirming (via MTR and the control-player test) that the problem really is routing/network and not internal processing, then consider: a server in a datacenter geographically far from most of the player base, a provider with poor peering to the target region, or a network plan with insufficient bandwidth for peak connections. Switching hosting without this prior confirmation is an expensive bet — the problem can simply reappear in the new environment if the root cause was CPU or the database.

Common errors and fixes

SymptomLikely causeFix
Only a few players complain about lagNetwork route specific to that region/providerMTR/traceroute from the player's side; consider a CDN/alternate route
Everyone freezes at once, monsters stopServer lag (CPU/tick/database)Investigate GameServer CPU and database latency at the time of the incident
Lag only appears during Castle Siege/bossOverloaded per-tick processing volumeReview the simultaneous player limit and optimize combat calculation
Switched hosts and lag stayed the sameRoot cause was the server, not the networkDiagnose CPU/database before repeating the migration
Normal ping but character "teleports"Packet loss not captured by a simple pingRun MTR to identify loss at a specific hop

Lag diagnosis checklist

  • Symptom pattern classified (localized vs. global/synchronized).
  • Ping and traceroute collected from the affected player's side.
  • MTR/WinMTR run from the server side to identify the problematic hop.
  • GameServer CPU, memory, and database latency checked at the time of the incident.
  • Control-player test performed on a different network.
  • Specific process (ConnectServer, GameServer, database) isolated as the source.
  • Decision to switch hosting made only after ruling out an internal cause.

With the root cause of the lag correctly identified, the next step is reviewing the server's overall infrastructure configuration to prevent recurrence — the MU Online server creation tutorial covers the baseline configuration that supports a stable environment.

Frequently asked questions

If only a few players complain about lag, is it network or server?

Usually network. Server lag affects everyone similarly (the GameServer's tick stalls for everyone at once). Lag isolated to specific players points to the network path between that player and the server.

Does high ping always mean it's the player's own network?

Not necessarily the player's fault — it could be a bad route between their provider and the server's datacenter, international routing, or even misconfigured QoS on the server itself. A traceroute shows exactly which hop the delay appears at.

What is the GameServer's 'tick' and why does it matter for lag?

It's the interval at which the server processes and updates the game state (positions, combat, events). If the tick is delayed by a busy CPU or a slow database, every player feels the same kind of stutter, even with perfect internet — that's server lag, not network lag.

What symptoms does packet loss cause in MU?

Character teleporting, attacks that don't register, and delayed response to clicks, even with seemingly normal ping. An MTR/traceroute showing loss percentage at a specific hop usually points to the origin.

Is it worth switching datacenter/hosting to fix lag?

Only after confirming the problem really is network/routing and not server configuration. Switching hosts fixes bad routing and geographic distance, but doesn't fix saturated CPU or a slow query — in that case the lag simply reappears on the new host.

RO
Founder & editor-in-chief

Rodrigo has run ViciadosMU since the portal's early days. A specialist in MU Online server creation and administration, game history and the evolution of the seasons — he wrote much of the archive before 2024.

Keep reading

Related articles