[GH-ISSUE #1319] High CPU and Memory usage by Xray when losing connection (Linux) #520

Open
opened 2026-10-13 20:23:20 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @SophieSilver on GitHub (Dec 27, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1319

I sometimes see high CPU and memory usage by Amnezia, or, to be more precise by the xray and tun2socks subprocesses. This seems to happen whenever I lose internet connection.

Steps to reproduce

  • Connect to an Xray server
  • Disconnect from any network (or just turn off wifi if on laptop)
  • Observe the CPU and memory usage skyrocket
    image
    image

System Information

OS: Kubuntu 24.04
Kernel version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland

This issue might be related to #1299

Originally created by @SophieSilver on GitHub (Dec 27, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1319 I sometimes see high CPU and memory usage by Amnezia, or, to be more precise by the xray and tun2socks subprocesses. This seems to happen whenever I lose internet connection. ### Steps to reproduce * Connect to an Xray server * Disconnect from any network (or just turn off wifi if on laptop) * Observe the CPU and memory usage skyrocket ![image](https://github.com/user-attachments/assets/526a6f4a-a8ab-4308-b605-61e18c7aad2d) ![image](https://github.com/user-attachments/assets/9fa88e77-ec00-4e8f-a657-e3c72ddaabe1) ### System Information OS: Kubuntu 24.04 Kernel version: 6.8.0-51-generic (64-bit) Graphics Platform: Wayland This issue might be related to #1299
Author
Owner

@Nethius commented on GitHub (Feb 18, 2025):

try latest release

<!-- gh-comment-id:2666215998 --> @Nethius commented on GitHub (Feb 18, 2025): try latest release
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#520
No description provided.