Jump to content
We're Hiring! Full Stack Developer ×

[Support] ich777 - Application Dockers


ich777

Recommended Posts

7 hours ago, Ricky4K said:

First of all thanks for the response and solutions. 

Before overthinking it, most Routers or even Access Points do support QoS and with that you can prioritize bandwidth, so to speak you could give the Prefill container (as long as you assign it it's own IP on br0) a really low priority and therefore other clients are prioritized higher.

 

BTW how often do you let prefill run? I don't recommend running it more than once a day since if one client pulls updates they will also end up in LANCache, maybe at best at night or in the early morning hours.

Link to comment
4 minutes ago, ich777 said:

Before overthinking it, most Routers or even Access Points do support QoS and with that you can prioritize bandwidth, so to speak you could give the Prefill container (as long as you assign it it's own IP on br0) a really low priority and therefore other clients are prioritized higher.

 

BTW how often do you let prefill run? I don't recommend running it more than once a day since if one client pulls updates they will also end up in LANCache, maybe at best at night or in the early morning hours.

Well as unfortunate as it sounds, my Router does not have any config options what so ever that's why I'll need to get another Router which you can at least configure such things. I even tried to get some custom Firmware onto the Router but without any chance.

 

For your question about the daily usage of the prefill: Currently I am using it all the time to fill up the cache with all the games as fast as possible, but I am planning to set up a schedule to only do the downloads during the night once they have been initially downloaded. IMO it would still be better to be able to limit the traffic no matter how often you are using the prefill.

 

Link to comment
25 minutes ago, Ricky4K said:

IMO it would still be better to be able to limit the traffic no matter how often you are using the prefill.

Here is also an issue from Steam Prefill itself from another user who was requesting that feature and the simple answer is that Prefill is not designed to support that:

https://github.com/tpill90/steam-lancache-prefill/issues/104#issuecomment-1258340657

 

TBH this is the first request that I got about a bandwidth limit and that doesn't make any sense to me since your firewall/router should handle sharing bandwidth automatically, even if I saturate my Internet connection, all of my devices still have Internet and are able to stream from Youtube/Amazon/Netfilx/...

Maybe your issue is also caused because of the WLAN connection to your server because WLAN (at least no up until 6E MIMO) to handle big amounts of data through multiple devices and you run into bottlenecks.

 

Sorry but you have to request that from LANCache Prefill since the container is working perfectly fine, but as from the GitHub Issue from above that is not possible.

 

BTW Running prefill during the day and multiple times is not the intended use case anyways...

Link to comment
15 minutes ago, ich777 said:

Here is also an issue from Steam Prefill itself from another user who was requesting that feature and the simple answer is that Prefill is not designed to support that:

https://github.com/tpill90/steam-lancache-prefill/issues/104#issuecomment-1258340657

 

TBH this is the first request that I got about a bandwidth limit and that doesn't make any sense to me since your firewall/router should handle sharing bandwidth automatically, even if I saturate my Internet connection, all of my devices still have Internet and are able to stream from Youtube/Amazon/Netfilx/...

Maybe your issue is also caused because of the WLAN connection to your server because WLAN (at least no up until 6E MIMO) to handle big amounts of data through multiple devices and you run into bottlenecks.

 

Sorry but you have to request that from LANCache Prefill since the container is working perfectly fine, but as from the GitHub Issue from above that is not possible.

 

BTW Running prefill during the day and multiple times is not the intended use case anyways...

Well the main reason why it does not work properly in terms of bandwidth distribution is that my Router does not support some features e.g. QoS. This is why I desperately need to get some kind of bandwidth limiter.

Link to comment
29 minutes ago, Ricky4K said:

Well the main reason why it does not work properly in terms of bandwidth distribution is that my Router does not support some features e.g. QoS. This is why I desperately need to get some kind of bandwidth limiter.

I think you missed my point here, there is more to it that simply that, even a good router without QoS should handle bandwidth distribution well enough that every client has access to the Internet (including streaming) <- my OPNsense box for example limits traffic to the Prefill automatically without having to set up QoS at all and ensures that all clients have enough bandwidth.
Also don't forget that WLAN is not capable for such huge loads (as said above until 6E with MIMO) since such huge traffic will affect other devices heavily because each transaction on WLAN has to actually go through for one client and then the next client is allowed to initiate a traffic request, so to speak only one WLAN client can speak and wait for the answer at a time <- this is a really oversimplified explanation.

 

However as said above, the container itself is working perfectly fine and you have to create an issue on the Prefill GitHub.

 

EDIT: I now read your other thread and `tc` is also not the solution to this, you would solve most of your issues by connecting the server directly to your router with a reliable connection and with Network equipment that is up to the task.

 

You could of course always use the official container if you are not satisfied with my container. :)

 

Hope that helps.

Link to comment
On 7/2/2024 at 7:02 AM, ich777 said:

Is this a new installation or an already existing one?

 

The container is running but you have to exclude:

<module name="ssl_gnutls">

and

<module name="userip">

 

so that it properly starts but that is part of the configuration process, I will might release an update for new installation so that this is fixed by default. <- this is now fixed, if you remove the container and the directory for InspIRCd and reinstall it it will work right OOB.

Super, thank you for sorting that

  • Like 1
Link to comment
32 minutes ago, Merijeek said:

@ich777 - Is it possible using your OpenVPN container to run a script after the connection is made? 

Nope but I can think of a solution.

 

Since you can mount a script to /opt/scripts/user.sh which will run before the start of the VPN connection you could do something like that:

#!/bin/bash
cookies() {
  sleep 20
  curl -c /path/docker/persists/mam.cookies -b /path/docker/persists/mam.cookies https://t.myanonamouse.net/json/dynamicSeedbox.php
}

cookies &

 

What this change does is:

  1. Put the curl command in a function
  2. Add 20 seconds of sleep to the function before the curl command is executed
  3. Start function "cookies" and run it in the background

 

With that the function will sleep 20 seconds and execute the curl command (hopefully) after the VPN connection is made.

 

I hope that makes sense. ;)

Link to comment

(actually I lied)

 

I understand what you're saying as a concept, but not how to implement it. 

 

Maybe it's my fundamental lack of Docker understanding, well, almost certainly, but let's break it down Barney Style

 

I should add a path in my container setup so that the path  /opt/scripts/user.sh maps to the actual script on my server.

 

So....like this?

 

image.png.869dd4e4bf518104f2558d600108c8ce.png

 

Where mam.sh contains the block of scripting you sent me? 

 

 

Link to comment

Hi there!

 

Small question regarding the Ubuntu APT Mirror docker. You say to configure something in

cd ubuntu-mirror/config/mirror.list

 

but I don't see what to change there. The only way I noticed to use it was the

apt-mirror

command. It seems to download all Ubuntu packages (around 390 GB). And the end of the download. On the container web page, I don't see any File tree. And no way to make it use my server instead of the internet for updates.

 

And I would really like to know if it is possible to put 2 Ubuntu sources? That is to say version 22.04 LTS and version 24.04 LTS. Thank you so much!

Edited by AlexON
add
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.

×
×
  • Create New...