hanazuki / s3tftpd

TFTP server with Amazon S3 as backing storage
MIT License
22 stars 3 forks source link

Memory usage after some weeks #3

Open cecchisandrone opened 3 years ago

cecchisandrone commented 3 years ago

I'm using such image and after some weeks of usage I see that memory usage is quite huge as shown by docker stats command: image What can be causing this? I'm calling image with the following params:

s3tftpd:
    image: hanazuki/s3tftpd:0.4.0
    command: --anticipate 128 --blocksize=8192 --single-port --no-dualstack --verbosity 8 s3://<<bucket>>
    environment:
      - AWS_ACCESS_KEY
      - AWS_SECRET_KEY
      - AWS_REGION=eu-central-1
    restart: always
    ports:
      - "69:69/udp"
hanazuki commented 2 years ago

I'm not currently using this software so actively and could not yet investigate this problem.

There are reports of resource leaks in the server implementation of the underlying TFTP library, which may be related to this or not...