mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #1234] Free disk space is constantly decreasing. #849
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AFord7373 on GitHub (Nov 16, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1234
Welcome
Description of the problem,screencshot would be good
Hi. I have a problem. I use 3X-UI. 3X: v1.7.8, Xray: v1.8.4
Debian 5.10.197-1 (2023-09-29) x86_64
I am a complete beginner in Linux and have encountered it for the first time. Please be understanding.
Also, the entire text was translated using a Google Translator.
PROBLEM - Every day the free space on my VPS decreases.
I have already written about this in one of my posts, but the advice did not help me (https://github.com/MHSanaei/3x-ui/issues/1123).
For example, on 14.10.23, 9.6% of the disk was occupied on my VPS, 11.11.23 – 15.1%, and 16.11.23 is already 16%.
I completely reinstalled the operating system on my VPS and 3X-UI 1 month ago after i had 99.9% disk.
Here is my 3X-UI installation procedure (maybe I made a mistake in something) :
apt install sudo
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
apt-get install git
git clone https://github.com/MHSanaei/3x-ui.git
cd 3x-ui
git checkout v1.7.8
docker compose up -d
Then I already connected to my server via the browser at http://MYSERVERIP:2053/panel / and from that moment the installation is over.
Tips that I was given in my last post:



1. “ Just Remove access.log file at /usr/local/x-ui/access.log ”
A; I can't do this because I don't have an x-ui (3x-ui) folder in the /usr/local/ folder
I only have a 3x-ui folder under the path /root/3x-ui, BUT there is no such file as access.log in it
(I am using Bitvise SSH Client in New SFTP window mode).
I also tried using the console, but it didn't give results (maybe I entered the command incorrectly)
2. “ delete this section from your x-ui template :




"log": {
"access": "./access.log",
"error": "./error.log",
"loglevel": "warning"
}, ”
I did it (after I tried to use the first tip). But it also doesn't help.
Please tell me how to free up disk space. Because sooner or later it will end completely.
I am also ready to provide other necessary data. The main thing is to explain what I need to do to find them
Version of 3x-ui
x-ui log reports or xray log
No problems in log
@GreyFlorence commented on GitHub (Nov 26, 2023):
Same problem here
@AFord7373 commented on GitHub (Nov 27, 2023):
Join to ur server via SSH and
Try this -
sudo journalctl --vacuum-files=2
Most likely this will clear most of your disk (unnecessary files will be deleted)
U can use this command to check all files size (from heaviest to lightest) -
du -h / | sort -hr
How i saw my catalog was filling up soo we go to -
nano /etc/systemd/journald.conf
And in the SystemMaxUse set to SystemMaxUse=400MB