trojanpanel / install-script

Multi-user web administration panel supporting Xray/Trojan-Go/Hysteria/NaiveProxy
https://trojanpanel.github.io
1.82k stars 468 forks source link

Disk Usage #130

Open CodexJ opened 1 year ago

CodexJ commented 1 year ago

Hello, Since i installed trojanpannel my disk usage is rising, Is there any log files or somthing to clear ?

jonssonyan commented 1 year ago

Check the log file size and try to delete earlier log files. The large number of log files may be caused by frequent errors in the system. The Trojan Panel log file location is as follows /tpdata/trojan-panel/logs/ The location of the Trojan Panel Core log file is as follows /tpdata/trojan-panel-core/logs/

CodexJ commented 1 year ago

I checked those logs path but they have just a little size about a few Kilobytes, but these docker path are using a high amount of disk and they are increasing.

overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/da31d2235c5d5da7b31b9bd7d97834c4749d0d2e0fa8ffb09b700f9fac7439f2/merged overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/8a44019763eca56996a1b053e51b531ec8da609f5ec30e7513f151e8508c3ac8/merged overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/14c98e3e74b87525c93bcac6611b5baae7a65ca54d7f0cf868a7852ab18cfdd7/merged overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/3d198a1bb3689f8ec10ce4db0ad0dbba452529db004f21dbcc3305fa89dca30b/merged overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/8e23924467448cc8dcd0dc459233bacd0f593beffde8ecea3ace20f51f7f1c7e/merged overlay 14881592 8072716 6032456 58% /var/lib/docker/overlay2/24ef248b87992f21430be8b28a4160e4409b44749cedabaefeea97fcee02a949/merged

jonssonyan commented 1 year ago

@CodexJ What is your trojan panel version? It is recommended to upgrade to the latest version. The problem you encountered may be similar to this issue https://github.com/trojanpanel/install-script/issues/19

CodexJ commented 1 year ago

My Trojan Panel version is latest, I did solution in #19 but i see no diffrence, as i mentioned the /var/lib/docker/overlay2 is growing up, I think the problem is somthing inside the containers files. My disk size is 14GB and since i installed trojan pannel the 57% disk is used at the moment and it's growing up.