Skip to content

Windows Server 2022: performance improved a lot, but the UI process still exits by itself and 4310 becomes unreachable #52

@lxm98083-boop

Description

@lxm98083-boop

Hi, thank you for the recent optimization work.

I want to report both the good news and the remaining issue from my Windows environment.

Good news: performance is much better now

Previously, on my machine, the control center was almost unusable:

  • Home page load was around 23 seconds
  • Settings page load was around 12 seconds

After the recent updates, performance improved dramatically:

  • The UI now opens very fast
  • Page opening speed is now acceptable / good in normal use

So first of all: the recent performance optimization is clearly working.

Remaining problem: the UI process still exits by itself

The main remaining issue is stability.

Today, during actual use on my machine, the UI process exited by itself multiple times.

Each time this happened:

  • http://127.0.0.1:4310/ stopped responding
  • the browser showed connection refused
  • I had to restart it manually

So this is not just a theoretical concern — it happened in real usage more than once today.

Another issue seen on first startup

On first startup, I also saw a missing file warning related to:

runtime/avatar-preferences.json

After creating that file manually, that specific warning stopped.

So this seems like a first-run initialization problem that should probably be handled automatically.

What I had to do on my side

Because the UI process could exit by itself, I ended up creating Windows scripts / scheduled tasks to:

  • start it automatically at system boot
  • check it periodically
  • bring it back if port 4310 is no longer listening

This means the current version is already much faster, but still not stable enough for unattended use on my Windows setup.

Environment

  • OS: Windows Server 2022 Standard
  • OpenClaw: native Windows install
  • CPU: Intel Core i9-13900K
  • GPU: GIGABYTE AORUS GeForce RTX 5090 MASTER 32GB
  • Motherboard: ASUS TUF GAMING Z790-PLUS WIFI
  • RAM: G.SKILL Ripjaws S5 DDR5-6000 128GB (32GB x4), currently stable at 5200 MT/s
  • SSD: M.2 NVMe PCIe SSD 4TB

Summary

So from my current testing result:

  • Performance is much better than before
  • But stability is still a real issue on Windows
  • The process can still exit by itself
  • When that happens, 127.0.0.1:4310 becomes unavailable

Suggestions

It would be great if future updates could improve:

  1. first-run initialization for missing runtime files
  2. process stability on Windows
  3. built-in self-recovery / watchdog behavior if the UI process exits unexpectedly

If needed, I can continue testing on this Windows environment and provide more feedback.

Thanks again — the speed improvement is very noticeable, and I think this project is moving in a good direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions