You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, thanks for this awesome project!
I've been using Lancache at home for the past 1-2 years now as well as on our small friend groups lan party (~40-50 people).
Now I just noticed on my home instance, that the /logs/access.log does not appear to have retention. I was wondering why I ran out of disk space all the sudden, as I have 1.4T disk, I use 1350G for cache and 500M for index, so there should've been ~48G free space for the OS etc.
I just cleared all the caches, but right after that I noticed this:
root@lancache:/cache/logs# ls -la
total 113190328
drwxr-xr-x 2 root root 4096 Jul 27 20:51 .
drwxr-xr-x 4 root root 4096 Jul 27 20:51 ..
-rw-r--r-- 1 root root 115905572629 Jan 2 18:06 access.log
-rw-r--r-- 1 root root 226523 Jan 2 17:53 error.log
-rw-r--r-- 1 root root 651463 Jan 2 17:58 stream-access.log
-rw-r--r-- 1 root root 200704 Dec 23 16:26 stream-error.log
-rw-r--r-- 1 root root 75732 Dec 6 18:12 upstream-error.log
root@lancache:/cache/logs# ls -lah
total 108G
drwxr-xr-x 2 root root 4.0K Jul 27 20:51 .
drwxr-xr-x 4 root root 4.0K Jul 27 20:51 ..
-rw-r--r-- 1 root root 108G Jan 2 17:54 access.log
-rw-r--r-- 1 root root 222K Jan 2 17:53 error.log
-rw-r--r-- 1 root root 636K Dec 23 16:26 stream-access.log
-rw-r--r-- 1 root root 196K Dec 23 16:26 stream-error.log
-rw-r--r-- 1 root root 74K Dec 6 18:12 upstream-error.log
That's quite big access.log file there 😅 Some kind of retention, for either e.g. 10G or past 30 days or something would be better, imho.
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
First of all, thanks for this awesome project!
I've been using Lancache at home for the past 1-2 years now as well as on our small friend groups lan party (~40-50 people).
Now I just noticed on my home instance, that the
/logs/access.log
does not appear to have retention. I was wondering why I ran out of disk space all the sudden, as I have 1.4T disk, I use 1350G for cache and 500M for index, so there should've been ~48G free space for the OS etc.I just cleared all the caches, but right after that I noticed this:
That's quite big
access.log
file there 😅 Some kind of retention, for either e.g. 10G or past 30 days or something would be better, imho.In case you're interested, here's my repo with configs that I use: https://github.com/kirbo/lancache
The text was updated successfully, but these errors were encountered: