[Support] Josh.5 Docker Templates


Recommended Posts

Maybe I found a problem. I noticed it yesterday. LANCACHE files are set to two disks.

 

image.png.db1eb2c724956807130b35d920bf6fac.png

 

Once disk 6 was full to 50%, he started saving the files to disk 7, but did not read the files from disk 6 when reinstalled.

 

image.thumb.png.4bcb14c02e1ac75294902f4bb438e46f.png

 

I download each game twice for LANCACHE testing (1x VM and 1x PC). Since yesterday, some games have been downloaded from the net again. These are games that are stored on disc 6. LANCACHE has started to ignore disc 6 and stores everything in disc 7 again.

 

image.thumb.png.617f95b9eee55ea7f435c4f25da3cec5.png

 

Thank you for your support.

 

PS: I need to figure out a way to collect data from disk 7 to disk 6. Krusader contains folders it cannot open.

 

image.thumb.png.41e3f04a088486325562e864ef6fe10a.png

 

image.png.1e473c673621c612c1637a1ec6a83c2f.png

Edited by Pappy
Link to comment
22 minutes ago, Pappy said:

Maybe I found a problem. I noticed it yesterday. LANCACHE files are set to two disks.

Check your default share configuration. (Edit: Settings > Global Share Settings)

22 minutes ago, Pappy said:

PS: I need to figure out a way to collect data from disk 7 to disk 6. Krusader contains folders it cannot open.

You'll need to apply "Tools > New Permissions" on the lancache share before running Krusader.

Edited by jbartlett
  • Thanks 1
Link to comment
Just came across this after discovering the monolith cache, thanks for it!
 
I did some testing with it on a small Steam game and checking out the download speeds and I'm not seeing any improvements in my download speed.
 
I see hits against the nginx/access.log but I don't see anything that indicates if it was a cache hit or not. I do see files being saved to ./lancache/cache.
 
How can we tell if we get a cache hit or not?
Open a terminal on unraid.

Run :

tail -fn1 /mnt/user/appdata/lancache-bundle/log/*/*.log

Link to comment
Can anyone else confirm that they can actually connect to steam using lancache?  I tried it a few weeks ago and I was able to do everything in lancache except connect to steam.  It resolved DNS etc correctly (actually much faster than steamcache), but steamcache was the only one that would actually let me connect to steam for some reason.
Yes. That bug is now squashed. Give it another try now. Follow the instructions I wrote previously to clear out the old data and view the logs to see it in action.

I've taken logs out of docker logging for now as it was annoying to view in unraids web popup. Its my intent to make a variable that can be set to switch the logging to docker logs on/off....
Link to comment
21 minutes ago, Josh.5 said:

Open a terminal on unraid.

Run :
 


tail -fn1 /mnt/user/appdata/lancache-bundle/log/*/*.log
 

 

==> /mnt/user/appdata/lancache-bundle/log/named/client.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/config.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/database.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/default.log <==
28-Feb-2020 22:30:52.519 client @0x152fb4035650 10.0.0.4#50798 (lancache.steamcontent.com): rpz QNAME Local-Data rewrite lancache.steamcontent.com via lancache.steamcontent.com.rpz

==> /mnt/user/appdata/lancache-bundle/log/named/dispatch.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/dnssec.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/general.log <==
28-Feb-2020 20:38:55.329 running

==> /mnt/user/appdata/lancache-bundle/log/named/lame-servers.log <==
28-Feb-2020 22:32:47.836 address not available resolving 'clients4.google.com/A/IN': 2001:4860:4802:38::a#53

==> /mnt/user/appdata/lancache-bundle/log/named/network.log <==
28-Feb-2020 20:38:49.944 no longer listening on 10.0.0.2#53

==> /mnt/user/appdata/lancache-bundle/log/named/notify.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/queries.log <==
28-Feb-2020 22:33:03.329 client @0x152fbc795970 10.0.0.5#54463 (pc-nas.local): query: pc-nas.local IN A + (10.0.0.2)

==> /mnt/user/appdata/lancache-bundle/log/named/resolver.log <==
28-Feb-2020 20:45:45.622 resolver priming query complete

==> /mnt/user/appdata/lancache-bundle/log/named/security.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/unmatched.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/update.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/xfer-in.log <==

==> /mnt/user/appdata/lancache-bundle/log/named/xfer-out.log <==

==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log <==
10.0.0.4 - - [28/Feb/2020:22:33:12 +0100] "GET /depot/239145/chunk/c52658fa69a838220ff1333bc36f268e86910a17 HTTP/1.1" 200 1061424 "-" "Valve/Steam HTTP Client 1.0"

==> /mnt/user/appdata/lancache-bundle/log/nginx/error.log <==
2020/02/28 20:46:45 [error] 2163#2163: *49 connect() failed (110: Connection timed out) while connecting to upstream, client: 10.0.0.4, server: , request: "GET /depot/239144/chunk/23ca3656bee064cc1eabb21aa245efc3ee8ab059 HTTP/1.1", upstream: "http://146.66.155.12:80/depot/239144/chunk/23ca3656bee064cc1eabb21aa245efc3ee8ab059", host: "valve1202.steamcontent.com"

==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log <==
10.0.0.4 - - [28/Feb/2020:22:33:13 +0100] "GET /depot/239145/chunk/33de1e6a8b813cf5aaf089d6908bfae2601ef867 HTTP/1.1" 200 1061840 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:13 +0100] "GET /depot/239145/chunk/e362b927c738ad8e5f805e29198f9c529ec327dd HTTP/1.1" 200 1061856 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/49beb2ca3ba1c2b998ca0799445a7e1a4fa14683 HTTP/1.1" 200 1062000 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/459174c27a9c789818802055fc1a01e2cbae0f53 HTTP/1.1" 200 1036800 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/42f32107738c0f35b651ecc93d1cbbefd0b376f9 HTTP/1.1" 200 1060624 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/65651b4aef72f1b749db8c16394eda95073acdb8 HTTP/1.1" 200 1061984 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/4a4212c129337d6cac04ebe0b3ff0fb2d34f6354 HTTP/1.1" 200 1061808 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/3a0a562fd518744b82087b94dd368f032a44c329 HTTP/1.1" 200 1061936 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/f274d99fe6b9d58d3fcf0bb6a92943c26a728a15 HTTP/1.1" 200 243952 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/929db7718719494775488a5fd3fa32e6ba905390 HTTP/1.1" 200 1061904 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/9587fcca9644da212932c5f2524d045662ec1e83 HTTP/1.1" 200 346064 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/89912d9890019946a50b52e5fb83fe56b437824d HTTP/1.1" 200 1061808 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/32bf6ac8dbf25443714c8a0fac6d6a291e37132b HTTP/1.1" 200 248240 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/67696a86b748e8b90e8eab896546987096b7fd2b HTTP/1.1" 200 1062032 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/b9f9c8e1ed10db2109caf166c42c39d47b485ad8 HTTP/1.1" 200 1061856 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/82e1a5ac77da1b31ca978a629cfe0a4a3119bea2 HTTP/1.1" 200 1061936 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/349a9233557c864a0970ada8ca770188ca3b0887 HTTP/1.1" 200 646096 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/1f757afed30cbabb20a2dbe8e4944fedc9be2adc HTTP/1.1" 200 1062000 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/1c4f661c8de307a21dc87f2c806b4d9e9e409aa4 HTTP/1.1" 200 1051616 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/db25e9c54c4464ee5344ed1459eb8a084e98df61 HTTP/1.1" 200 940256 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/0af3efdc319836eb525c5e3c21c0ef4b37c5295e HTTP/1.1" 200 1058304 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/afd533bb3c7a6f892dbff6232afa4b91d6f78704 HTTP/1.1" 200 339616 "-" "Valve/Steam HTTP Client 1.0"

==> /mnt/user/appdata/lancache-bundle/log/named/default.log <==
28-Feb-2020 22:33:19.657 client @0x152fbc795970 10.0.0.5#56950 (clientconfig.akamai.steamstatic.com): rpz QNAME Local-Data rewrite clientconfig.akamai.steamstatic.com via clientconfig.akamai.steamstatic.com.rpz

==> /mnt/user/appdata/lancache-bundle/log/named/queries.log <==
28-Feb-2020 22:33:19.620 client @0x152fbc795970 10.0.0.5#56950 (clientconfig.akamai.steamstatic.com): query: clientconfig.akamai.steamstatic.com IN A + (10.0.0.2)

==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log <==
10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/f879e85a9b9e6d597eafd1ba84e9afe90c8eed95 HTTP/1.1" 200 104656 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/091b2bb3b3560cede60922706f86e9b869f0d77e HTTP/1.1" 200 504128 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/fd0b240fae5630216cb1de02610112f5fb5ab85f HTTP/1.1" 200 165392 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/293c73f932c0e0b600cb6e5646d78f1b4ad8d056 HTTP/1.1" 200 1062080 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:20 +0100] "GET /depot/239145/chunk/a06c62f1d2a9a883b28cfda33364daeba917dd66 HTTP/1.1" 200 1061664 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:33 +0100] "GET /depot/239145/chunk/8cdab9b1a74ca82c86524765bd0d0a8893b8cd4e HTTP/1.1" 200 1061888 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:34 +0100] "GET /depot/239145/chunk/fef7d8f9ae728b0aadbc1084e14275502a1eb6aa HTTP/1.1" 200 375472 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/55497ff14f8efd00c4c1229d8b8a2e97e85a5b60 HTTP/1.1" 200 959280 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/a9b9fd989145495a72c6beb7817d5071a98de418 HTTP/1.1" 200 96 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/d2561228fa32024339cbcf82f8db15922b034609 HTTP/1.1" 200 1047712 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/84f2f7fe9d3345fd4a5dce0157220b36039cb404 HTTP/1.1" 200 1062032 "-" "Valve/Steam HTTP Client 1.0"
10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/60a220d05cc3cf3e95c45f5f7f345fb1b87e7d23 HTTP/1.1" 200 1061104 "-" "Valve/Steam HTTP Client 1.0"

 

