-
Notifications
You must be signed in to change notification settings - Fork 78
Lots of index.html files being created #24
Comments
Hi waylandc, I did not notice this, yet. Good catch, I will see what I can do. |
I checked this too. They are all empty. It only occurs on the miners and node.
|
Just reporting back, that this is not forgotten. I just have no idea what's causing this. The file count increases, the longer the docker container is running, but there is only one process in the container: geth. I am trying to find some creative ways of checking the root cause of this, I even started checking geths source code, but I can't find any hints. |
Appreciate that you're looking into. It's not a big deal as there's no functional defect but it's just weird to see it happening but have no idea what's causing it. |
@javahippie Possibly these are created by some http proxy? I don't think this is geth related but rather docker/nginx. Then again the others dont have it when not running geth. I'll try some different flags and remove verbosity. |
Hello, I have found the fix. In docker-compose.yml
it wgets every 2 seconds localhost:8545 to check if it is alive and this wget is downloading localhost:8545 content which is empty index.html file. To stop creating files just remove healthcheck section or change wget to ping (but remember to install iputils-ping first) |
Thank you for finding this, @Adam-Kielkowski! I will add the change to the next release. |
Ah yes indeed, wget is for files of http/https good spot. Should use a custom script apparently. https://blog.sixeyed.com/docker-healthchecks-why-not-to-use-curl-or-iwr/ |
What's creating all the index.html* files within the /opt directory of the miner nodes? They're all 0 byte sized but I just want to know so I can turn it off.
Thanks for sharing this btw!
The text was updated successfully, but these errors were encountered: