install-script icon indicating copy to clipboard operation
install-script copied to clipboard

Disk Usage

Open CodexJ opened this issue 2 years ago • 4 comments
trafficstars

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

CodexJ avatar Jan 22 '23 12:01 CodexJ

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/

jonssonyan avatar Feb 03 '23 15:02 jonssonyan

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

CodexJ avatar Feb 06 '23 07:02 CodexJ

@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

jonssonyan avatar Feb 06 '23 14:02 jonssonyan

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.

CodexJ avatar Feb 07 '23 18:02 CodexJ