Edited by Pappy
Link to comment
==> /mnt/user/appdata/lancache-bundle/log/named/client.log ==> /mnt/user/appdata/lancache-bundle/log/named/config.log ==> /mnt/user/appdata/lancache-bundle/log/named/database.log ==> /mnt/user/appdata/lancache-bundle/log/named/default.log 28-Feb-2020 22:30:52.519 client @0x152fb4035650 10.0.0.4#50798 (lancache.steamcontent.com): rpz QNAME Local-Data rewrite lancache.steamcontent.com via lancache.steamcontent.com.rpz==> /mnt/user/appdata/lancache-bundle/log/named/dispatch.log ==> /mnt/user/appdata/lancache-bundle/log/named/dnssec.log ==> /mnt/user/appdata/lancache-bundle/log/named/general.log 28-Feb-2020 20:38:55.329 running==> /mnt/user/appdata/lancache-bundle/log/named/lame-servers.log 28-Feb-2020 22:32:47.836 address not available resolving 'clients4.google.com/A/IN': 2001:4860:4802:38::a#53==> /mnt/user/appdata/lancache-bundle/log/named/network.log 28-Feb-2020 20:38:49.944 no longer listening on 10.0.0.2#53==> /mnt/user/appdata/lancache-bundle/log/named/notify.log ==> /mnt/user/appdata/lancache-bundle/log/named/queries.log 28-Feb-2020 22:33:03.329 client @0x152fbc795970 10.0.0.5#54463 (pc-nas.local): query: pc-nas.local IN A + (10.0.0.2)==> /mnt/user/appdata/lancache-bundle/log/named/resolver.log 28-Feb-2020 20:45:45.622 resolver priming query complete==> /mnt/user/appdata/lancache-bundle/log/named/security.log ==> /mnt/user/appdata/lancache-bundle/log/named/unmatched.log ==> /mnt/user/appdata/lancache-bundle/log/named/update.log ==> /mnt/user/appdata/lancache-bundle/log/named/xfer-in.log ==> /mnt/user/appdata/lancache-bundle/log/named/xfer-out.log ==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log 10.0.0.4 - - [28/Feb/2020:22:33:12 +0100] "GET /depot/239145/chunk/c52658fa69a838220ff1333bc36f268e86910a17 HTTP/1.1" 200 1061424 "-" "Valve/Steam HTTP Client 1.0"==> /mnt/user/appdata/lancache-bundle/log/nginx/error.log 2020/02/28 20:46:45 [error] 2163#2163: *49 connect() failed (110: Connection timed out) while connecting to upstream, client: 10.0.0.4, server: , request: "GET /depot/239144/chunk/23ca3656bee064cc1eabb21aa245efc3ee8ab059 HTTP/1.1", upstream: "http://146.66.155.12:80/depot/239144/chunk/23ca3656bee064cc1eabb21aa245efc3ee8ab059", host: "valve1202.steamcontent.com"==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log 10.0.0.4 - - [28/Feb/2020:22:33:13 +0100] "GET /depot/239145/chunk/33de1e6a8b813cf5aaf089d6908bfae2601ef867 HTTP/1.1" 200 1061840 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:13 +0100] "GET /depot/239145/chunk/e362b927c738ad8e5f805e29198f9c529ec327dd HTTP/1.1" 200 1061856 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/49beb2ca3ba1c2b998ca0799445a7e1a4fa14683 HTTP/1.1" 200 1062000 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/459174c27a9c789818802055fc1a01e2cbae0f53 HTTP/1.1" 200 1036800 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/42f32107738c0f35b651ecc93d1cbbefd0b376f9 HTTP/1.1" 200 1060624 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/65651b4aef72f1b749db8c16394eda95073acdb8 HTTP/1.1" 200 1061984 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:14 +0100] "GET /depot/239145/chunk/4a4212c129337d6cac04ebe0b3ff0fb2d34f6354 HTTP/1.1" 200 1061808 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/3a0a562fd518744b82087b94dd368f032a44c329 HTTP/1.1" 200 1061936 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/f274d99fe6b9d58d3fcf0bb6a92943c26a728a15 HTTP/1.1" 200 243952 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:15 +0100] "GET /depot/239145/chunk/929db7718719494775488a5fd3fa32e6ba905390 HTTP/1.1" 200 1061904 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/9587fcca9644da212932c5f2524d045662ec1e83 HTTP/1.1" 200 346064 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/89912d9890019946a50b52e5fb83fe56b437824d HTTP/1.1" 200 1061808 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/32bf6ac8dbf25443714c8a0fac6d6a291e37132b HTTP/1.1" 200 248240 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/67696a86b748e8b90e8eab896546987096b7fd2b HTTP/1.1" 200 1062032 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:16 +0100] "GET /depot/239145/chunk/b9f9c8e1ed10db2109caf166c42c39d47b485ad8 HTTP/1.1" 200 1061856 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/82e1a5ac77da1b31ca978a629cfe0a4a3119bea2 HTTP/1.1" 200 1061936 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/349a9233557c864a0970ada8ca770188ca3b0887 HTTP/1.1" 200 646096 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/1f757afed30cbabb20a2dbe8e4944fedc9be2adc HTTP/1.1" 200 1062000 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:17 +0100] "GET /depot/239145/chunk/1c4f661c8de307a21dc87f2c806b4d9e9e409aa4 HTTP/1.1" 200 1051616 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/db25e9c54c4464ee5344ed1459eb8a084e98df61 HTTP/1.1" 200 940256 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/0af3efdc319836eb525c5e3c21c0ef4b37c5295e HTTP/1.1" 200 1058304 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:18 +0100] "GET /depot/239145/chunk/afd533bb3c7a6f892dbff6232afa4b91d6f78704 HTTP/1.1" 200 339616 "-" "Valve/Steam HTTP Client 1.0"==> /mnt/user/appdata/lancache-bundle/log/named/default.log 28-Feb-2020 22:33:19.657 client @0x152fbc795970 10.0.0.5#56950 (clientconfig.akamai.steamstatic.com): rpz QNAME Local-Data rewrite clientconfig.akamai.steamstatic.com via clientconfig.akamai.steamstatic.com.rpz==> /mnt/user/appdata/lancache-bundle/log/named/queries.log 28-Feb-2020 22:33:19.620 client @0x152fbc795970 10.0.0.5#56950 (clientconfig.akamai.steamstatic.com): query: clientconfig.akamai.steamstatic.com IN A + (10.0.0.2)==> /mnt/user/appdata/lancache-bundle/log/nginx/access.log 10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/f879e85a9b9e6d597eafd1ba84e9afe90c8eed95 HTTP/1.1" 200 104656 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/091b2bb3b3560cede60922706f86e9b869f0d77e HTTP/1.1" 200 504128 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/fd0b240fae5630216cb1de02610112f5fb5ab85f HTTP/1.1" 200 165392 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:19 +0100] "GET /depot/239145/chunk/293c73f932c0e0b600cb6e5646d78f1b4ad8d056 HTTP/1.1" 200 1062080 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:20 +0100] "GET /depot/239145/chunk/a06c62f1d2a9a883b28cfda33364daeba917dd66 HTTP/1.1" 200 1061664 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:33 +0100] "GET /depot/239145/chunk/8cdab9b1a74ca82c86524765bd0d0a8893b8cd4e HTTP/1.1" 200 1061888 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:34 +0100] "GET /depot/239145/chunk/fef7d8f9ae728b0aadbc1084e14275502a1eb6aa HTTP/1.1" 200 375472 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/55497ff14f8efd00c4c1229d8b8a2e97e85a5b60 HTTP/1.1" 200 959280 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/a9b9fd989145495a72c6beb7817d5071a98de418 HTTP/1.1" 200 96 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/d2561228fa32024339cbcf82f8db15922b034609 HTTP/1.1" 200 1047712 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/84f2f7fe9d3345fd4a5dce0157220b36039cb404 HTTP/1.1" 200 1062032 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/60a220d05cc3cf3e95c45f5f7f345fb1b87e7d23 HTTP/1.1" 200 1061104 "-" "Valve/Steam HTTP Client 1.0"

 

