[GH-ISSUE #3412] Does it calculate the traffic incorrectly? #2317

Closed
opened 2026-10-31 20:24:42 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @KyKyIIIKuH on GitHub (Sep 3, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3412

Question

Hi.
Who can explain how traffic is calculated in inbounds?
It shows me that the inbound has used 78.52 GB, but in the server control panel it shows 171.4 GB.
Why is that?

UI: v2.6.7
xray: v25.8.29

3x-ui
Image

VPS Control Panel

Image

Checklist

  • This question is written entirely in English.
Originally created by @KyKyIIIKuH on GitHub (Sep 3, 2025). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3412 ### Question Hi. Who can explain how traffic is calculated in inbounds? It shows me that the inbound has used 78.52 GB, but in the server control panel it shows 171.4 GB. Why is that? UI: v2.6.7 xray: v25.8.29 3x-ui <img width="390" height="118" alt="Image" src="https://github.com/user-attachments/assets/9e4b52fa-ca4d-433d-a68f-b68e1e2cb773" /> VPS Control Panel <img width="1067" height="421" alt="Image" src="https://github.com/user-attachments/assets/84f392a1-f637-43a3-8fd1-a618245bd55e" /> ### Checklist - [x] This question is written entirely in English.
bsakaguchi 2026-10-31 20:24:42 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@gavinsama commented on GitHub (Sep 11, 2025):

To a large extent, this might be because your server provider has implemented two-way traffic statistics. After the server retrieves the data for you, it also needs to transmit the data back to you. However, 3x-ui only counts one-way connections.

<!-- gh-comment-id:3281477203 --> @gavinsama commented on GitHub (Sep 11, 2025): To a large extent, this might be because your server provider has implemented two-way traffic statistics. After the server retrieves the data for you, it also needs to transmit the data back to you. However, 3x-ui only counts one-way connections.
Author
Owner

@escapecyc commented on GitHub (Sep 18, 2025):

You can check In/Out Total Overview tab

this is same server traffic

Image
<!-- gh-comment-id:3305538958 --> @escapecyc commented on GitHub (Sep 18, 2025): You can check In/Out Total Overview tab this is same server traffic <img width="1060" height="572" alt="Image" src="https://github.com/user-attachments/assets/1cfef8e5-4770-4863-9953-64f8e095fefb" />
Sign in to join this conversation.
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
MHSanaei/3x-ui#2317
No description provided.