At a glance it looks like it's working fine....
Link to comment
27 minutes ago, Josh.5 said:

Open a terminal on unraid.

Run :


tail -fn1 /mnt/user/appdata/lancache-bundle/log/*/*.log
 

It shows URLs being queried in the nginx/access.log. It doesn't show cache hits & misses.

 

From appearances, it's never hitting against the cached version.

Edited by jbartlett
Link to comment

I first created the LANCACHE folder manually with the following settings:

 

image.png.4a3376b9ae2c432636ca8dd41f8da796.png

 

Then I installed the LANCACHE docker and mapped the path to this folder:

 

image.png.8e9962aaca9747b29df16ab2201e15af.png

 

Everything was alright. Once 50% of disk 6 is full, UNRAID started saving to disk 7. Standard UNRAID behavior :) Redistributing data. I will download older games from Disc 6 and the LANCACHE dock will not look there and will start downloading new data to Disc 7.

Link to comment

The problem will be the division of a folder on two disks. I have 270 games on Steam, 30 games on Origin, 20 games on UPlay etc. That's why I need 4 TB - 8TB because I only have to download 20 MBit / s. Praise developers and community :) The problem started in the middle of my downloaded games. From storing to the second disk. Obviously, saving a folder to only one disk would help. If the developer had no idea :)

 

Link to comment
3 minutes ago, nick.longworth said:

Just this afternoon I have tested steam and downloaded destiny 2, doom, and a few others.  After they downloaded I uninstalled and reinstalled and it pulled from cache and maxed out my current 1Gbe network connection.

I had identical network speeds of just under half of my 1Gbe network (local & uplink) during a new install and unchanged on uninstall/reinstall. Thus why I'm trying to see if there's a way to otherwise verify a cache hit/miss.

  • Like 1
Link to comment

There's a script inside the docker itself that tests if the cache is working. Open up a container terminal and type in: ./cache_test.sh

 

Technically, it only works once.

root@f38521741aa9:/scripts# ./cache_test.sh 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7620  100  7620    0     0  17046      0 --:--:-- --:--:-- --:--:-- 17046
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7620  100  7620    0     0  7441k      0 --:--:-- --:--:-- --:--:-- 7441k
Succesfully Cached

 

Link to comment

Report without download game now :

 

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7620  100  7620    0     0   7029      0  0:00:01  0:00:01 --:--:--  7036
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7620  100  7620    0     0  7441k      0 --:--:-- --:--:-- --:--:-- 7441k
Succesfully Cached

 

Link to comment
It shows URLs being queried in the nginx/access.log. It doesn't show cache hits & misses.
 
From appearances, it's never hitting against the cached version.
I thought the part
HTTP/1.1" 200 959280 "-" "Valve/Steam HTTP Client 1.0"10.0.0.4 - - [28/Feb/2020:22:33:35 +0100] "GET /depot/239145/chunk/a9b9fd989145495a72c6beb7817d5071a98de418



Was fetching the cached data?

Link to comment
22 minutes ago, Josh.5 said:

Was fetching the cached data?

 

I reinstalled the game Age of Empires III, which was saved during the first 2 installations on disk 6. The game did not download from disc 6, but started to load and save to disc 7. I always watch everything on Array Devices:

 

image.png.bf4abd5a9660d7bf3f1cb23538cda884.png

 

 

When downloading from the cache, the write value is 0.0 B/s.

 

This is not the current screen. Screen is after apply "Tools> New Permissions". I expect completion in the morning.

 

 

 

Edited by Pappy
Link to comment

New test:

 

I have downloaded 3 games from yesterday's download to disk 7. Everything is OK and they are being downloaded from the cache.

 

I have downloaded 3 oldest games in cache (14 days) and do not download from disc 6. They are downloaded from internet to disc 7.

 

My settings :

 

image.png.d3bb55787547519ae7b3925caee20487.png

Link to comment

Mover ran last night and moved lancache off my SSD cache and to my spiny disk array which is how I had things setup.  Lancache appears to be working still but speed is horrendous.  Only getting 20MB/s with high CPU usage when trying to pull data.  At these speeds it will be much faster to just DL from internet.  I am moving lancache back over to my SSD cache and will retest.  I knew speeds would be slower than pulling from SSD but I was not expecting that sort of drop off. 

Link to comment

I moved everything from disk 7 to disk 6 and set the LANCACHE folder only to disk 6. LANCACHE ignores older games (downloaded 2-3 weeks ago) and downloads them again, including saving. Maybe this was caused by an update to LANCACHE if it doesn't see older files? It's better to delete everything and start over.

Link to comment
1 hour ago, nick.longworth said:

Mover ran last night and moved lancache off my SSD cache and to my spiny disk array which is how I had things setup.  Lancache appears to be working still but speed is horrendous.  Only getting 20MB/s with high CPU usage when trying to pull data.  At these speeds it will be much faster to just DL from internet.  I am moving lancache back over to my SSD cache and will retest.  I knew speeds would be slower than pulling from SSD but I was not expecting that sort of drop off. 

20MB/s is super :) My standard speed with rotating disc. LANCACHE is a backup for me, including updates without work. It also depends on the speed of the disk in the computer where we install the game. SSDs are always better for small files.

Link to comment
20MB/s is super  My standard speed with rotating disc. LANCACHE is a backup for me, including updates without work. It also depends on the speed of the disk in the computer where we install the game. SSDs are always better for small files.

Ha! My local internet download speed tops out at ~3MB/s. All you superior people with your fast internet.

 

The reason I set this up was because I get massive speed boosts on the second PC downloading the cached files. 20MB/s us lightning fast for me

 

  • Haha 1
Link to comment

Sorry.  Didn't mean to complain about my blessings. 😏  I am fortunate to have access to fiber and currently get 500/500 but my gaming PC has smaller Nvme storage so was looking for quick way to swap installed games if I need to.  My unraid cache is raid 0 850 evos and I have 1TB total there so I will just keep the lancache on the unraid cache array.  SSD to Nvme is currently bottle necked by my network.  I know its a minor issue to "wait" on 500mbs downloads. :)  Thanks for the assistance and work on this docker.

Link to comment
On 2/29/2020 at 12:32 PM, Squazz said:

Is it possible to move lancache cache-data from one disk to another?
Trying to do it with krusader tells me that I can't access the cache-folders

Set up the share to only use the drive(s) you wish.

Use MC to move it off the undesireable share to the other.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.